ui/motif/stock.h

changeset 18
06be29a56f8b
parent 3
c1a75454b444
equal deleted inserted replaced
17:db95c0104937 18:06be29a56f8b
35 extern "C" { 35 extern "C" {
36 #endif 36 #endif
37 37
38 typedef struct UiStockItem { 38 typedef struct UiStockItem {
39 char *label; 39 char *label;
40 char *accelerator;
41 char *accelerator_label;
40 // TODO: icon 42 // TODO: icon
41 } UiStockItem; 43 } UiStockItem;
42 44
43 void ui_stock_init(); 45 void ui_stock_init();
44 46
45 void ui_add_stock_item(char *id, char *label, void *icon); 47 void ui_add_stock_item(char *id, char *label, char *accelerator, char *accelerator_label, void *icon);
46 48
47 UiStockItem* ui_get_stock_item(char *id); 49 UiStockItem* ui_get_stock_item(char *id);
48 50
49 #ifdef __cplusplus 51 #ifdef __cplusplus
50 } 52 }

mercurial