gwenhywfar 4.0.3
Public Member Functions | Protected Member Functions

ThemeMenuButton Class Reference

#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 ()

Detailed Description

Definition at line 154 of file theme.h.


Constructor & Destructor Documentation

ThemeMenuButton ( ) [inline, protected]

Definition at line 158 of file theme.h.

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 
)

Definition at line 488 of file theme.cpp.


Member Function Documentation

FXint getDefaultWidth ( )

Definition at line 762 of file theme.cpp.

References MENUBUTTONARROW_HEIGHT, and MENUBUTTONARROW_WIDTH.

long onPaint ( FXObject *  ,
FXSelector  ,
void *  ptr 
)

Outside Background

Border

Gradient

Border

Definition at line 500 of file theme.cpp.

References drawRectangle(), MENUBUTTONARROW_HEIGHT, and MENUBUTTONARROW_WIDTH.


The documentation for this class was generated from the following files: