CrystalSpace

Public API Reference

Main Page | Modules | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

cstree.h File Reference

Crystal Space Windowing System: tree box class. More...

#include "csextern.h"
#include "cscomp.h"
#include "csscrbar.h"

Go to the source code of this file.

Classes

class  csTreeItem
 This class encapsulates a tree item. More...
class  csTreeBox
 The csTreeBox class is a rectangle which contains a number of subrectangles, each of which is recursively similar to its parent. More...

Tree item state flags

#define CSS_TREEITEM_OPEN   0x00010000
 Additional state flag to mark open branches.
#define CSS_TREEITEM_PLACEITEMS   0x00020000
 Child tree items should be re-positioned.

Tree control styles

These are bit masks which can be ORed together to form a final value sent to the csTreeBox constructor.

#define CSTS_HSCROLL   0x00000001
 Tree has a horizontal scroll bar.
#define CSTS_VSCROLL   0x00000002
 Tree has a vertical scroll bar.
#define CSTS_AUTOSCROLLBAR   0x00000004
 Automatically hide scrollbars if they are not needed.
#define CSTS_SMALLBUTTONS   0x00000008
 Tree items have small expand/collapse buttons.
#define CSTS_DEFAULTVALUE   CSTS_VSCROLL | CSTS_AUTOSCROLLBAR
 default tree control style

Tree box state flags

#define CSS_TREEBOX_PLACEITEMS   0x00010000
 Child tree items should be re-positioned.
#define CSS_TREEBOX_LOCKVISIBLE   0x00020000
 Child tree items should be re-positioned.

Defines

#define CS_TREEITEM_MAGIC   (void *)0xdeadface
 The magic answer that means that the component is indeed a tree item.

Enumerations

enum  {
  cscmdTreeItemCheck = 0x00000e00, cscmdTreeItemToggle, cscmdTreeItemToggleAll, cscmdTreeItemToggleNotify,
  cscmdTreeItemSizeChangeNotify, cscmdTreeItemFocused, cscmdTreeItemGetPrev, cscmdTreeItemGetNext,
  cscmdTreeItemGetFirst, cscmdTreeItemGetLast, cscmdTreeItemDeleteNotify, cscmdTreeItemRightClick,
  cscmdTreeQuerySelected, cscmdTreeSelectItem, cscmdTreeSetHorizOffset, cscmdTreeStartTracking,
  cscmdTreeTrack, cscmdTreeMakeVisible, cscmdTreeMakeBranchVisible, cscmdTreeClear
}
 Tree control - specific messages. More...
enum  csTreeItemStyle { cstisNormal, cstisEmphasized }
 Tree items are divided into several subtypes which will be shown in different colors. More...
enum  csTreeFrameStyle { cstfsNone, cstfsThinRect, cstfsThickRect }
 Tree control frame styles. More...


Detailed Description

Crystal Space Windowing System: tree box class.

Definition in file cstree.h.


Generated for Crystal Space by doxygen 1.3.9.1