![]() |
openATV enigma2
openATV is an open source SetTopBox Graphical user interface.
|
#include <ebutton.h>
Public Member Functions | |
eButton (eWidget *parent) | |
void | push () |
![]() | |
eLabel (eWidget *parent, int markedPos=-1) | |
void | setText (const std::string &string) |
void | setMarkedPos (int markedPos) |
void | setFont (gFont *font) |
gFont * | getFont () |
void | setVAlign (int align) |
void | setHAlign (int align) |
void | setForegroundColor (const gRGB &col) |
void | setShadowColor (const gRGB &col) |
void | setShadowOffset (const ePoint &offset) |
void | setBorderColor (const gRGB &col) |
void | setBorderWidth (int size) |
void | setNoWrap (int nowrap) |
void | clearForegroundColor () |
int | getNoWrap () |
void | setTextPadding (const eRect &padding) |
eSize | calculateSize () |
![]() | |
eWidget (eWidget *parent) | |
virtual | ~eWidget () |
void | move (ePoint pos) |
void | resize (eSize size) |
ePoint | position () const |
eSize | size () const |
eSize | csize () const |
void | invalidate (const gRegion ®ion=gRegion::invalidRegion()) |
virtual eWidget * | child () |
eWidget * | getParent () |
void | show () |
void | hide () |
void | raise () |
void | lower () |
void | destruct () |
SWIG_VOID (int) getStyle(ePtr< eWindowStyle > &SWIG_NAMED_OUTPUT(style)) | |
void | setStyle (eWindowStyle *style) |
void | setBackgroundColor (const gRGB &col) |
void | clearBackgroundColor () |
void | setZPosition (int z) |
void | setTransparent (int transp) |
int | isVisible () |
int | isLowered () |
int | isTransparent () |
ePoint | getAbsolutePosition () |
void | setFocus (eWidget *focus) |
void | setPositionNotifyChild (int n) |
void | notifyShowHide () |
Public Attributes | |
PSignal0< void > | selected |
![]() | |
eWidgetAnimation | m_animation |
gRegion | m_clip_region |
gRegion | m_visible_region |
gRegion | m_visible_with_childs |
struct eWidgetDesktopCompBuffer * | m_comp_buffer [MAX_LAYER] |
Protected Member Functions | |
int | event (int event, void *data=0, void *data2=0) |
![]() | |
int | event (int event, void *data=0, void *data2=0) |
![]() | |
void | mayKillFocus () |
Additional Inherited Members | |
![]() | |
enum | { alignLeft , alignTop =alignLeft , alignCenter , alignRight , alignBottom =alignRight , alignBlock , alignBidi } |
![]() | |
enum | eWidgetEvent { evtPaint , evtKey , evtChangedPosition , evtChangedSize , evtParentChangedPosition , evtParentVisibilityChanged , evtWillChangePosition , evtWillChangeSize , evtAction , evtFocusGot , evtFocusLost , evtUserWidget } |
![]() | |
static eSize | calculateTextSize (gFont *font, const std::string &string, eSize targetSize, bool nowrap=false) |
![]() | |
ePtr< gFont > | m_font |
int | m_valign |
int | m_halign |
std::string | m_text |
int | m_pos |
int | m_text_offset |
eButton::eButton | ( | eWidget * | parent | ) |
|
protectedvirtual |
Reimplemented from eWidget.
void eButton::push | ( | ) |
PSignal0<void> eButton::selected |