view inkscape/firefox/template/textmenu/app.c @ 1433:7bd6c0e88ec8

Fix issue of showing image incorrectly. - It is discussed in ticket #23 that objects are refreshed partially. - It is actually only for image since multiple image share a image paint, it will modify sampling matrix when they transforming. Values of later ones would over-write eariler ones. - It is fixed by move matrix setting until drawing.
author Thinker K.F. Li <thinker@codemud.net>
date Mon, 11 Apr 2011 12:45:20 +0800
parents 26c302b47de1
children
line wrap: on
line source

#include <stdio.h>
#include <mb.h>
#include "mb_af.h"
#include "mb_ani_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(mbaf_t *app,int argc,char *argv[])
{
   // This function is called when the application is started.
}