| 1 |
|
| 2 |
#ifndef header_window_style_zz |
| 3 |
#define header_window_style_zz |
| 4 |
|
| 5 |
#if _MSC_VER > 1000 |
| 6 |
#pragma once |
| 7 |
#endif |
| 8 |
|
| 9 |
#include <ClanLib/gui.h> |
| 10 |
|
| 11 |
class CL_Window; |
| 12 |
class CL_ComponentOptions; |
| 13 |
class CL_StyleManager_ZZ; |
| 14 |
class CL_ResourceManager; |
| 15 |
class CL_ComponentMoveHandler; |
| 16 |
|
| 17 |
class CL_Window_ZZ : public CL_ComponentStyle |
| 18 |
{ |
| 19 |
public: |
| 20 |
CL_Window_ZZ(CL_Window *window, CL_StyleManager_ZZ *style); |
| 21 |
|
| 22 |
virtual ~CL_Window_ZZ(); |
| 23 |
|
| 24 |
private: |
| 25 |
void on_paint(); |
| 26 |
void on_quit(); |
| 27 |
|
| 28 |
CL_Slot slot_paint; |
| 29 |
CL_Slot slot_quit; |
| 30 |
|
| 31 |
CL_Button *button_quit; |
| 32 |
CL_Window *window; |
| 33 |
CL_ComponentMoveHandler * move_handler; |
| 34 |
CL_ResourceManager *resources; |
| 35 |
CL_StyleManager_ZZ *style; |
| 36 |
CL_Font * title_font; |
| 37 |
|
| 38 |
CL_Rect rc_title; |
| 39 |
CL_Rect rc_main; |
| 40 |
bool first_paint; |
| 41 |
}; |
| 42 |
|
| 43 |
#endif |