customgui_listview.h File Reference

Classes

struct  CellInfo
 
struct  DrawInfo
 
struct  MouseInfo
 
struct  DragInfo
 
struct  TreeViewDropDownMenuInfo
 
struct  TreeViewFloatSliderInfo
 
class  TreeViewFunctions
 
class  TreeViewCustomGui
 

Macros

#define CUSTOMGUI_TREEVIEW
 
#define TREEVIEW_BORDER
 
#define TREEVIEW_OUTSIDE_DROP
 
#define TREEVIEW_HIDE_LINES
 
#define TREEVIEW_CTRL_DRAG
 
#define TREEVIEW_NO_MULTISELECT
 
#define TREEVIEW_HAS_HEADER
 
#define TREEVIEW_RESIZE_HEADER
 
#define TREEVIEW_MOVE_COLUMN
 
#define TREEVIEW_FIXED_LAYOUT
 
#define TREEVIEW_NOAUTOCOLUMNS
 
#define TREEVIEW_NO_OPEN_CTRLCLK
 
#define TREEVIEW_ALT_DRAG
 
#define TREEVIEW_NO_BACK_DELETE
 
#define TREEVIEW_NO_DELETE
 
#define TREEVIEW_ALTERNATE_BG
 
#define TREEVIEW_CURSORKEYS
 
#define TREEVIEW_NOENTERRENAME
 
#define TREEVIEW_NO_VERTICALSCROLL
 
#define TREEVIEW_ADDROW
 
#define TREEVIEW_RESIZABLE
 
#define TREEVIEW_CUSTOM_BG_COLOR
 
#define TREEVIEW_VERTICAL_SPACE
 
#define TREEVIEW_HIDE_HIERARCHY_LINES
 
#define TREEVIEW_NO_ENTER_FORWARD
 
#define TREEVIEW_DRAGSTART_ALLOW
 
#define TREEVIEW_DRAGSTART_SELECT
 
#define LV_TREE
 
#define LV_USERTREE
 
#define LV_USER
 
#define LV_CHECKBOX
 
#define LV_CHECKBOXUSER
 
#define LV_SLIDER
 
#define LV_DROPDOWN
 
#define LV_CHECKBOX_ENABLED
 
#define LV_CHECKBOX_CHECKED
 
#define LV_CHECKBOX_TRISTATE
 
#define LV_CHECKBOX_HIDE
 
#define LV_CHECKBOX_GREYEDOUT
 
#define LV_COLUMN_WIDTH_AUTOMATIC
 
#define LV_COLUMN_WIDTH_FIT
 
#define ACCEPT_DRAG_OBJECT_FORCE_COPY
 
#define LISTVIEW_TABLE_SIZE
 
#define MOUSEINFO_BUTTON_LEFT
 
#define MOUSEINFO_BUTTON_RIGHT
 
#define MOUSEINFO_BUTTON_MIDDLE
 

Typedefs

typedef Bool(* VisitChildrenCallback) (void *root, void *obj, void *userdata, void *data1, void *data2, Bool &bCont)
 

Enumerations

enum  {
  ID_TREEVIEW_CONTEXT_DISABLE ,
  ID_TREEVIEW_CONTEXT_REMOVE ,
  ID_TREEVIEW_CONTEXT_RESET ,
  ID_TREEVIEW_FIRST_NEW_ID
}
 

Insert Object

#define INSERT_BEFORE
 
#define INSERT_AFTER
 
#define INSERT_UNDER
 
#define INSERT_REPLACE
 

Macro Definition Documentation

◆ CUSTOMGUI_TREEVIEW

#define CUSTOMGUI_TREEVIEW

Tree/List view custom GUI ID.

◆ ACCEPT_DRAG_OBJECT_FORCE_COPY

#define ACCEPT_DRAG_OBJECT_FORCE_COPY

Use this to force a copy cursor. The next TreeViewFunctions::InsertObject() call will have bCopy = true.

◆ LISTVIEW_TABLE_SIZE

#define LISTVIEW_TABLE_SIZE

Private.

Typedef Documentation

◆ VisitChildrenCallback

typedef Bool(* VisitChildrenCallback) (void *root, void *obj, void *userdata, void *data1, void *data2, Bool &bCont)

Callback for TreeViewFunctions::VisitChildren. Called for each child.

Parameters
[in]rootThe tree view root.
[in]objThe child object.
[in]userdataThe user data.
[in]data1The first data.
[in]data2The second data.
[out]bContSet to true to continue browsing, otherwise to false.
Returns
true if successful, otherwise false.