| 1 |
|
| 2 |
#ifndef header_checkbox_style_zz |
| 3 |
#define header_checkbox_style_zz |
| 4 |
|
| 5 |
#if _MSC_VER > 1000 |
| 6 |
#pragma once |
| 7 |
#endif |
| 8 |
|
| 9 |
#include <ClanLib/gui.h> |
| 10 |
#include <ClanLib/core.h> |
| 11 |
|
| 12 |
class CL_CheckBox; |
| 13 |
class CL_StyleManager_ZZ; |
| 14 |
class CL_ResourceManager; |
| 15 |
|
| 16 |
class CL_CheckBox_ZZ : public CL_ComponentStyle |
| 17 |
{ |
| 18 |
public: |
| 19 |
CL_CheckBox_ZZ( |
| 20 |
CL_CheckBox *button, |
| 21 |
CL_StyleManager_ZZ *style); |
| 22 |
|
| 23 |
virtual ~CL_CheckBox_ZZ(); |
| 24 |
|
| 25 |
private: |
| 26 |
CL_Slot slot_paint; |
| 27 |
void on_paint(CL_SlotParent_v0 &super); |
| 28 |
|
| 29 |
CL_Slot slot_get_preferred_size; |
| 30 |
void on_get_preferred_size(CL_Size &size); |
| 31 |
|
| 32 |
CL_CheckBox *checkbox; |
| 33 |
|
| 34 |
CL_StyleManager_ZZ *style; |
| 35 |
CL_ResourceManager *resources; |
| 36 |
|
| 37 |
CL_Font *font; |
| 38 |
|
| 39 |
CL_Surface *surface_left; |
| 40 |
CL_Surface *surface_right; |
| 41 |
CL_Surface *surface_ticker; |
| 42 |
}; |
| 43 |
|
| 44 |
#endif |