diff inkscape/firefox/template/textmenu/app.c @ 371:3d21115297ba

Add textmenu template
author wycc
date Tue, 17 Mar 2009 08:31:04 +0800
parents
children 7d244a85dd68
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/inkscape/firefox/template/textmenu/app.c	Tue Mar 17 08:31:04 2009 +0800
@@ -0,0 +1,16 @@
+#include <stdio.h>
+#include <mb.h>
+#include "mbapp.h"
+#include "animated_menu.h"
+#include "app.h"
+
+void myselect_callback(mb_animated_menu_t *m, int select)
+{
+    printf("menu %d is selected\n", select);
+    // Put the callback function for menu select here
+}
+
+void MyApp_InitContent(MBApp *app,int argc,char *argv[])
+{
+   // This function is called when the application is started.
+}