OpState Class Reference

#include <opdesc.h>

List of all members.

Public Member Functions

 OpState (BOOL tick=FALSE, BOOL grey=FALSE, BOOL Remove=FALSE)
 This is meant to supply default values to the OpState flags so that they don't have random values when they are created. By default they are both set to FALSE so if you want something different you will have to change them.

Public Attributes

BOOL Ticked: 1
BOOL Greyed: 1
BOOL RemoveFromMenu: 1


Detailed Description

Purpose: The Opstate class contains flags describing the state of an operation at any particular time. This state will be used by the Menu system to tick and grey menus (and do corresponding things to buttons where necessary). SeeAlso: OpDescriptor; Operation

Definition at line 286 of file opdesc.h.


Constructor & Destructor Documentation

OpState::OpState BOOL  tick = FALSE,
BOOL  grey = FALSE,
BOOL  Remove = FALSE
 

This is meant to supply default values to the OpState flags so that they don't have random values when they are created. By default they are both set to FALSE so if you want something different you will have to change them.

Author:
Rik_Heywood (Xara Group Ltd) <camelotdev@xara.com>
Date:
15/7/93
Parameters:
tick - TRUE if the item is ticked [INPUTS] grey - TRUE if the item is greyed

Definition at line 162 of file opdesc.cpp.

00163 {
00164     Ticked = tick;
00165     Greyed = grey;
00166     RemoveFromMenu = Remove;
00167 }


Member Data Documentation

BOOL OpState::Greyed
 

Definition at line 291 of file opdesc.h.

BOOL OpState::RemoveFromMenu
 

Definition at line 292 of file opdesc.h.

BOOL OpState::Ticked
 

Definition at line 290 of file opdesc.h.


The documentation for this class was generated from the following files:
Generated on Sat Nov 10 03:59:01 2007 for Camelot by  doxygen 1.4.4