Sun, 14 Apr 2024 01:14:59 -0500
Remove PurpleBuddy
PurpleContactInfo was created long ago to replace this, it is now its time!
Testing Done:
Ran the turtles.
Reviewed at https://reviews.imfreedom.org/r/3123/
|
40595
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
1 | /* |
|
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
2 | * Purple - Internet Messaging Library |
|
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
3 | * Copyright (C) Pidgin Developers <devel@pidgin.im> |
|
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
4 | * |
|
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
5 | * Purple is the legal property of its developers, whose names are too numerous |
|
42594
eddde70cedd8
Create a test for verifying license headers and correct the ones that were wrong
Gary Kramlich <grim@reaperworld.com>
parents:
42431
diff
changeset
|
6 | * to list here. Please refer to the COPYRIGHT file distributed with this |
|
40595
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
7 | * source distribution. |
|
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
8 | * |
|
42594
eddde70cedd8
Create a test for verifying license headers and correct the ones that were wrong
Gary Kramlich <grim@reaperworld.com>
parents:
42431
diff
changeset
|
9 | * This library is free software; you can redistribute it and/or modify it |
|
eddde70cedd8
Create a test for verifying license headers and correct the ones that were wrong
Gary Kramlich <grim@reaperworld.com>
parents:
42431
diff
changeset
|
10 | * under the terms of the GNU General Public License as published by the Free |
|
eddde70cedd8
Create a test for verifying license headers and correct the ones that were wrong
Gary Kramlich <grim@reaperworld.com>
parents:
42431
diff
changeset
|
11 | * Software Foundation; either version 2 of the License, or (at your option) |
|
eddde70cedd8
Create a test for verifying license headers and correct the ones that were wrong
Gary Kramlich <grim@reaperworld.com>
parents:
42431
diff
changeset
|
12 | * any later version. |
|
40595
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
13 | * |
|
42594
eddde70cedd8
Create a test for verifying license headers and correct the ones that were wrong
Gary Kramlich <grim@reaperworld.com>
parents:
42431
diff
changeset
|
14 | * This library is distributed in the hope that it will be useful, but WITHOUT |
|
eddde70cedd8
Create a test for verifying license headers and correct the ones that were wrong
Gary Kramlich <grim@reaperworld.com>
parents:
42431
diff
changeset
|
15 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
|
eddde70cedd8
Create a test for verifying license headers and correct the ones that were wrong
Gary Kramlich <grim@reaperworld.com>
parents:
42431
diff
changeset
|
16 | * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for |
|
eddde70cedd8
Create a test for verifying license headers and correct the ones that were wrong
Gary Kramlich <grim@reaperworld.com>
parents:
42431
diff
changeset
|
17 | * more details. |
|
40595
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
18 | * |
|
42594
eddde70cedd8
Create a test for verifying license headers and correct the ones that were wrong
Gary Kramlich <grim@reaperworld.com>
parents:
42431
diff
changeset
|
19 | * You should have received a copy of the GNU General Public License along with |
|
eddde70cedd8
Create a test for verifying license headers and correct the ones that were wrong
Gary Kramlich <grim@reaperworld.com>
parents:
42431
diff
changeset
|
20 | * this library; if not, see <https://www.gnu.org/licenses/>. |
|
40595
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
21 | */ |
|
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
22 | |
|
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
23 | #if !defined(PURPLE_GLOBAL_HEADER_INSIDE) && !defined(PURPLE_COMPILATION) |
|
41276
03f98ece6b26
Fix a ton of missing and incorrect global header guards
Gary Kramlich <grim@reaperworld.com>
parents:
41205
diff
changeset
|
24 | # error "only <purple.h> may be included directly" |
|
40595
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
25 | #endif |
|
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
26 | |
|
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
27 | #ifndef PURPLE_WHITEBOARD_UIOPS_H |
|
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
28 | #define PURPLE_WHITEBOARD_UIOPS_H |
|
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
29 | |
|
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
30 | #include <glib.h> |
|
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
31 | #include <glib-object.h> |
|
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
32 | |
|
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
33 | #define PURPLE_TYPE_WHITEBOARD_UI_OPS (purple_whiteboard_ui_ops_get_type()) |
|
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
34 | typedef struct _PurpleWhiteboardUiOps PurpleWhiteboardUiOps; |
|
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
35 | |
|
42338
2548eb61acc9
Make sure all internal includes use double quotes
Gary Kramlich <grim@reaperworld.com>
parents:
41686
diff
changeset
|
36 | #include "purplewhiteboard.h" |
|
42391
090b03385984
Add Since and symbol visibility to new-in-3.0 things
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42338
diff
changeset
|
37 | #include "purpleversion.h" |
|
40595
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
38 | |
|
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
39 | G_BEGIN_DECLS |
|
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
40 | |
|
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
41 | /** |
|
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
42 | * PurpleWhiteboardUiOps: |
|
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
43 | * @create: create whiteboard |
|
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
44 | * @destroy: destroy whiteboard |
|
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
45 | * @set_dimensions: set whiteboard dimensions |
|
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
46 | * @set_brush: set the size and color of the brush |
|
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
47 | * @draw_point: draw a point |
|
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
48 | * @draw_line: draw a line |
|
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
49 | * @clear: clear whiteboard |
|
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
50 | * |
|
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
51 | * The PurpleWhiteboard UI Operations |
|
42431
2a83700b9186
Make sure all of the whiteboard uiops API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42391
diff
changeset
|
52 | * |
|
42616
a7144db5570a
Remove the micro version from since tags for libpurple part 5
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
53 | * Since: 2.0 |
|
40595
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
54 | */ |
|
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
55 | struct _PurpleWhiteboardUiOps |
|
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
56 | { |
|
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
57 | void (*create)(PurpleWhiteboard *wb); |
|
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
58 | void (*destroy)(PurpleWhiteboard *wb); |
|
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
59 | void (*set_dimensions)(PurpleWhiteboard *wb, int width, int height); |
|
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
60 | void (*set_brush) (PurpleWhiteboard *wb, int size, int color); |
|
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
61 | void (*draw_point)(PurpleWhiteboard *wb, int x, int y, |
|
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
62 | int color, int size); |
|
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
63 | void (*draw_line)(PurpleWhiteboard *wb, int x1, int y1, |
|
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
64 | int x2, int y2, |
|
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
65 | int color, int size); |
|
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
66 | void (*clear)(PurpleWhiteboard *wb); |
|
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
67 | |
|
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
68 | /*< private >*/ |
|
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
69 | gpointer reserved[4]; |
|
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
70 | }; |
|
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
71 | |
|
42391
090b03385984
Add Since and symbol visibility to new-in-3.0 things
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42338
diff
changeset
|
72 | PURPLE_AVAILABLE_IN_3_0 |
|
40595
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
73 | GType purple_whiteboard_ui_ops_get_type(void); |
|
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
74 | |
|
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
75 | /** |
|
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
76 | * purple_whiteboard_set_ui_ops: |
|
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
77 | * @ops: The UI operations to set |
|
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
78 | * |
|
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
79 | * Sets the UI operations |
|
42431
2a83700b9186
Make sure all of the whiteboard uiops API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42391
diff
changeset
|
80 | * |
|
42616
a7144db5570a
Remove the micro version from since tags for libpurple part 5
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
81 | * Since: 2.0 |
|
40595
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
82 | */ |
|
42431
2a83700b9186
Make sure all of the whiteboard uiops API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42391
diff
changeset
|
83 | PURPLE_AVAILABLE_IN_ALL |
|
40595
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
84 | void purple_whiteboard_set_ui_ops(PurpleWhiteboardUiOps *ops); |
|
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
85 | |
|
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
86 | /** |
|
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
87 | * purple_whiteboard_ui_ops_create: |
|
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
88 | * @whiteboard: A #PurpleWhiteboard instance. |
|
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
89 | * |
|
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
90 | * Creates a user interface for @whiteboard. |
|
42391
090b03385984
Add Since and symbol visibility to new-in-3.0 things
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42338
diff
changeset
|
91 | * |
|
42616
a7144db5570a
Remove the micro version from since tags for libpurple part 5
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
92 | * Since: 3.0 |
|
40595
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
93 | */ |
|
42391
090b03385984
Add Since and symbol visibility to new-in-3.0 things
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42338
diff
changeset
|
94 | PURPLE_AVAILABLE_IN_3_0 |
|
40595
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
95 | void purple_whiteboard_ui_ops_create(PurpleWhiteboard *whiteboard); |
|
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
96 | |
|
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
97 | /** |
|
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
98 | * purple_whiteboard_ui_ops_destroy: |
|
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
99 | * @whiteboard: A #PurpleWhiteboard instance. |
|
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
100 | * |
|
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
101 | * Destroys the user interface for @whiteboard. |
|
42391
090b03385984
Add Since and symbol visibility to new-in-3.0 things
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42338
diff
changeset
|
102 | * |
|
42616
a7144db5570a
Remove the micro version from since tags for libpurple part 5
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
103 | * Since: 3.0 |
|
40595
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
104 | */ |
|
42391
090b03385984
Add Since and symbol visibility to new-in-3.0 things
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42338
diff
changeset
|
105 | PURPLE_AVAILABLE_IN_3_0 |
|
40595
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
106 | void purple_whiteboard_ui_ops_destroy(PurpleWhiteboard *whiteboard); |
|
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
107 | |
|
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
108 | /** |
|
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
109 | * purple_whiteboard_ui_ops_set_dimensions: |
|
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
110 | * @whiteboard: A #PurpleWhiteboard instance. |
|
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
111 | * @width: The new width. |
|
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
112 | * @height: The new height. |
|
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
113 | * |
|
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
114 | * Sets the user interface dimensions for @whiteboard. |
|
42391
090b03385984
Add Since and symbol visibility to new-in-3.0 things
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42338
diff
changeset
|
115 | * |
|
42616
a7144db5570a
Remove the micro version from since tags for libpurple part 5
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
116 | * Since: 3.0 |
|
40595
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
117 | */ |
|
42391
090b03385984
Add Since and symbol visibility to new-in-3.0 things
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42338
diff
changeset
|
118 | PURPLE_AVAILABLE_IN_3_0 |
|
40595
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
119 | void purple_whiteboard_ui_ops_set_dimensions(PurpleWhiteboard *whiteboard, gint width, gint height); |
|
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
120 | |
|
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
121 | /** |
|
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
122 | * purple_whiteboard_ui_ops_set_brush: |
|
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
123 | * @whiteboard: A #PurpleWhiteboard instance. |
|
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
124 | * @size: The size of the brush. |
|
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
125 | * @color: The color to use. |
|
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
126 | * |
|
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
127 | * Sets the size and color of the active brush for @whiteboard. |
|
42391
090b03385984
Add Since and symbol visibility to new-in-3.0 things
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42338
diff
changeset
|
128 | * |
|
42616
a7144db5570a
Remove the micro version from since tags for libpurple part 5
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
129 | * Since: 3.0 |
|
40595
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
130 | */ |
|
42391
090b03385984
Add Since and symbol visibility to new-in-3.0 things
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42338
diff
changeset
|
131 | PURPLE_AVAILABLE_IN_3_0 |
|
40595
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
132 | void purple_whiteboard_ui_ops_set_brush(PurpleWhiteboard *whiteboard, gint size, gint color); |
|
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
133 | |
|
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
134 | /** |
|
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
135 | * purple_whiteboard_ui_ops_draw_point: |
|
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
136 | * @whiteboard: A #PurpleWhiteboard instance. |
|
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
137 | * @x: The x coordinate. |
|
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
138 | * @y: The y coordinate. |
|
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
139 | * @color: The color of the point. |
|
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
140 | * @size: The size of the point. |
|
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
141 | * |
|
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
142 | * Draws a point on @whiteboard. |
|
42391
090b03385984
Add Since and symbol visibility to new-in-3.0 things
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42338
diff
changeset
|
143 | * |
|
42616
a7144db5570a
Remove the micro version from since tags for libpurple part 5
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
144 | * Since: 3.0 |
|
40595
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
145 | */ |
|
42391
090b03385984
Add Since and symbol visibility to new-in-3.0 things
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42338
diff
changeset
|
146 | PURPLE_AVAILABLE_IN_3_0 |
|
40595
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
147 | void purple_whiteboard_ui_ops_draw_point(PurpleWhiteboard *whiteboard, gint x, gint y, gint color, gint size); |
|
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
148 | |
|
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
149 | /** |
|
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
150 | * purple_whiteboard_ui_ops_draw_line: |
|
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
151 | * @whiteboard: A #PurpleWhiteboard instance. |
|
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
152 | * @x1: The starting point's x coordinate. |
|
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
153 | * @y1: The starting point's y coordinate. |
|
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
154 | * @x2: The end point's x coordinate. |
|
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
155 | * @y2: The end point's y coordinate. |
|
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
156 | * @color: The color for the line. |
|
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
157 | * @size: The size of the line. |
|
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
158 | * |
|
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
159 | * Draws a line on @whiteboard. |
|
42391
090b03385984
Add Since and symbol visibility to new-in-3.0 things
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42338
diff
changeset
|
160 | * |
|
42616
a7144db5570a
Remove the micro version from since tags for libpurple part 5
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
161 | * Since: 3.0 |
|
40595
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
162 | */ |
|
42391
090b03385984
Add Since and symbol visibility to new-in-3.0 things
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42338
diff
changeset
|
163 | PURPLE_AVAILABLE_IN_3_0 |
|
40595
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
164 | void purple_whiteboard_ui_ops_draw_line(PurpleWhiteboard *whiteboard, gint x1, gint y1, gint x2, gint y2, gint color, gint size); |
|
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
165 | |
|
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
166 | /** |
|
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
167 | * purple_whiteboard_ui_ops_clear: |
|
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
168 | * @whiteboard: A #PurpleWhiteboard instance. |
|
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
169 | * |
|
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
170 | * Clears all the contents of @whiteboard. |
|
42391
090b03385984
Add Since and symbol visibility to new-in-3.0 things
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42338
diff
changeset
|
171 | * |
|
42616
a7144db5570a
Remove the micro version from since tags for libpurple part 5
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
172 | * Since: 3.0 |
|
40595
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
173 | */ |
|
42391
090b03385984
Add Since and symbol visibility to new-in-3.0 things
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42338
diff
changeset
|
174 | PURPLE_AVAILABLE_IN_3_0 |
|
40595
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
175 | void purple_whiteboard_ui_ops_clear(PurpleWhiteboard *whiteboard); |
|
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
176 | |
|
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
177 | G_END_DECLS |
|
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
178 | |
|
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
179 | #endif /* PURPLE_WHITEBOARD_UIOPS_H */ |