bars.h File Reference

(r1785/r1386)

#include "dialogop.h"
#include "dockbar.h"

Go to the source code of this file.

Classes

class  SimpleBarControl
 Contains all info about the control, plus a ptr to a message handler to pump all the messages to. More...
class  BarItem
 A virtual class used for deriving all types of bar item. More...
class  BarControlBase
 Base class from which all bar control classes are derived. More...
class  BarControl
 This defines a control and its associated OpDescriptor within a bar. It holds separate horz and vert versions of the control in case the appearence and/or functionality changes with the orientation of the bar. More...
class  BarToolButton
class  DDeckerTop
 Defines the start of the top row of double decker bar controls. More...
class  DDeckerBottom
 Defines the start of the bottom row of double decker bar controls. More...
class  DDeckerEnd
 Defines the end of a row of double decker bar controls. More...
class  BarNewPage
 Defines a gap between the item before this one and the one that follows. Can be viewed as a 'space' char when look at as a formatting item. More...
class  BarSeparator
 Defines a gap between the item before this one and the one that follows. Can be viewed as a 'space' char when look at as a formatting item. More...
class  BarLineFeed
 Defines a new line after the item before this one. Can be viewed as a 'LF/CR' char pair when look at as a formatting item. More...
class  DialogBarOp
class  SystemBarOp
class  InformationBarOp
 The kernel version of info bar. More...
class  BarCreate
 Abstract class for creating DialogBarOps and derived classes. Derived classes of BarCreate are used by DialogBarOp::ReadBarsFromFile. More...
class  DialogBarOpCreate
 Class for creating DialogBarOps. Derived classes of BarCreate are used by DialogBarOp::ReadBarsFromFile. More...

Defines

#define DEFAULT_TOOL_INFOBAR_SLOT   2
#define SAFECLASS(TheClass)   (TheClass?TheClass:CC_RUNTIME_CLASS(DialogBarOp))
#define OPTOKEN_DLGBAROP   _T("DialogBarOp")
 The kernel version of camelot bar. Allows bar items to be added, removed, moved etc within the bar, and is also the place to store any information about the bar that will need to live longer that the lifetime of the program.
#define OPTOKEN_SYSTEMBAROP   _T("SystemBarOp")
 This function is called whenever the state of the system has changed in a way that indicates the bar state needs refreshing. Currently this function is called in the Operation End method and when the selection changes.To determine if we need to update the state of the visible bars. A special version of DialogBarOp that is used internally to store all the BarItems in a form where they can be used by the Customize dialog. They are never seen by the user, never loaded and never saved.

Enumerations

enum  BitmapType { Active, Inactive }
 This defines a tool button used within a ToolBarOp. It is different from a BarControl in that it has no associated OpDescriptor and is not specified in a resource. More...
enum  TokenIndex {
  TOKEN_NONE = -1, TOKEN_BAR, TOKEN_BAR_END, TOKEN_BAR_CONTROL,
  TOKEN_BAR_CONTROL_HORZ, TOKEN_BAR_CONTROL_VERT, TOKEN_BAR_CONTROL_BOTH, TOKEN_BAR_SEPARATOR,
  TOKEN_BAR_LINEFEED, TOKEN_DOCKBAR_LEFT, TOKEN_DOCKBAR_RIGHT, TOKEN_DOCKBAR_TOP,
  TOKEN_DOCKBAR_BOTTOM, TOKEN_DOCKBAR_FLOAT, TOKEN_DOCKING_BAR, TOKEN_BIG,
  TOKEN_SMALL, TOKEN_GALLERY, TOKEN_GALLERY_END, TOKEN_DDECKER_TOP,
  TOKEN_DDECKER_BOTTOM, TOKEN_DDECKER_END, TOKEN_VISIBLE, TOKEN_INVISIBLE,
  TOKEN_STATUS_BAR, TOKEN_COLOUR_BAR, TOKEN_SCROLL_BARS, TOKEN_FULLSCREEN,
  TOKEN_ON, TOKEN_OFF, TOKEN_INFO_BAR, TOKEN_BAR_NEWPAGE,
  NUM_TOKENS
}
enum  Orientation { Horizontal, Vertical }


Define Documentation

#define DEFAULT_TOOL_INFOBAR_SLOT   2
 

Definition at line 121 of file bars.h.

#define OPTOKEN_DLGBAROP   _T("DialogBarOp")
 

The kernel version of camelot bar. Allows bar items to be added, removed, moved etc within the bar, and is also the place to store any information about the bar that will need to live longer that the lifetime of the program.

Author:
Mark_Neves (Xara Group Ltd) <camelotdev@xara.com>
Date:
5/4/94

Definition at line 579 of file bars.h.

#define OPTOKEN_SYSTEMBAROP   _T("SystemBarOp")
 

This function is called whenever the state of the system has changed in a way that indicates the bar state needs refreshing. Currently this function is called in the Operation End method and when the selection changes.To determine if we need to update the state of the visible bars. A special version of DialogBarOp that is used internally to store all the BarItems in a form where they can be used by the Customize dialog. They are never seen by the user, never loaded and never saved.

Author:
Phil_Martin (Xara Group Ltd) <camelotdev@xara.com>
Date:
15/04/94

Definition at line 800 of file bars.h.

#define SAFECLASS TheClass   )     (TheClass?TheClass:CC_RUNTIME_CLASS(DialogBarOp))
 

Definition at line 524 of file bars.h.


Enumeration Type Documentation

enum BitmapType
 

This defines a tool button used within a ToolBarOp. It is different from a BarControl in that it has no associated OpDescriptor and is not specified in a resource.

Author:
Mark_Neves (Xara Group Ltd) <camelotdev@xara.com>
Date:
5/5/94
Enumerator:
Active 
Inactive 

Definition at line 329 of file bars.h.

00329 { Active, Inactive }; 

enum Orientation
 

Enumerator:
Horizontal 
Vertical 

Definition at line 580 of file bars.h.

00580 { Horizontal, Vertical }; 

enum TokenIndex
 

Enumerator:
TOKEN_NONE 
TOKEN_BAR 
TOKEN_BAR_END 
TOKEN_BAR_CONTROL 
TOKEN_BAR_CONTROL_HORZ 
TOKEN_BAR_CONTROL_VERT 
TOKEN_BAR_CONTROL_BOTH 
TOKEN_BAR_SEPARATOR 
TOKEN_BAR_LINEFEED 
TOKEN_DOCKBAR_LEFT 
TOKEN_DOCKBAR_RIGHT 
TOKEN_DOCKBAR_TOP 
TOKEN_DOCKBAR_BOTTOM 
TOKEN_DOCKBAR_FLOAT 
TOKEN_DOCKING_BAR 
TOKEN_BIG 
TOKEN_SMALL 
TOKEN_GALLERY 
TOKEN_GALLERY_END 
TOKEN_DDECKER_TOP 
TOKEN_DDECKER_BOTTOM 
TOKEN_DDECKER_END 
TOKEN_VISIBLE 
TOKEN_INVISIBLE 
TOKEN_STATUS_BAR 
TOKEN_COLOUR_BAR 
TOKEN_SCROLL_BARS 
TOKEN_FULLSCREEN 
TOKEN_ON 
TOKEN_OFF 
TOKEN_INFO_BAR 
TOKEN_BAR_NEWPAGE 
NUM_TOKENS 

Definition at line 528 of file bars.h.


Generated on Sat Nov 10 03:49:04 2007 for Camelot by  doxygen 1.4.4