4 #include <lib/gui/ewidget.h>
5 #include <lib/gdi/grc.h>
7 // Definition Blit Flags
10 class eLabel
: public eDecoWidget
16 gColor transparentBackgroundColor
;
18 void validate( const eSize
* s
=0 );
19 int eventHandler(const eWidgetEvent
&event
);
20 void redrawWidget(gPainter
*target
, const eRect
&area
);
22 gPixmap
*shortcutPixmap
; // shortcut pixmap to be displayed right after description
25 enum { flagVCenter
= 64 };
26 eLabel(eWidget
*parent
, int flags
=0 /* RS_WRAP */ , int takefocus
=0, const char* deco
="eLabel" );
29 void setBlitFlags( int flags
);
30 void setFlags(int flags
);
31 void removeFlags(int flags
);
32 void setAlign(int align
);
33 void setShortcutPixmap(const eString
&shortcut
);
34 int setProperty(const eString
&prop
, const eString
&value
);
35 void setPixmapPosition( const ePoint
&p
);
39 const eTextPara
* getPara() const { return para
; }
41 ePoint pixmap_position
, text_position
;