annotate inkscape/firefox/template/textmenu/app.c @ 375:44b8223f307c
Rename MIN/MAX to MB_MIN/MB_MAX.
- MIN and MAX are conflicted with system's macros.
author |
Thinker K.F. Li <thinker@branda.to> |
date |
Wed, 01 Apr 2009 02:16:10 +0800 |
parents |
3d21115297ba |
children |
7d244a85dd68 |
rev |
line source |
371
|
1 #include <stdio.h>
|
|
2 #include <mb.h>
|
|
3 #include "mbapp.h"
|
|
4 #include "animated_menu.h"
|
|
5 #include "app.h"
|
|
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
|
|
13 void MyApp_InitContent(MBApp *app,int argc,char *argv[])
|
|
14 {
|
|
15 // This function is called when the application is started.
|
|
16 }
|