Mercurial > pidgin.yaz
annotate libpurple/plugins/perl/common/Whiteboard.xs @ 23715:9d7ebd28d339
Another Perl patch from Zsombor Welker to add more functions.
Fixes #5957
author | Daniel Atallah <daniel.atallah@gmail.com> |
---|---|
date | Thu, 07 Aug 2008 04:03:23 +0000 |
parents | |
children |
rev | line source |
---|---|
23715
9d7ebd28d339
Another Perl patch from Zsombor Welker to add more functions.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1 #include "module.h" |
9d7ebd28d339
Another Perl patch from Zsombor Welker to add more functions.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
2 |
9d7ebd28d339
Another Perl patch from Zsombor Welker to add more functions.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
3 MODULE = Purple::Whiteboard PACKAGE = Purple::Whiteboard PREFIX = purple_whiteboard_ |
9d7ebd28d339
Another Perl patch from Zsombor Welker to add more functions.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
4 PROTOTYPES: ENABLE |
9d7ebd28d339
Another Perl patch from Zsombor Welker to add more functions.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
5 |
9d7ebd28d339
Another Perl patch from Zsombor Welker to add more functions.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
6 void |
9d7ebd28d339
Another Perl patch from Zsombor Welker to add more functions.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
7 purple_whiteboard_clear(wb) |
9d7ebd28d339
Another Perl patch from Zsombor Welker to add more functions.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
8 Purple::Whiteboard wb |
9d7ebd28d339
Another Perl patch from Zsombor Welker to add more functions.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
9 |
9d7ebd28d339
Another Perl patch from Zsombor Welker to add more functions.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
10 Purple::Whiteboard |
9d7ebd28d339
Another Perl patch from Zsombor Welker to add more functions.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
11 purple_whiteboard_create(account, who, state) |
9d7ebd28d339
Another Perl patch from Zsombor Welker to add more functions.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
12 Purple::Account account |
9d7ebd28d339
Another Perl patch from Zsombor Welker to add more functions.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
13 const char* who |
9d7ebd28d339
Another Perl patch from Zsombor Welker to add more functions.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
14 int state |
9d7ebd28d339
Another Perl patch from Zsombor Welker to add more functions.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
15 |
9d7ebd28d339
Another Perl patch from Zsombor Welker to add more functions.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
16 void |
9d7ebd28d339
Another Perl patch from Zsombor Welker to add more functions.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
17 purple_whiteboard_destroy(wb) |
9d7ebd28d339
Another Perl patch from Zsombor Welker to add more functions.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
18 Purple::Whiteboard wb |
9d7ebd28d339
Another Perl patch from Zsombor Welker to add more functions.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
19 |
9d7ebd28d339
Another Perl patch from Zsombor Welker to add more functions.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
20 void |
9d7ebd28d339
Another Perl patch from Zsombor Welker to add more functions.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
21 purple_whiteboard_draw_line(wb, x1, y1, x2, y2, color, size) |
9d7ebd28d339
Another Perl patch from Zsombor Welker to add more functions.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
22 Purple::Whiteboard wb |
9d7ebd28d339
Another Perl patch from Zsombor Welker to add more functions.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
23 int x1 |
9d7ebd28d339
Another Perl patch from Zsombor Welker to add more functions.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
24 int y1 |
9d7ebd28d339
Another Perl patch from Zsombor Welker to add more functions.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
25 int x2 |
9d7ebd28d339
Another Perl patch from Zsombor Welker to add more functions.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
26 int y2 |
9d7ebd28d339
Another Perl patch from Zsombor Welker to add more functions.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
27 int color |
9d7ebd28d339
Another Perl patch from Zsombor Welker to add more functions.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
28 int size |
9d7ebd28d339
Another Perl patch from Zsombor Welker to add more functions.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
29 |
9d7ebd28d339
Another Perl patch from Zsombor Welker to add more functions.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
30 void |
9d7ebd28d339
Another Perl patch from Zsombor Welker to add more functions.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
31 purple_whiteboard_draw_point(wb, x, y, color, size) |
9d7ebd28d339
Another Perl patch from Zsombor Welker to add more functions.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
32 Purple::Whiteboard wb |
9d7ebd28d339
Another Perl patch from Zsombor Welker to add more functions.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
33 int x |
9d7ebd28d339
Another Perl patch from Zsombor Welker to add more functions.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
34 int y |
9d7ebd28d339
Another Perl patch from Zsombor Welker to add more functions.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
35 int color |
9d7ebd28d339
Another Perl patch from Zsombor Welker to add more functions.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
36 int size |
9d7ebd28d339
Another Perl patch from Zsombor Welker to add more functions.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
37 |
9d7ebd28d339
Another Perl patch from Zsombor Welker to add more functions.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
38 Purple::Whiteboard |
9d7ebd28d339
Another Perl patch from Zsombor Welker to add more functions.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
39 purple_whiteboard_get_session(account, who) |
9d7ebd28d339
Another Perl patch from Zsombor Welker to add more functions.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
40 Purple::Account account |
9d7ebd28d339
Another Perl patch from Zsombor Welker to add more functions.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
41 const char* who |
9d7ebd28d339
Another Perl patch from Zsombor Welker to add more functions.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
42 |
9d7ebd28d339
Another Perl patch from Zsombor Welker to add more functions.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
43 void |
9d7ebd28d339
Another Perl patch from Zsombor Welker to add more functions.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
44 purple_whiteboard_send_brush(wb, size, color) |
9d7ebd28d339
Another Perl patch from Zsombor Welker to add more functions.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
45 Purple::Whiteboard wb |
9d7ebd28d339
Another Perl patch from Zsombor Welker to add more functions.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
46 int size |
9d7ebd28d339
Another Perl patch from Zsombor Welker to add more functions.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
47 int color |
9d7ebd28d339
Another Perl patch from Zsombor Welker to add more functions.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
48 |
9d7ebd28d339
Another Perl patch from Zsombor Welker to add more functions.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
49 void |
9d7ebd28d339
Another Perl patch from Zsombor Welker to add more functions.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
50 purple_whiteboard_send_clear(wb) |
9d7ebd28d339
Another Perl patch from Zsombor Welker to add more functions.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
51 Purple::Whiteboard wb |
9d7ebd28d339
Another Perl patch from Zsombor Welker to add more functions.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
52 |
9d7ebd28d339
Another Perl patch from Zsombor Welker to add more functions.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
53 void |
9d7ebd28d339
Another Perl patch from Zsombor Welker to add more functions.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
54 purple_whiteboard_set_brush(wb, size, color) |
9d7ebd28d339
Another Perl patch from Zsombor Welker to add more functions.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
55 Purple::Whiteboard wb |
9d7ebd28d339
Another Perl patch from Zsombor Welker to add more functions.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
56 int size |
9d7ebd28d339
Another Perl patch from Zsombor Welker to add more functions.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
57 int color |
9d7ebd28d339
Another Perl patch from Zsombor Welker to add more functions.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
58 |
9d7ebd28d339
Another Perl patch from Zsombor Welker to add more functions.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
59 void |
9d7ebd28d339
Another Perl patch from Zsombor Welker to add more functions.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
60 purple_whiteboard_set_dimensions(wb, width, height) |
9d7ebd28d339
Another Perl patch from Zsombor Welker to add more functions.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
61 Purple::Whiteboard wb |
9d7ebd28d339
Another Perl patch from Zsombor Welker to add more functions.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
62 int width |
9d7ebd28d339
Another Perl patch from Zsombor Welker to add more functions.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
63 int height |
9d7ebd28d339
Another Perl patch from Zsombor Welker to add more functions.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
64 |
9d7ebd28d339
Another Perl patch from Zsombor Welker to add more functions.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
65 gboolean |
9d7ebd28d339
Another Perl patch from Zsombor Welker to add more functions.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
66 purple_whiteboard_get_brush(wb, OUTLIST int size, OUTLIST int color) |
9d7ebd28d339
Another Perl patch from Zsombor Welker to add more functions.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
67 Purple::Whiteboard wb |
9d7ebd28d339
Another Perl patch from Zsombor Welker to add more functions.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
68 PROTOTYPE: $ |
9d7ebd28d339
Another Perl patch from Zsombor Welker to add more functions.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
69 |
9d7ebd28d339
Another Perl patch from Zsombor Welker to add more functions.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
70 gboolean |
9d7ebd28d339
Another Perl patch from Zsombor Welker to add more functions.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
71 purple_whiteboard_get_dimensions(wb, OUTLIST int width, OUTLIST int height) |
9d7ebd28d339
Another Perl patch from Zsombor Welker to add more functions.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
72 Purple::Whiteboard wb |
9d7ebd28d339
Another Perl patch from Zsombor Welker to add more functions.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
73 PROTOTYPE: $ |
9d7ebd28d339
Another Perl patch from Zsombor Welker to add more functions.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
74 |
9d7ebd28d339
Another Perl patch from Zsombor Welker to add more functions.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
75 void |
9d7ebd28d339
Another Perl patch from Zsombor Welker to add more functions.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
76 purple_whiteboard_start(wb) |
9d7ebd28d339
Another Perl patch from Zsombor Welker to add more functions.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
77 Purple::Whiteboard wb |
9d7ebd28d339
Another Perl patch from Zsombor Welker to add more functions.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
78 |