home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Geek 6
/
Geek-006.iso
/
linux
/
video
/
xmovie-1.5.3.tar.gz
/
xmovie-1.5.3.tar
/
xmovie-1.5.3
/
xmovie
/
theme.h
< prev
next >
Wrap
C/C++ Source or Header
|
2000-11-29
|
850b
|
40 lines
#ifndef THEME_H
#define THEME_H
#include "mwindowgui.inc"
#include "vframe.inc"
class Theme
{
public:
Theme();
virtual int draw_mwindow_bg(MainWindow *mwindow, MWindowGUI *gui) { return 0; };
virtual int update_positions(MainWindow *mwindow, MWindowGUI *gui, int &w, int &h) { return 0; };
VFrame *play[3];
VFrame *frame_fwd[3];
VFrame *frame_bck[3];
VFrame *pause[3];
int canvas_x, canvas_y; // Canvas size
int time_x, time_y;
int play_x, play_y;
int frameback_x, frameback_y;
int framefwd_x, framefwd_y;
int scroll_x, scroll_y, scroll_w;
int gui_x, gui_y;
};
class GoldTheme : public Theme
{
public:
GoldTheme();
int draw_mwindow_bg(MainWindow *mwindow, MWindowGUI *gui);
int update_positions(MainWindow *mwindow, MWindowGUI *gui, int &w, int &h);
VFrame *bar_left, *bar_mid, *bar_right;
VFrame *heroine_bg;
};
#endif