Mercurial > hg > Members > tkaito > t_dandy_old
comparison Dandy.h @ 0:4be1ca60a49b default tip
first commit.
author | tkaito |
---|---|
date | Sat, 05 Feb 2011 02:13:58 +0900 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:4be1ca60a49b |
---|---|
1 #ifndef INCLUDE_DANDY_H | |
2 #define INCLUDE_DANDY_H | |
3 | |
4 #include "TaskManager.h" | |
5 #include "SceneGraph.h" | |
6 #include "Application.h" | |
7 #include "MainLoop.h" | |
8 | |
9 class Dandy : public Application { | |
10 bool app_loop(Viewer *viewer); | |
11 HTaskPtr application_task(HTaskPtr next, Viewer* viewer); | |
12 MainLoopPtr init(Viewer *viewer, int w, int h); | |
13 }; | |
14 | |
15 typedef void (*move)(SceneGraphPtr node, void *sgroot_, int w, int h); | |
16 typedef void (*coll)(SceneGraphPtr node, void *sgroot_, int w, int h, SceneGraphPtr tree); | |
17 | |
18 #endif |