application/main.c

changeset 18
06be29a56f8b
parent 16
a499c8a72c15
child 19
f8f22eb0b575
equal deleted inserted replaced
17:db95c0104937 18:06be29a56f8b
110 ui_list_append(list, "file1.txt"); 110 ui_list_append(list, "file1.txt");
111 ui_list_append(list, "hello.txt"); 111 ui_list_append(list, "hello.txt");
112 ui_list_append(list, "main.c"); 112 ui_list_append(list, "main.c");
113 113
114 ui_menu("File"); 114 ui_menu("File");
115 ui_menuitem("New", action_new, NULL); 115 ui_menuitem_st(UI_STOCK_NEW, action_new, NULL);
116 ui_menuitem("Open", action_open, NULL); 116 ui_menuitem_st(UI_STOCK_OPEN, action_open, NULL);
117 ui_menuseparator(); 117 ui_menuseparator();
118 ui_menuitem("Dokument 1", action_doc1, NULL); 118 ui_menuitem("Dokument 1", action_doc1, NULL);
119 ui_menuitem("Dokument 2", action_doc2, NULL); 119 ui_menuitem("Dokument 2", action_doc2, NULL);
120 void ui_menuseparator(); 120 void ui_menuseparator();
121 ui_menuseparator(); 121 ui_menuseparator();
122 ui_checkitem_nv("Check", "check1"); 122 ui_checkitem_nv("Check", "check1");
123 //ui_checkitem("Check", action_open, NULL); 123 //ui_checkitem("Check", action_open, NULL);
124 ui_menuitem("Close", action_close, NULL); 124 ui_menuitem_st(UI_STOCK_CLOSE, action_close, NULL);
125 void ui_menuseparator(); 125 void ui_menuseparator();
126 ui_menuitem_list(list, action_document, list); 126 ui_menuitem_list(list, action_document, list);
127 127
128 128
129 129

mercurial