![]() |
Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members
![]() |
#include <FXMenuSeparator.h>
Public Member Functions | |
FXMenuSeparator (FXComposite *p, FXObject *tgt=NULL, FXSelector sel=0, FXuint opts=0) | |
virtual FXint | getDefaultWidth () |
virtual FXint | getDefaultHeight () |
void | setHiliteColor (FXColor clr) |
FXColor | getHiliteColor () const |
void | setShadowColor (FXColor clr) |
FXColor | getShadowColor () const |
virtual void | save (FXStream &store) const |
virtual void | load (FXStream &store) |
When a target/message is given, the menu separator is usually connected to an instance of the recent files class using the ID_ANYFILES message. This automatically hides the menu separator when no files are listed in the recent files section. Another possible target is the MDI client using the ID_MDI_ANY message: in this case, the menu separator will be automatically hidden when no MDI child windows are present.
FX::FXMenuSeparator::FXMenuSeparator | ( | FXComposite * | p, | |
FXObject * | tgt = NULL , |
|||
FXSelector | sel = 0 , |
|||
FXuint | opts = 0 | |||
) |
Construct a menu separator.
virtual FXint FX::FXMenuSeparator::getDefaultWidth | ( | ) | [virtual] |
virtual FXint FX::FXMenuSeparator::getDefaultHeight | ( | ) | [virtual] |
void FX::FXMenuSeparator::setHiliteColor | ( | FXColor | clr | ) |
Change highlight color.
FXColor FX::FXMenuSeparator::getHiliteColor | ( | ) | const [inline] |
Get highlight color.
void FX::FXMenuSeparator::setShadowColor | ( | FXColor | clr | ) |
Change shadow color.
FXColor FX::FXMenuSeparator::getShadowColor | ( | ) | const [inline] |
Get shadow color.
virtual void FX::FXMenuSeparator::save | ( | FXStream & | store | ) | const [virtual] |
virtual void FX::FXMenuSeparator::load | ( | FXStream & | store | ) | [virtual] |
![]() |