comparison: ui/motif/graphics.h
ui/motif/graphics.h
- changeset 113
- dde28a806552
- parent 100
- d2bd73d28ff1
equal
deleted
inserted
replaced
| 33 #include "toolkit.h" |
33 #include "toolkit.h" |
| 34 |
34 |
| 35 #ifdef __cplusplus |
35 #ifdef __cplusplus |
| 36 extern "C" { |
36 extern "C" { |
| 37 #endif |
37 #endif |
| |
38 |
| |
39 typedef struct UiDrawingArea { |
| |
40 UiObject *obj; |
| |
41 ui_drawfunc draw; |
| |
42 void *drawdata; |
| |
43 ui_callback onclick; |
| |
44 void *onclickdata; |
| |
45 ui_callback onmotion; |
| |
46 void *onmotiondata; |
| |
47 |
| |
48 GC gc; |
| |
49 } UiDrawingArea; |
| 38 |
50 |
| |
51 typedef struct UiXlibGraphics { |
| |
52 UiGraphics g; |
| |
53 Display *display; |
| |
54 Widget widget; |
| |
55 Colormap colormap; |
| |
56 GC gc; |
| |
57 } UiXlibGraphics; |
| |
58 |
| |
59 void ui_drawingarea_destroy(Widget w, UiDrawingArea *drawingarea, XtPointer d); |
| |
60 |
| |
61 void ui_drawingarea_expose(Widget w, UiDrawingArea *drawingarea, XtPointer d); |
| 39 |
62 |
| 40 |
63 |
| 41 #ifdef __cplusplus |
64 #ifdef __cplusplus |
| 42 } |
65 } |
| 43 #endif |
66 #endif |