gwenhywfar
4.7.0beta
|
#include <theme.h>
Public Member Functions | |
FXint | getDefaultWidth () |
long | onPaint (FXObject *, FXSelector, void *ptr) |
ThemeMenuButton (FXComposite *p, const FXString &text, FXIcon *ic=NULL, FXPopup *pup=NULL, FXuint opts=JUSTIFY_NORMAL|ICON_BEFORE_TEXT|MENUBUTTON_DOWN, FXint x=0, FXint y=0, FXint w=0, FXint h=0, FXint pl=DEFAULT_PAD, FXint pr=DEFAULT_PAD, FXint pt=DEFAULT_PAD, FXint pb=DEFAULT_PAD) | |
Protected Member Functions | |
ThemeMenuButton () | |
|
inlineprotected |
ThemeMenuButton | ( | FXComposite * | p, |
const FXString & | text, | ||
FXIcon * | ic = NULL , |
||
FXPopup * | pup = NULL , |
||
FXuint | opts = JUSTIFY_NORMAL|ICON_BEFORE_TEXT|MENUBUTTON_DOWN , |
||
FXint | x = 0 , |
||
FXint | y = 0 , |
||
FXint | w = 0 , |
||
FXint | h = 0 , |
||
FXint | pl = DEFAULT_PAD , |
||
FXint | pr = DEFAULT_PAD , |
||
FXint | pt = DEFAULT_PAD , |
||
FXint | pb = DEFAULT_PAD |
||
) |
FXint getDefaultWidth | ( | ) |
Definition at line 766 of file theme.cpp.
References MENUBUTTONARROW_HEIGHT, and MENUBUTTONARROW_WIDTH.
long onPaint | ( | FXObject * | , |
FXSelector | , | ||
void * | ptr | ||
) |
Outside Background
Border
Gradient
Border
Definition at line 504 of file theme.cpp.
References drawRectangle(), MENUBUTTONARROW_HEIGHT, and MENUBUTTONARROW_WIDTH.