view 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
line wrap: on
line source

#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.
}