application/main.c

changeset 18
06be29a56f8b
parent 16
a499c8a72c15
child 19
f8f22eb0b575
--- a/application/main.c	Tue Apr 01 13:47:29 2014 +0200
+++ b/application/main.c	Wed Apr 02 09:59:38 2014 +0200
@@ -112,8 +112,8 @@
     ui_list_append(list, "main.c");
     
     ui_menu("File");
-    ui_menuitem("New", action_new, NULL);
-    ui_menuitem("Open", action_open, NULL);
+    ui_menuitem_st(UI_STOCK_NEW, action_new, NULL);
+    ui_menuitem_st(UI_STOCK_OPEN, action_open, NULL);
     ui_menuseparator();
     ui_menuitem("Dokument 1", action_doc1, NULL);
     ui_menuitem("Dokument 2", action_doc2, NULL);
@@ -121,7 +121,7 @@
     ui_menuseparator();
     ui_checkitem_nv("Check", "check1");
     //ui_checkitem("Check", action_open, NULL);
-    ui_menuitem("Close", action_close, NULL);
+    ui_menuitem_st(UI_STOCK_CLOSE, action_close, NULL);
     void ui_menuseparator();
     ui_menuitem_list(list, action_document, list);
     

mercurial