Last change
on this file was
49,
checked in by Sam Hocevar, 15 years ago
|
- Imported original public domain release, for future reference.
|
File size:
877 bytes
|
Line | |
---|
1 | #ifndef __DIRECTOR_HPP_ |
---|
2 | #define __DIRECTOR_HPP_ |
---|
3 | |
---|
4 | #include "timing.hpp" |
---|
5 | |
---|
6 | class director // the director controlls the scene |
---|
7 | { |
---|
8 | int tleft,ttop,tright,tbottom,text_y,text_step, |
---|
9 | pan_xv,pan_yv,pan_steps, |
---|
10 | frame_speed,scroll_speed,pan_speed,scene_abort; |
---|
11 | char *text; |
---|
12 | time_marker *pan_time,*frame_time,*text_time; |
---|
13 | public : |
---|
14 | void set_text_region(int left, int top, int right, int bottom) |
---|
15 | { tleft=left; ttop=top; tright=right; tbottom=bottom; } |
---|
16 | void set_frame_speed(int speed) { frame_speed=speed; } |
---|
17 | void set_scroll_speed(int speed) { scroll_speed=speed; } |
---|
18 | void set_pan_speed(int speed) { pan_speed=speed; } |
---|
19 | void set_pan(int xv, int yv, int steps) { pan_xv=xv; pan_yv=yv; pan_steps=steps; } |
---|
20 | void scroll_text(char *Text); |
---|
21 | void wait(void *arg); |
---|
22 | director(); |
---|
23 | void set_abort(int x) { scene_abort=x; } |
---|
24 | } ; |
---|
25 | |
---|
26 | extern director scene_director; |
---|
27 | |
---|
28 | |
---|
29 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.