Mercurial > hg > Members > kono > tree_dandy2
view Dandy.h @ 33:9a5300cedb14
add Test
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Sat, 21 May 2011 18:52:56 +0900 |
parents | 8abcc221bbac |
children |
line wrap: on
line source
#ifndef INCLUDE_DANDY_H #define INCLUDE_DANDY_H #include "TaskManager.h" #include "SceneGraph.h" #include "Application.h" #include "MainLoop.h" #include "Func.h" class Dandy : public Application { bool app_loop(Viewer *viewer); HTaskPtr application_task(HTaskPtr next, Viewer* viewer); MainLoopPtr init(Viewer *viewer, int w, int h); }; extern Viewer *droot; typedef void (*move)(SceneGraphPtr node, void *sgroot_, int w, int h); typedef void (*coll)(SceneGraphPtr node, void *sgroot_, int w, int h, SceneGraphPtr tree); #endif