#include <elabel.h>
|
enum | {
alignLeft
, alignTop =alignLeft
, alignCenter
, alignRight
,
alignBottom =alignRight
, alignBlock
, alignBidi
} |
|
enum | eWidgetEvent {
evtPaint
, evtKey
, evtChangedPosition
, evtChangedSize
,
evtParentChangedPosition
, evtParentVisibilityChanged
, evtWillChangePosition
, evtWillChangeSize
,
evtAction
, evtFocusGot
, evtFocusLost
, evtUserWidget
} |
|
◆ anonymous enum
Enumerator |
---|
alignLeft | |
alignTop | |
alignCenter | |
alignRight | |
alignBottom | |
alignBlock | |
alignBidi | |
◆ eLabel()
eLabel::eLabel |
( |
eWidget * |
parent, |
|
|
int |
markedPos = -1 |
|
) |
| |
◆ calculateSize()
eSize eLabel::calculateSize |
( |
| ) |
|
◆ calculateTextSize()
eSize eLabel::calculateTextSize |
( |
gFont * |
font, |
|
|
const std::string & |
string, |
|
|
eSize |
targetSize, |
|
|
bool |
nowrap = false |
|
) |
| |
|
static |
◆ clearForegroundColor()
void eLabel::clearForegroundColor |
( |
| ) |
|
◆ event()
int eLabel::event |
( |
int |
event, |
|
|
void * |
data = 0 , |
|
|
void * |
data2 = 0 |
|
) |
| |
|
protectedvirtual |
◆ getFont()
gFont * eLabel::getFont |
( |
| ) |
|
◆ getNoWrap()
int eLabel::getNoWrap |
( |
| ) |
|
|
inline |
◆ setBorderColor()
void eLabel::setBorderColor |
( |
const gRGB & |
col | ) |
|
◆ setBorderWidth()
void eLabel::setBorderWidth |
( |
int |
size | ) |
|
◆ setFont()
void eLabel::setFont |
( |
gFont * |
font | ) |
|
◆ setForegroundColor()
void eLabel::setForegroundColor |
( |
const gRGB & |
col | ) |
|
◆ setHAlign()
void eLabel::setHAlign |
( |
int |
align | ) |
|
◆ setMarkedPos()
void eLabel::setMarkedPos |
( |
int |
markedPos | ) |
|
◆ setNoWrap()
void eLabel::setNoWrap |
( |
int |
nowrap | ) |
|
◆ setShadowColor()
void eLabel::setShadowColor |
( |
const gRGB & |
col | ) |
|
◆ setShadowOffset()
void eLabel::setShadowOffset |
( |
const ePoint & |
offset | ) |
|
◆ setText()
void eLabel::setText |
( |
const std::string & |
string | ) |
|
◆ setTextPadding()
void eLabel::setTextPadding |
( |
const eRect & |
padding | ) |
|
|
inline |
◆ setVAlign()
void eLabel::setVAlign |
( |
int |
align | ) |
|
◆ m_font
◆ m_halign
◆ m_pos
◆ m_text
std::string eLabel::m_text |
|
protected |
◆ m_text_offset
int eLabel::m_text_offset |
|
protected |
◆ m_valign
The documentation for this class was generated from the following files: