OptionsChangingMsg Class Reference

This message is sent when a user has changed the options on a document or a global application based option. At present the messages include:-. More...

#include <optsmsgs.h>

Inheritance diagram for OptionsChangingMsg:

Msg CCObject SimpleCCObject List of all members.

Public Types

enum  OptionsState {
  NEWUNITS, NEWCOLOURBARMODE, ASKBEFORESETTINGATTR, IMPORTWITHLAYERS,
  AUTOMATICTRANSPARENCY, NEWDEFAULTGRID, NEWPAGESIZE, PAGESIZEHASCHANGED,
  SEPARATIONSENABLED
}

Public Member Functions

 OptionsChangingMsg (Document *pScopeDocument, OptionsState NewState)
 OptionsChangingMsg (OptionsState NewState)

Public Attributes

DocumentpScopeDoc
OptionsState State

Detailed Description

This message is sent when a user has changed the options on a document or a global application based option. At present the messages include:-.

Author:
Neville_Humphrys (Xara Group Ltd) <camelotdev@xara.com>
Date:
3/1/1995
NEWUNITS messages are broadcast when the user has specified new display, page or font units are to be used.

An OptionsChangingMsg contains a pointer to the appropriate Document object (pScopeDoc), and a state indicating the option that is being changed. Both members are public.

See also:
OptionsTabs; UnitsTab; AppPrefsDlg; DocPrefsDlg;

Definition at line 135 of file optsmsgs.h.


Member Enumeration Documentation

enum OptionsChangingMsg::OptionsState
 

Enumerator:
NEWUNITS 
NEWCOLOURBARMODE 
ASKBEFORESETTINGATTR 
IMPORTWITHLAYERS 
AUTOMATICTRANSPARENCY 
NEWDEFAULTGRID 
NEWPAGESIZE 
PAGESIZEHASCHANGED 
SEPARATIONSENABLED 

Definition at line 141 of file optsmsgs.h.

00142     {
00143         NEWUNITS,                   // Sent when a new set of default units has been specified
00144                                     // This will include page, display and font default units.
00145         NEWCOLOURBARMODE,           // Sent when a new colour bar display mode has been set
00146 
00147         ASKBEFORESETTINGATTR,       // Sent when the ask before setting attribute mode has been
00148                                     // changed.
00149 
00150         IMPORTWITHLAYERS,           // Sent when the import with layers mode has been changed
00151         
00152         AUTOMATICTRANSPARENCY,      // Sent when the automatic transparency mode has been changed
00153 
00154         NEWDEFAULTGRID,             // Sent when there has been a change in the default grid
00155 
00156         NEWPAGESIZE,                // Sent when there has been a change in the page size (undo/redo)
00157                                     // This is sent by the redo/undo actions and forces an update of
00158                                     // the page tab.
00159         PAGESIZEHASCHANGED,         // Sent when there has been a change in the page size (do)
00160                                     // This is sent by the page tab itself when the do happens and
00161                                     // does not force an update of the page tab.
00162 
00163         SEPARATIONSENABLED          // Sent when colour seps are enabled/disabled, so that the
00164                                     // related imagesetting tabs can update themselves
00165     };


Constructor & Destructor Documentation

OptionsChangingMsg::OptionsChangingMsg Document pScopeDocument,
OptionsState  NewState
[inline]
 

Definition at line 170 of file optsmsgs.h.

00171       : pScopeDoc(pScopeDocument), State(NewState)
00172         { /* empty */ }

OptionsChangingMsg::OptionsChangingMsg OptionsState  NewState  )  [inline]
 

Definition at line 174 of file optsmsgs.h.

00175       : pScopeDoc(NULL), State(NewState)
00176         { /* empty */ }


Member Data Documentation

Document* OptionsChangingMsg::pScopeDoc
 

Definition at line 167 of file optsmsgs.h.

OptionsState OptionsChangingMsg::State
 

Definition at line 168 of file optsmsgs.h.


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