source: golgotha/src/i4/gui/image_win.hh @ 80

Last change on this file since 80 was 80, checked in by Sam Hocevar, 12 years ago
  • Adding the Golgotha source code. Not sure what's going to be interesting in there, but since it's all public domain, there's certainly stuff to pick up.
File size: 1.3 KB
Line 
1/********************************************************************** <BR>
2  This file is part of Crack dot Com's free source code release of
3  Golgotha. <a href="http://www.crack.com/golgotha_release"> <BR> for
4  information about compiling & licensing issues visit this URL</a>
5  <PRE> If that doesn't help, contact Jonathan Clark at
6  golgotha_source@usa.net (Subject should have "GOLG" in it)
7***********************************************************************/
8
9#ifndef IMAGE_WIN_HH
10#define IMAGE_WIN_HH
11
12#include "window/window.hh"
13#include "window/win_evt.hh"
14
15class i4_image_class;
16
17class i4_image_window_class : public i4_parent_window_class
18{
19  i4_image_class *im, *darken_im;
20  i4_bool del, darken, active;
21
22  void reparent(i4_image_class *draw_area, i4_parent_window_class *parent);
23public:
24  // if delete on destructor is true then change_image will delete the old image
25  void change_image(i4_image_class *im); 
26
27  i4_image_window_class(i4_image_class *im,
28                        i4_bool delete_on_destructor=i4_F,
29                        i4_bool dark_when_not_active=i4_T);
30
31  virtual void parent_draw(i4_draw_context_class &context);
32  void receive_event(i4_event *ev);
33  ~i4_image_window_class();
34  char *name() { return "image_window"; }
35} ;
36
37#endif
Note: See TracBrowser for help on using the repository browser.