LayerMsg Class Reference

Messages detailing specific changes to layers. More...

#include <layermsg.h>

Inheritance diagram for LayerMsg:

Msg CCObject SimpleCCObject List of all members.

Public Types

enum  LayerReason {
  LAYER_VISIBILITY_CHANGED, ACTIVE_LAYER_CHANGED, GUIDELINES_CHANGED, UPDATE_ACTIVE_LAYER,
  REDRAW_LAYER
}

Public Member Functions

 LayerMsg (Layer *pThisOldLayer, Layer *pThisNewLayer, LayerReason ThisReason)
 LayerMsg (Layer *pThisLayer, LayerReason ThisReason)

Public Attributes

LayerpOldLayer
LayerpNewLayer
LayerReason Reason

Detailed Description

Messages detailing specific changes to layers.

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

Definition at line 116 of file layermsg.h.


Member Enumeration Documentation

enum LayerMsg::LayerReason
 

Enumerator:
LAYER_VISIBILITY_CHANGED 
ACTIVE_LAYER_CHANGED 
GUIDELINES_CHANGED 
UPDATE_ACTIVE_LAYER 
REDRAW_LAYER 

Definition at line 123 of file layermsg.h.

00124     {
00125         LAYER_VISIBILITY_CHANGED,//new (sjk) inform anyone who is interested that someone
00126                                 // has changed what layers are visible.
00127                                 // pNewLayer == pOldLayer == layer of interest
00128         ACTIVE_LAYER_CHANGED,   // The active layer has changed.
00129                                 // pOldLayer = ptr to the old active layer (can be NULL)
00130                                 // pNewLayer = ptr to new active layer (should never be NULL)
00131 
00132         GUIDELINES_CHANGED,     // The guidelines in a layer have changed in some way
00133                                 // E.g. guideline has been moved/created/deleted etc
00134                                 // pNewLayer == pOldLayer == layer of interest
00135         UPDATE_ACTIVE_LAYER,    // The active layer has been changed outside the gallery.
00136                                 // This tells the gallery to update its idea of what is selected. 
00137                                 // pNewLayer = ptr to new active layer (should never be NULL)
00138         REDRAW_LAYER            // The layer has been changed outside the gallery.
00139                                 // This tells the gallery to redraw the item on display.
00140                                 // At present, used in debug versions to show edited layers.
00141                                 // pNewLayer = ptr to new active layer (should never be NULL)
00142     };


Constructor & Destructor Documentation

LayerMsg::LayerMsg Layer pThisOldLayer,
Layer pThisNewLayer,
LayerReason  ThisReason
[inline]
 

Definition at line 148 of file layermsg.h.

00149       : pOldLayer(pThisOldLayer), pNewLayer(pThisNewLayer), Reason(ThisReason) { /* empty */ }

LayerMsg::LayerMsg Layer pThisLayer,
LayerReason  ThisReason
[inline]
 

Definition at line 151 of file layermsg.h.

00152       : pOldLayer(pThisLayer), pNewLayer(pThisLayer), Reason(ThisReason) { /* empty */ }


Member Data Documentation

Layer* LayerMsg::pNewLayer
 

Definition at line 145 of file layermsg.h.

Layer* LayerMsg::pOldLayer
 

Definition at line 144 of file layermsg.h.

LayerReason LayerMsg::Reason
 

Definition at line 146 of file layermsg.h.


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