source: golgotha/src/i4/window/colorwin.hh @ 80

Last change on this file since 80 was 80, checked in by Sam Hocevar, 11 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
RevLine 
[80]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 __COLOR_WIN_HPP_
10#define __COLOR_WIN_HPP_
11
12#include "window/window.hh"
13#include "palette/pal.hh"
14
15class i4_graphical_style_class;
16class i4_color_window_class : public i4_parent_window_class
17{
18protected:
19  i4_color color;
20  i4_graphical_style_class *style;
21
22public:
23  char *name() { return "color_window"; } 
24
25  i4_color_window_class(w16 w, w16 h, i4_color color, i4_graphical_style_class *style) :
26     i4_parent_window_class(w,h), color(color), style(style) { ; }
27
28  virtual void parent_draw(i4_draw_context_class &context);
29
30} ;
31
32i4_parent_window_class *i4_add_color_window(i4_parent_window_class *parent, i4_color color,
33                                            i4_graphical_style_class *style,
34                                            i4_coord x, i4_coord y, w16 w, w16 h);
35
36
37
38#endif
Note: See TracBrowser for help on using the repository browser.