pidgin/gtkwhiteboard.h

branch
cpw.qulogic.gtk3-required
changeset 33167
fce72d79861f
parent 33127
02a3db370988
parent 33113
73e1a4f7a1a9
child 35393
00f876b129bc
child 36637
9b0109ae118d
equal deleted inserted replaced
33166:e97c8ef10fd2 33167:fce72d79861f
40 /* XXX: This seems duplicated with the Yahoo! Doodle prpl code. 40 /* XXX: This seems duplicated with the Yahoo! Doodle prpl code.
41 * XXX: How should they work together? */ 41 * XXX: How should they work together? */
42 #define PALETTE_NUM_COLORS 7 42 #define PALETTE_NUM_COLORS 7
43 43
44 /** 44 /**
45 * A PidginWhiteboard's private data
46 */
47 typedef struct _PidginWhiteboardPrivate PidginWhiteboardPrivate;
48
49 /**
45 * A PidginWhiteboard 50 * A PidginWhiteboard
46 */ 51 */
47 typedef struct _PidginWhiteboard 52 typedef struct _PidginWhiteboard
48 { 53 {
49 PurpleWhiteboard *wb; /**< backend data for this whiteboard */ 54 PidginWhiteboardPrivate *priv; /**< Internal data */
50 55
51 GtkWidget *window; /**< Window for the Doodle session */ 56 PurpleWhiteboard *wb; /**< Backend data for this whiteboard */
52 GtkWidget *drawing_area; /**< Drawing area */
53 57
54 GdkPixbuf *pixbuf; /**< Memory for drawing area */ 58 GtkWidget *window; /**< Window for the Doodle session */
59 GtkWidget *drawing_area; /**< Drawing area */
55 60
56 int width; /**< Canvas width */ 61 int width; /**< Canvas width */
57 int height; /**< Canvas height */ 62 int height; /**< Canvas height */
58 int brush_color; /**< Foreground color */ 63 int brush_color; /**< Foreground color */
59 int brush_size; /**< Brush size */ 64 int brush_size; /**< Brush size */
60 } PidginWhiteboard; 65 } PidginWhiteboard;
61 66
62 G_BEGIN_DECLS 67 G_BEGIN_DECLS
63 68
64 /*****************************************************************************/ 69 /*****************************************************************************/

mercurial