#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 () | |
Definition at line 154 of file theme.h.
| ThemeMenuButton | ( | ) | [inline, protected] |
| 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 | |||
| ) |
| long onPaint | ( | FXObject * | , | |
| FXSelector | , | |||
| void * | ptr | |||
| ) |
Outside Background
Border
Gradient
Border
Definition at line 504 of file theme.cpp.
References drawRectangle(), and MENUBUTTONARROW_WIDTH.
1.7.1