view inkscape/firefox/template/textmenu/app.c @ 1253:07e0cb1e051d

Add class consistency_checker for domview_ui. - consistency_checker is to check consistency of the DOM-tree associated with a domview_ui. - It is so closed to domview_ui, so it may access private variables. - But, it uses public interface of domview_ui if possible. - consistency_checker is not integrated to domview_ui for separating functions of consistency checking from the domview_ui. It collects relative logic into a place and setups a boundary from others.
author Thinker K.F. Li <thinker@codemud.net>
date Tue, 11 Jan 2011 11:43:32 +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.
}