34 static CxMap* toolbar_items; |
34 static CxMap* toolbar_items; |
35 |
35 |
36 static CxList* toolbar_defaults[3]; // 0: left 1: center 2: right |
36 static CxList* toolbar_defaults[3]; // 0: left 1: center 2: right |
37 |
37 |
38 static UiToolbarMenuItem* ui_appmenu; |
38 static UiToolbarMenuItem* ui_appmenu; |
|
39 |
39 |
40 |
40 void uic_toolbar_init(void) { |
41 void uic_toolbar_init(void) { |
41 toolbar_items = cxHashMapCreate(cxDefaultAllocator, CX_STORE_POINTERS, 16); |
42 toolbar_items = cxHashMapCreate(cxDefaultAllocator, CX_STORE_POINTERS, 16); |
42 toolbar_defaults[0] = cxLinkedListCreateSimple(CX_STORE_POINTERS); |
43 toolbar_defaults[0] = cxLinkedListCreateSimple(CX_STORE_POINTERS); |
43 toolbar_defaults[1] = cxLinkedListCreateSimple(CX_STORE_POINTERS); |
44 toolbar_defaults[1] = cxLinkedListCreateSimple(CX_STORE_POINTERS); |