Mercurial > MadButterfly
annotate inkscape/firefox/template/textmenu/app.c @ 1265:ca301f6abef7
Support undo for insert key frame/rm keyframe. We will refresh all layers and scenes since it is not feasible to collect these changes and update the layers and scenes. We may scan two level only in the future to improve the performance.
author | wycc |
---|---|
date | Wed, 12 Jan 2011 15:01:14 +0800 |
parents | 26c302b47de1 |
children |
rev | line source |
---|---|
371 | 1 #include <stdio.h> |
2 #include <mb.h> | |
456
26c302b47de1
Change name of header files.
Thinker K.F. Li <thinker@branda.to>
parents:
454
diff
changeset
|
3 #include "mb_af.h" |
26c302b47de1
Change name of header files.
Thinker K.F. Li <thinker@branda.to>
parents:
454
diff
changeset
|
4 #include "mb_ani_menu.h" |
376
7d244a85dd68
Change the screen layout to make it more like an usual IDE.
wycc
parents:
371
diff
changeset
|
5 #include "%n.h" |
371 | 6 |
7 void myselect_callback(mb_animated_menu_t *m, int select) | |
8 { | |
9 printf("menu %d is selected\n", select); | |
10 // Put the callback function for menu select here | |
11 } | |
12 | |
454
9b8dda201ccb
Make naming convention consistent with MadButterfly.
Thinker K.F. Li <thinker@branda.to>
parents:
376
diff
changeset
|
13 void MyApp_InitContent(mbaf_t *app,int argc,char *argv[]) |
371 | 14 { |
15 // This function is called when the application is started. | |
16 } |