Mercurial > MadButterfly
view inkscape/firefox/template/textmenu/app.c @ 429:9d5506968efb
Change the interface of rdman_shape_stext_new().
It had better to put text as 2nd argument after rdman. Since,
text content is more meaningful than x, y position for a text object.
author | Thinker K.F. Li <thinker@branda.to> |
---|---|
date | Wed, 29 Jul 2009 14:58:34 +0800 |
parents | 7d244a85dd68 |
children | 9b8dda201ccb |
line wrap: on
line source
#include <stdio.h> #include <mb.h> #include "mbapp.h" #include "animated_menu.h" #include "%n.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. }