![]() |
Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members
![]() |
#include <FXMenuCaption.h>
Inheritance diagram for FXMenuCaption:
Public Methods | |
FXMenuCaption (FXComposite *p, const FXString &text, FXIcon *ic=NULL, FXuint opts=0) | |
Construct a menu caption. | |
virtual void | create () |
Create server-side resources. | |
virtual void | detach () |
Detach server-side resources. | |
virtual void | enable () |
Enable the menu. | |
virtual void | disable () |
Disable the menu. | |
virtual FXint | getDefaultWidth () |
Return default width. | |
virtual FXint | getDefaultHeight () |
Return default height. | |
void | setText (const FXString &text) |
Set the text for this menu. | |
void | setIcon (FXIcon *ic) |
Set the icon for this menu. | |
FXIcon * | getIcon () const |
Get the icon for this menu. | |
void | setFont (FXFont *fnt) |
Set the text font. | |
FXFont * | getFont () const |
Return the text font. | |
FXColor | getTextColor () const |
Get the current text color. | |
void | setTextColor (FXColor clr) |
Return the current text color. | |
FXColor | getSelBackColor () const |
Return the selection background color. | |
void | setSelBackColor (FXColor clr) |
Return the selection background color. | |
FXColor | getSelTextColor () const |
Return the selection text color. | |
void | setSelTextColor (FXColor clr) |
Return the selection text color. | |
void | setHiliteColor (FXColor clr) |
Change highlight color. | |
FXColor | getHiliteColor () const |
Get highlight color. | |
void | setShadowColor (FXColor clr) |
Change shadow color. | |
FXColor | getShadowColor () const |
Get shadow color. | |
void | setHelpText (const FXString &text) |
Set the status line help text for this menu. | |
virtual void | save (FXStream &store) const |
Save menu to a stream. | |
virtual void | load (FXStream &store) |
Load menu from a stream. | |
virtual | ~FXMenuCaption () |
Destructor. | |
Public Attributes | |
FXString | getText () const |
Get the text for this menu. | |
FXString | getHelpText () const |
Get the status line help text for this menu. |