#include <toolbox.hxx>
Public Member Functions | |
| SmToolBoxWindow (SfxBindings *pBindings, SfxChildWindow *pChildWindow, Window *pParent) | |
| ~SmToolBoxWindow () | |
| virtual void | StateChanged (StateChangedType nStateChange) |
| virtual void | DataChanged (const DataChangedEvent &rEvt) |
| void | AdjustPosSize (BOOL bSetPos) |
| void | SetCategory (USHORT nCategory) |
Protected Member Functions | |
| virtual BOOL | Close () |
| virtual void | GetFocus () |
| void | ApplyImageLists (USHORT nCategoryRID) |
| DECL_LINK (CategoryClickHdl, ToolBox *) | |
| DECL_LINK (CmdSelectHdl, ToolBox *) | |
| SmViewShell * | GetView () |
| const ImageList * | GetImageList (USHORT nResId, BOOL bHighContrast) |
Protected Attributes | |
| ToolBox | aToolBoxCat |
| FixedLine | aToolBoxCat_Delim |
| ToolBox * | pToolBoxCmd |
| ToolBox * | vToolBoxCategories [NUM_TBX_CATEGORIES] |
| ImageList * | aImageLists [NUM_TBX_CATEGORIES+1] |
| ImageList * | aImageListsH [NUM_TBX_CATEGORIES+1] |
| USHORT | nActiveCategoryRID |
Definition at line 59 of file toolbox.hxx.
| SmToolBoxWindow::SmToolBoxWindow | ( | SfxBindings * | pBindings, | |
| SfxChildWindow * | pChildWindow, | |||
| Window * | pParent | |||
| ) |
Definition at line 162 of file toolbox.cxx.
References aImageLists, aImageListsH, ApplyImageLists(), aToolBoxCat, nActiveCategoryRID, NUM_TBX_CATEGORIES, pToolBoxCmd, SetCategory(), and vToolBoxCategories.
| SmToolBoxWindow::~SmToolBoxWindow | ( | ) |
Definition at line 199 of file toolbox.cxx.
References aImageLists, aImageListsH, NUM_TBX_CATEGORIES, and vToolBoxCategories.
| BOOL SmToolBoxWindow::Close | ( | ) | [protected, virtual] |
| void SmToolBoxWindow::GetFocus | ( | ) | [protected, virtual] |
| void SmToolBoxWindow::ApplyImageLists | ( | USHORT | nCategoryRID | ) | [protected] |
Definition at line 248 of file toolbox.cxx.
References aToolBoxCat, GetImageList(), GetImageListRID(), GetToolBoxCategoriesIndex(), and vToolBoxCategories.
Referenced by DataChanged(), SetCategory(), and SmToolBoxWindow().
| SmToolBoxWindow::DECL_LINK | ( | CategoryClickHdl | , | |
| ToolBox * | ||||
| ) | [protected] |
| SmToolBoxWindow::DECL_LINK | ( | CmdSelectHdl | , | |
| ToolBox * | ||||
| ) | [protected] |
| SmViewShell * SmToolBoxWindow::GetView | ( | ) | [protected] |
| const ImageList * SmToolBoxWindow::GetImageList | ( | USHORT | nResId, | |
| BOOL | bHighContrast | |||
| ) | [protected] |
Definition at line 222 of file toolbox.cxx.
References aImageLists, aImageListsH, GetCategoryRID(), GetToolBoxCategoriesIndex(), and NUM_TBX_CATEGORIES.
Referenced by ApplyImageLists().
| void SmToolBoxWindow::StateChanged | ( | StateChangedType | nStateChange | ) | [virtual] |
| void SmToolBoxWindow::DataChanged | ( | const DataChangedEvent & | rEvt | ) | [virtual] |
| void SmToolBoxWindow::AdjustPosSize | ( | BOOL | bSetPos | ) |
Definition at line 291 of file toolbox.cxx.
References aToolBoxCat, aToolBoxCat_Delim, SmViewShell::GetGraphicWindow(), GetView(), NUM_TBX_CATEGORIES, pToolBoxCmd, and vToolBoxCategories.
Referenced by StateChanged().
| void SmToolBoxWindow::SetCategory | ( | USHORT | nCategory | ) |
Definition at line 355 of file toolbox.cxx.
References ApplyImageLists(), aToolBoxCat, GetToolBoxCategoriesIndex(), nActiveCategoryRID, pToolBoxCmd, and vToolBoxCategories.
Referenced by SmToolBoxWindow(), and StateChanged().
ToolBox SmToolBoxWindow::aToolBoxCat [protected] |
Definition at line 63 of file toolbox.hxx.
Referenced by AdjustPosSize(), ApplyImageLists(), GetFocus(), SetCategory(), and SmToolBoxWindow().
FixedLine SmToolBoxWindow::aToolBoxCat_Delim [protected] |
ToolBox* SmToolBoxWindow::pToolBoxCmd [protected] |
Definition at line 65 of file toolbox.hxx.
Referenced by AdjustPosSize(), SetCategory(), and SmToolBoxWindow().
ToolBox* SmToolBoxWindow::vToolBoxCategories[NUM_TBX_CATEGORIES] [protected] |
Definition at line 66 of file toolbox.hxx.
Referenced by AdjustPosSize(), ApplyImageLists(), SetCategory(), SmToolBoxWindow(), and ~SmToolBoxWindow().
ImageList* SmToolBoxWindow::aImageLists[NUM_TBX_CATEGORIES+1] [protected] |
Definition at line 67 of file toolbox.hxx.
Referenced by GetImageList(), SmToolBoxWindow(), and ~SmToolBoxWindow().
ImageList* SmToolBoxWindow::aImageListsH[NUM_TBX_CATEGORIES+1] [protected] |
Definition at line 68 of file toolbox.hxx.
Referenced by GetImageList(), SmToolBoxWindow(), and ~SmToolBoxWindow().
USHORT SmToolBoxWindow::nActiveCategoryRID [protected] |
Definition at line 69 of file toolbox.hxx.
Referenced by DataChanged(), SetCategory(), and SmToolBoxWindow().
1.5.1