ColourChangingMsg Class Reference

This message is sent whenever certain events of importance happen in the colour system. Most of these events relate to IndexedColour lists, or individual IndexedColours. See Develop:Camelot.doc for details. More...

#include <colmsg.h>

Inheritance diagram for ColourChangingMsg:

Msg CCObject SimpleCCObject List of all members.

Public Types

enum  ColourState {
  LISTPAGED, LISTUPDATED, COLOURUPDATED, COLOURUPDATEDINVISIBLE,
  LISTDESELECTED, LISTDELETED, NEWLISTBORN, SELVIEWCONTEXTCHANGE
}

Public Member Functions

 ColourChangingMsg (Document *pScopeDocument, ColourList *pChangedList, IndexedColour *pChangedColour, ColourState NewState)

Public Attributes

DocumentScopeDoc
ColourListNewColourList
IndexedColourChangedColour
ColourState State

Detailed Description

This message is sent whenever certain events of importance happen in the colour system. Most of these events relate to IndexedColour lists, or individual IndexedColours. See Develop:Camelot.doc for details.

Author:
Jason_Williams (Xara Group Ltd) <camelotdev@xara.com>
Date:
11/5/94
See also:
ColourManager

Definition at line 127 of file colmsg.h.


Member Enumeration Documentation

enum ColourChangingMsg::ColourState
 

Enumerator:
LISTPAGED 
LISTUPDATED 
COLOURUPDATED 
COLOURUPDATEDINVISIBLE 
LISTDESELECTED 
LISTDELETED 
NEWLISTBORN 
SELVIEWCONTEXTCHANGE 

Definition at line 133 of file colmsg.h.

00134     {
00135         LISTPAGED,                      // Sent when a different list is paged in
00136         LISTUPDATED,                    // Sent when the existing list is edited
00137         COLOURUPDATED,                  // Sent when a colour has changed (visibly - see below)
00138         COLOURUPDATEDINVISIBLE,         // Sent when a colour has changed (invisibly - see below)
00139         LISTDESELECTED,                 // Sent when there is now no selected list
00140         LISTDELETED,                    // Sent when a list has been deleted
00141 
00142         NEWLISTBORN,                    // Sent when a new list is created, so that
00143                                         // others can add sort modes to it.
00144 
00145         SELVIEWCONTEXTCHANGE            // Sent when the colour context attached to the
00146                                         // selected view changes (so the col editor, gallery,
00147                                         // line can redraw using new colour correction info)
00148     };


Constructor & Destructor Documentation

ColourChangingMsg::ColourChangingMsg Document pScopeDocument,
ColourList pChangedList,
IndexedColour pChangedColour,
ColourState  NewState
[inline]
 

Definition at line 156 of file colmsg.h.

00158         : ScopeDoc(pScopeDocument), NewColourList(pChangedList), ChangedColour(pChangedColour), State(NewState)
00159             { /* empty */ }


Member Data Documentation

IndexedColour* ColourChangingMsg::ChangedColour
 

Definition at line 152 of file colmsg.h.

ColourList* ColourChangingMsg::NewColourList
 

Definition at line 151 of file colmsg.h.

Document* ColourChangingMsg::ScopeDoc
 

Definition at line 150 of file colmsg.h.

ColourState ColourChangingMsg::State
 

Definition at line 153 of file colmsg.h.


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