void setText(const std::string &string);
void setMarkedPos(int markedPos);
void setFont(gFont *font);
- gFont* eLabel::getFont();
+ gFont* getFont();
enum
{
void setHAlign(int align);
void setForegroundColor(const gRGB &col);
+ void setShadowColor(const gRGB &col);
+ void setShadowOffset(const ePoint &offset);
+ void setNoWrap(int nowrap);
void clearForegroundColor();
eSize calculateSize();
int event(int event, void *data=0, void *data2=0);
int m_pos;
private:
- int m_have_foreground_color;
- gRGB m_foreground_color;
+ int m_have_foreground_color, m_have_shadow_color;
+ gRGB m_foreground_color, m_shadow_color;
+ ePoint m_shadow_offset;
+ int m_nowrap;
enum eLabelEvent
{