Public Member Functions | Public Attributes

ToolSeparatorItem Class Reference

Search for all occurrences

Detailed 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.

#include <custcont.h>

Inheritance diagram for ToolSeparatorItem:
Inheritance graph
[legend]

List of all members.

Public Member Functions

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

Public Attributes

int  vis

Constructor & Destructor Documentation

ToolSeparatorItem ( int  w,
int  h = 16,
BOOL  vis = TRUE,
int  or = 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 or=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 = or;
            } 

Member Data Documentation

int vis

ToolSeparatorItem ToolSeparatorItem ToolSeparatorItem ToolSeparatorItem ToolSeparatorItem ToolSeparatorItem ToolSeparatorItem ToolSeparatorItem ToolSeparatorItem ToolSeparatorItem
ToolSeparatorItem ToolSeparatorItem ToolSeparatorItem ToolSeparatorItem ToolSeparatorItem ToolSeparatorItem ToolSeparatorItem ToolSeparatorItem ToolSeparatorItem ToolSeparatorItem