List of all members.
Detailed Description
Tree view controller gadget.
Constructor & Destructor Documentation
sp::gui::GUITreeGadget::GUITreeGadget |
( |
|
) |
|
sp::gui::GUITreeGadget::~GUITreeGadget |
( |
|
) |
|
Member Function Documentation
Adds a new item to the tree list.
- Parameters:
-
| Text,: | Item text (or rather title). |
| Parent,: | Optional parent item. |
| Icon,: | Optional item icon (or rather image/ texture etc.). |
void sp::gui::GUITreeGadget::clearItems |
( |
|
) |
|
Removes and deletes all items.
void sp::gui::GUITreeGadget::draw |
( |
|
) |
|
bool sp::gui::GUITreeGadget::getExplorer |
( |
|
) |
const [inline] |
GUITreeItem* sp::gui::GUITreeGadget::getSelectedItem |
( |
|
) |
const [inline] |
- Returns:
- Pointer to the currently selected item object. If no item is selected the return value is 0 (null).
void sp::gui::GUITreeGadget::removeItem |
( |
GUITreeItem * |
Item |
) |
|
Removes the specified item object from the tree.
void sp::gui::GUITreeGadget::setExplorer |
( |
bool |
isExplorer |
) |
|
Sets the explorer mode. If a tree gadget is in the explorer mode the whole disk will be represented in the tree gadget. When a sub directory will be opened new items will be created. It is similiar to the Windows(c) explorer(c) on the left side.
bool sp::gui::GUITreeGadget::update |
( |
|
) |
|
The documentation for this class was generated from the following file:
- D:/SoftwareEntwicklung/C++/HLC/Tools/SoftPixelEngine/repository/sources/GUI/spGUITreeGadget.hpp