99:b9767cb5b06b | 100:d2bd73d28ff1 |
---|---|
33 | 33 |
34 #ifdef __cplusplus | 34 #ifdef __cplusplus |
35 extern "C" { | 35 extern "C" { |
36 #endif | 36 #endif |
37 | 37 |
38 typedef struct UiStockItem { | |
39 char *label; | |
40 char *accelerator; | |
41 char *accelerator_label; | |
42 // TODO: icon | |
43 } UiStockItem; | |
44 | |
45 void ui_stock_init(); | |
46 | 38 |
47 void ui_add_stock_item(char *id, char *label, char *accelerator, char *accelerator_label, void *icon); | |
48 | |
49 UiStockItem* ui_get_stock_item(char *id); | |
50 | 39 |
51 #ifdef __cplusplus | 40 #ifdef __cplusplus |
52 } | 41 } |
53 #endif | 42 #endif |
54 | 43 |