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 |
|
---|
15 | class i4_graphical_style_class;
|
---|
16 | class i4_color_window_class : public i4_parent_window_class
|
---|
17 | {
|
---|
18 | protected:
|
---|
19 | i4_color color;
|
---|
20 | i4_graphical_style_class *style;
|
---|
21 |
|
---|
22 | public:
|
---|
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 |
|
---|
32 | i4_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
|
---|