SpreadMsg Class Reference

This is sent when a spread event is happening that may be of interest to all you message handlers out there. More...

#include <sprdmsg.h>

Inheritance diagram for SpreadMsg:

Msg CCObject SimpleCCObject List of all members.

Public Types

enum  SpreadReason { SELCHANGED, LAYERCHANGES, ANIMATIONPROPERTIESCHANGED }

Public Member Functions

 SpreadMsg (Spread *pThisOldSpread, Spread *pThisNewSpread, SpreadReason ThisReason)
 SpreadMsg (Spread *pThisSpread, SpreadReason ThisReason)

Public Attributes

SpreadpOldSpread
SpreadpNewSpread
SpreadReason Reason

Detailed Description

This is sent when a spread event is happening that may be of interest to all you message handlers out there.

Author:
Mark_Neves (Xara Group Ltd) <camelotdev@xara.com>
Date:
2/8/94
At the moment, the only reason defined is the SELCHANGED reason. This is sent when the selected spread has changed, either by the user selecting an object in a spread, or by clicking on a spread's background causing the selection to disappear in another spread

Definition at line 123 of file sprdmsg.h.


Member Enumeration Documentation

enum SpreadMsg::SpreadReason
 

Enumerator:
SELCHANGED 
LAYERCHANGES 
ANIMATIONPROPERTIESCHANGED 

Definition at line 130 of file sprdmsg.h.

00131     {
00132         SELCHANGED,             // Sent when the selected spread changes
00133                                 // pOldSpread = ptr to the old selected spread
00134                                 // pNewSpread = ptr to the new selected spread
00135                                 // The new selected spread could belong to a document that
00136                                 // is different to the one belonging to the old selected spread
00137                                 // pOldSpread and/or pNewSpread can be NULL
00138 
00139         LAYERCHANGES,           // The layers of a spread have changed.
00140                                 // pOldSpread = pNewSpread = spread whose layers have changed
00141 
00142         ANIMATIONPROPERTIESCHANGED  // The animation properties of a spread have changed.
00143                                     // pOldSpread = pNewSpread = spread whose layers have changed
00144     };


Constructor & Destructor Documentation

SpreadMsg::SpreadMsg Spread pThisOldSpread,
Spread pThisNewSpread,
SpreadReason  ThisReason
[inline]
 

Definition at line 150 of file sprdmsg.h.

00151       : pOldSpread(pThisOldSpread), pNewSpread(pThisNewSpread), Reason(ThisReason) { /* empty */ }

SpreadMsg::SpreadMsg Spread pThisSpread,
SpreadReason  ThisReason
[inline]
 

Definition at line 153 of file sprdmsg.h.

00154       : pOldSpread(pThisSpread), pNewSpread(pThisSpread), Reason(ThisReason) { /* empty */ }


Member Data Documentation

Spread* SpreadMsg::pNewSpread
 

Definition at line 147 of file sprdmsg.h.

Spread* SpreadMsg::pOldSpread
 

Definition at line 146 of file sprdmsg.h.

SpreadReason SpreadMsg::Reason
 

Definition at line 148 of file sprdmsg.h.


The documentation for this class was generated from the following file:
Generated on Sat Nov 10 04:01:22 2007 for Camelot by  doxygen 1.4.4