-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathapp.h
38 lines (33 loc) · 781 Bytes
/
app.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#ifndef __APP__
#define __APP__
#include "gui.h"
#include "gfx.h"
#include "viz.h"
#include "vec.h"
#include "lay.h"
#include "lisp.h"
#include "reader.h"
class sim_viz_t : public viz_t {
public:
int key_hit (int cmd, int modifiers);
int exec (int is_pause);
int render (int is_picking);
int render_one(int is_picking);
int render_frame_monitors ( void );
int handle_drag(vec_t<3> pos);
int process_picks (std::vector< int > picks);
int open (int arg_offset, int argc, const char *argv[]);
int close (void);
bool is_single_step;
void show_status (float x, float y, float w, float h);
};
class sim_t {
public:
int t;
int list;
void exec ( void );
void open ( void );
void render ( bool is_picking );
sim_t(void) : t(0),list(-1) { }
};
#endif