ToolSeparatorItem Class Reference
 
 
 
ToolSeparatorItem Class Reference

#include <custcont.h>

Inheritance diagram for ToolSeparatorItem:
ToolItem MaxHeapOperators

Class Description

See also:
Class ToolItem, Custom Controls.

Description:
This class provides a toolbar separator object. This is used to space out buttons in the toolbar.
Data Members:
int vis;

Visibility setting.

Public Member Functions

  ToolSeparatorItem (int w, int h=16, BOOL vis=TRUE, int ori=CTB_HORIZ|CTB_VERT|CTB_FLOAT)

Public Attributes

int  vis

Constructor & Destructor Documentation

ToolSeparatorItem ( int  w,
int  h = 16,
BOOL  vis = TRUE,
int  ori = CTB_HORIZ|CTB_VERT|CTB_FLOAT 
) [inline]
Remarks:
Constructor.
Parameters:
int w

The width of the separator.

int h=16

The height of the separator.

BOOL vis=TRUE

TRUE for visible; FALSE for not.

int ori=CTB_HORIZ|CTB_VERT|CTB_FLOAT

The allowable orientations. One or more of the following values:

CTB_HORIZ

CTB_VERT

CTB_FLOAT
                                                                                                        {
                        type = CTB_SEPARATOR;
                        id = 0;
                        helpID = 0;
                        this->w = w;
                        this->h = h;
                        h = 0;
                        this->vis = vis;
                        orient = ori;
                        } 

Member Data Documentation