comparison inkscape/firefox/template/textmenu/main.c @ 454:9b8dda201ccb

Make naming convention consistent with MadButterfly.
author Thinker K.F. Li <thinker@branda.to>
date Thu, 06 Aug 2009 09:38:51 +0800
parents 7d244a85dd68
children 26c302b47de1
comparison
equal deleted inserted replaced
453:84ce2d4a8c3f 454:9b8dda201ccb
17 "This is item 7", 17 "This is item 7",
18 "This is item 8" 18 "This is item 8"
19 }; 19 };
20 20
21 21
22 MBApp *myApp; 22 mbaf_t *myApp;
23 23
24 _MyApp_InitContent(int argc, char *argv[]) 24 _MyApp_InitContent(int argc, char *argv[])
25 { 25 {
26 MyAppData *data = MBAPP_DATA(myApp,MyAppData); 26 MyAppData *data = MBAF_DATA(myApp,MyAppData);
27 subject_t *key = MBAPP_keySubject(myApp); 27 subject_t *key = MBAF_KB_SUBJECT(myApp);
28 char name[255]; 28 char name[255];
29 coord_t *l; 29 coord_t *l;
30 int i; 30 int i;
31 mb_sprite_t *sprite=myApp->rootsprite; 31 mb_sprite_t *sprite=myApp->rootsprite;
32 32
38 int main(int argc, char * const argv[]) { 38 int main(int argc, char * const argv[]) {
39 subject_t *subject; 39 subject_t *subject;
40 mb_obj_t *button; 40 mb_obj_t *button;
41 MyAppData data; 41 MyAppData data;
42 42
43 myApp = MBApp_Init("list"); 43 myApp = mbaf_init("list");
44 MBApp_setData(myApp,&data); 44 mbaf_set_data(myApp,&data);
45 _MyApp_InitContent(argc,argv); 45 _MyApp_InitContent(argc,argv);
46 46
47 MBApp_loop(myApp); 47 mbaf_loop(myApp);
48 48
49 return 0; 49 return 0;
50 } 50 }
51 51
52 /* vim: set ts=4 */ 52 /* vim: set ts=4 */