~andrewsomething/imagination/debian

« back to all changes in this revision

Viewing changes to src/imgcellrendererpixbuf.h

  • Committer: Andrew Starr-Bochicchio
  • Date: 2009-09-29 23:38:39 UTC
  • mfrom: (1.1.2)
  • Revision ID: a.starr.b@gmail.com-20090929233839-ucjnl2f35kw5fbx8
Tags: 2.0-1
* New upstream release. (Closes: #543218).
* debian/control: Build-depend on xsltproc, docbook-xsl, quilt,
  and doc-base.
* debian/imagination.doc-base: Register docs.
* debian/patches/10_link_math_lib.patch:
 - Add '-lm' to link to the math lib.
* debian/README.source: Explain quilt.
* debian/rules: Add quilt magic.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
** Copyright (C) 2009 Tadej Borovšak <tadeboro@gmail.com>
 
3
**  
 
4
** This program is free software; you can redistribute it and/or modify
 
5
** it under the terms of the GNU General Public License as published by
 
6
** the Free Software Foundation; either version 2 of the License, or
 
7
** (at your option) any later version.
 
8
** 
 
9
** This program is distributed in the hope that it will be useful,
 
10
** but WITHOUT ANY WARRANTY; without even the implied warranty of
 
11
** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
12
** GNU General Public License for more details.
 
13
** 
 
14
** You should have received a copy of the GNU General Public License
 
15
** along with this program; if not, write to the Free Software 
 
16
** Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 
17
*/
 
18
 
 
19
#ifndef __IMG_CELL_RENDERER_PIXBUF_H__
 
20
#define __IMG_CELL_RENDERER_PIXBUF_H__
 
21
 
 
22
#include <gtk/gtk.h>
 
23
 
 
24
G_BEGIN_DECLS
 
25
 
 
26
#define IMG_TYPE_CELL_RENDERER_PIXBUF \
 
27
        ( img_cell_renderer_pixbuf_get_type() )
 
28
 
 
29
#define IMG_CELL_RENDERER_PIXBUF( obj ) \
 
30
        ( G_TYPE_CHECK_INSTANCE_CAST( ( obj ), \
 
31
                                                                  IMG_TYPE_CELL_RENDERER_PIXBUF, \
 
32
                                                                  ImgCellRendererPixbuf ) )
 
33
 
 
34
#define IMG_CELL_RENDERER_PIXBUF_CLASS( klass ) \
 
35
        ( G_TYPE_CHECK_CLASS_CAST( ( klass ), \
 
36
                                                           IMG_TYPE_CELL_RENDERER_PIXBUF, \
 
37
                                                           ImgCellRendererPixbufClass ) )
 
38
 
 
39
#define IMG_IS_CELL_RENDERER_PIXBUF( obj ) \
 
40
        ( G_TYPE_CHECK_INSTANCE_TYPE( ( obj ), \
 
41
                                                                  IMG_TYPE_CELL_RENDERER_PIXBUF ) )
 
42
 
 
43
#define IMG_IS_CELL_RENDERER_PIXBUF_CLASS( klass ) \
 
44
        ( G_TYPE_CHECK_CLASS_TYPE( ( klass ), \
 
45
                                                           IMG_TYPE_CELL_RENDERER_PIXBUF_CLASS ) )
 
46
 
 
47
typedef struct _ImgCellRendererPixbuf ImgCellRendererPixbuf;
 
48
typedef struct _ImgCellRendererPixbufClass ImgCellRendererPixbufClass;
 
49
 
 
50
struct _ImgCellRendererPixbuf
 
51
{
 
52
        GtkCellRenderer parent;
 
53
};
 
54
 
 
55
struct _ImgCellRendererPixbufClass
 
56
{
 
57
        GtkCellRendererClass parent_class;
 
58
};
 
59
 
 
60
GType
 
61
img_cell_renderer_pixbuf_get_type( void ) G_GNUC_CONST;
 
62
 
 
63
GtkCellRenderer *
 
64
img_cell_renderer_pixbuf_new( void );
 
65
 
 
66
G_END_DECLS
 
67
 
 
68
#endif /* __IMG_CELL_RENDERER_PIXBUF_H__ */