view Dandy.h @ 30:427e1aac0bd7

not run.
author koba <koba@cr.ie.u-ryukyu.ac.jp>
date Fri, 31 Dec 2010 15:50:44 +0900
parents b4c797eee72a
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"

class Dandy : public Application {
    bool app_loop(Viewer *viewer);
    HTaskPtr application_task(HTaskPtr next, Viewer* viewer);
    MainLoopPtr init(Viewer *viewer, int w, int h);
};

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