![]() |
Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members
![]() |
#include <FXToolBarShell.h>
Public Member Functions | |
FXToolBarShell (FXWindow *owner, FXuint opts=FRAME_RAISED|FRAME_THICK, FXint x=0, FXint y=0, FXint w=0, FXint h=0, FXint hs=4, FXint vs=4) | |
virtual void | create () |
virtual void | layout () |
virtual FXint | getDefaultWidth () |
virtual FXint | getDefaultHeight () |
void | setFrameStyle (FXuint style) |
FXuint | getFrameStyle () const |
FXint | getBorderWidth () const |
void | setHiliteColor (FXColor clr) |
FXColor | getHiliteColor () const |
void | setShadowColor (FXColor clr) |
FXColor | getShadowColor () const |
void | setBorderColor (FXColor clr) |
FXColor | getBorderColor () const |
void | setBaseColor (FXColor clr) |
FXColor | getBaseColor () const |
virtual void | save (FXStream &store) const |
virtual void | load (FXStream &store) |
It typically contains an undocked tool bar. The Toolbar shell can be resized horizontally by grabbing its sides if the widget contained in the Toolbar shell has the LAYOUT_FIX_WIDTH option. Likewise, it can be resized vertically if the LAYOUT_FIX_HEIGHT option is passed to the widget contained in the Toolbar shell. If both LAYOUT_FIX_WIDTH and LAYOUT_FIX_HEIGHT are passed to the contained widget, Toolbar shell can also be resized by grabbing the corners. Normally, the Toolbar shell tries to accomodate changes in its contained widget by shrink-wrapping around it, i.e. if the contained widget changes, the Toolbar shell will change to fit narrowly around it.
FX::FXToolBarShell::FXToolBarShell | ( | FXWindow * | owner, | |
FXuint | opts = FRAME_RAISED|FRAME_THICK , |
|||
FXint | x = 0 , |
|||
FXint | y = 0 , |
|||
FXint | w = 0 , |
|||
FXint | h = 0 , |
|||
FXint | hs = 4 , |
|||
FXint | vs = 4 | |||
) |
Construct a toolbar shell.
virtual void FX::FXToolBarShell::create | ( | ) | [virtual] |
virtual void FX::FXToolBarShell::layout | ( | ) | [virtual] |
virtual FXint FX::FXToolBarShell::getDefaultWidth | ( | ) | [virtual] |
virtual FXint FX::FXToolBarShell::getDefaultHeight | ( | ) | [virtual] |
void FX::FXToolBarShell::setFrameStyle | ( | FXuint | style | ) |
Change frame style.
FXuint FX::FXToolBarShell::getFrameStyle | ( | ) | const |
Get current frame style.
FXint FX::FXToolBarShell::getBorderWidth | ( | ) | const [inline] |
Get border width.
void FX::FXToolBarShell::setHiliteColor | ( | FXColor | clr | ) |
Change highlight color.
FXColor FX::FXToolBarShell::getHiliteColor | ( | ) | const [inline] |
Get highlight color.
void FX::FXToolBarShell::setShadowColor | ( | FXColor | clr | ) |
Change shadow color.
FXColor FX::FXToolBarShell::getShadowColor | ( | ) | const [inline] |
Get shadow color.
void FX::FXToolBarShell::setBorderColor | ( | FXColor | clr | ) |
Change border color.
FXColor FX::FXToolBarShell::getBorderColor | ( | ) | const [inline] |
Get border color.
void FX::FXToolBarShell::setBaseColor | ( | FXColor | clr | ) |
Change base gui color.
FXColor FX::FXToolBarShell::getBaseColor | ( | ) | const [inline] |
Get base gui color.
virtual void FX::FXToolBarShell::save | ( | FXStream & | store | ) | const [virtual] |
virtual void FX::FXToolBarShell::load | ( | FXStream & | store | ) | [virtual] |
![]() |