29 |
#ifndef PG_RADIOBUTTON_H |
#ifndef PG_RADIOBUTTON_H |
30 |
#define PG_RADIOBUTTON_H |
#define PG_RADIOBUTTON_H |
31 |
|
|
|
#ifdef SWIG |
|
|
%include "swigcommon.h" |
|
|
%module pgradiobutton |
|
|
%{ |
|
|
#include "pgradiobutton.h" |
|
|
%} |
|
|
#endif |
|
|
|
|
32 |
#include "pgthemewidget.h" |
#include "pgthemewidget.h" |
|
#include "pgbutton.h" |
|
33 |
#include "pglabel.h" |
#include "pglabel.h" |
34 |
|
|
35 |
|
class PG_Button; |
36 |
|
|
37 |
/** |
/** |
38 |
@author Alexander Pipelka |
@author Alexander Pipelka |
39 |
|
|
72 |
void SetPressed(); |
void SetPressed(); |
73 |
|
|
74 |
/** Sets text alignment */ |
/** Sets text alignment */ |
75 |
void SetAlignment(int a); |
void SetAlignment(PG_Label::TextAlign a); |
76 |
|
|
77 |
/** */ |
/** */ |
78 |
void SetText(const char* text); |
void SetText(const char* text); |
114 |
bool my_isPressed; |
bool my_isPressed; |
115 |
|
|
116 |
private: |
private: |
|
#ifndef SWIG |
|
117 |
|
|
118 |
PG_RadioButton(const PG_RadioButton&); |
PG_RadioButton(const PG_RadioButton&); |
119 |
PG_RadioButton& operator=(const PG_RadioButton&); |
PG_RadioButton& operator=(const PG_RadioButton&); |
|
#endif |
|
120 |
|
|
121 |
bool my_storeMarker; |
bool my_storeMarker; |
122 |
Uint8 my_hoverTransparency; |
Uint8 my_hoverTransparency; |