Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members

FX::FXMenuSeparator Class Reference

The menu separator is a simple decorative groove used to delineate items in a popup menu. More...

#include <FXMenuSeparator.h>

Inheritance diagram for FX::FXMenuSeparator:

FX::FXWindow FX::FXDrawable FX::FXId FX::FXObject List of all members.

Public Member Functions

 FXMenuSeparator (FXComposite *p, 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)

Detailed Description

The menu separator is a simple decorative groove used to delineate items in a popup menu.


Constructor & Destructor Documentation

FX::FXMenuSeparator::FXMenuSeparator FXComposite p,
FXuint  opts = 0
 

Construct a menu separator.


Member Function Documentation

virtual FXint FX::FXMenuSeparator::getDefaultWidth  )  [virtual]
 

Return default width.

Reimplemented from FX::FXWindow.

virtual FXint FX::FXMenuSeparator::getDefaultHeight  )  [virtual]
 

Return default height.

Reimplemented from FX::FXWindow.

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]
 

Save menu to a stream.

Reimplemented from FX::FXWindow.

virtual void FX::FXMenuSeparator::load FXStream store  )  [virtual]
 

Load menu from a stream.

Reimplemented from FX::FXWindow.

Copyright © 1997-2004 Jeroen van der Zijp