~am-monkeyd/beat-box/gtk3-wscript

« back to all changes in this revision

Viewing changes to src/Widgets/ListView/CellRendererRating.vala

  • Committer: Scott Ringwelski
  • Date: 2011-07-17 11:58:41 UTC
  • Revision ID: sgringwe@mtu.edu-20110717115841-jx8lxztmpdj5p79q
added renamed folders

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*-
 
2
 * Copyright (c) 2011       Scott Ringwelski <sgringwe@mtu.edu>
 
3
 *
 
4
 * Originaly Written by Scott Ringwelski for BeatBox Music Player
 
5
 * BeatBox Music Player: http://www.launchpad.net/beat-box
 
6
 *
 
7
 * This library is free software; you can redistribute it and/or
 
8
 * modify it under the terms of the GNU Library General Public
 
9
 * License as published by the Free Software Foundation; either
 
10
 * version 2 of the License, or (at your option) any later version.
 
11
 *
 
12
 * This library is distributed in the hope that it will be useful,
 
13
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 
14
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 
15
 * Library General Public License for more details.
 
16
 *
 
17
 * You should have received a copy of the GNU Library General Public
 
18
 * License along with this library; if not, write to the
 
19
 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
 
20
 * Boston, MA 02111-1307, USA.
 
21
 */
 
22
 
 
23
using Gtk;
 
24
 
 
25
public class BeatBox.CellRendererRating : CellRendererPixbuf {
 
26
        /*private int rating;
 
27
        
 
28
        private Pixbuf _canvas;
 
29
        private Pixbuf not_starred;
 
30
        private Pixbuf starred;
 
31
        
 
32
        public CellRendererRating() {
 
33
                mode = Gtk.CellRendererMode.ACTIVATABLE;
 
34
        }
 
35
        
 
36
        public override void render(Gdk.Window window, Gtk.Widget widget,
 
37
                                                                        Gdk.Rectangle background_area,
 
38
                                                                        Gdk.Rectangle cell_area,
 
39
                                                                        Gdk.Rectangle expose_area,
 
40
                                                                        Gtk.CellRendererState flags) {
 
41
                
 
42
        }*/
 
43
}