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 >
C/C++ Source or Header  |  2000-11-29  |  850b  |  40 lines

  1. #ifndef THEME_H
  2. #define THEME_H
  3.  
  4. #include "mwindowgui.inc"
  5. #include "vframe.inc"
  6.  
  7. class Theme
  8. {
  9. public:
  10.     Theme();
  11.  
  12.     virtual int draw_mwindow_bg(MainWindow *mwindow, MWindowGUI *gui) { return 0; };
  13.     virtual int update_positions(MainWindow *mwindow, MWindowGUI *gui, int &w, int &h) { return 0; };
  14.  
  15.     VFrame *play[3];
  16.     VFrame *frame_fwd[3];
  17.     VFrame *frame_bck[3];
  18.     VFrame *pause[3];
  19.     int canvas_x, canvas_y;     // Canvas size
  20.     int time_x, time_y;
  21.     int play_x, play_y;
  22.     int frameback_x, frameback_y;
  23.     int framefwd_x, framefwd_y;
  24.     int scroll_x, scroll_y, scroll_w;
  25.     int gui_x, gui_y;
  26. };
  27.  
  28. class GoldTheme : public Theme
  29. {
  30. public:
  31.     GoldTheme();
  32.  
  33.     int draw_mwindow_bg(MainWindow *mwindow, MWindowGUI *gui);
  34.     int update_positions(MainWindow *mwindow, MWindowGUI *gui, int &w, int &h);
  35.     VFrame *bar_left, *bar_mid, *bar_right;
  36.     VFrame *heroine_bg;
  37. };
  38.  
  39. #endif
  40.