SelChangingMsg Class Reference

This message is sent at the end of all operations which have changed the selection. More...

#include <selmsg.h>

Inheritance diagram for SelChangingMsg:

Msg CCObject SimpleCCObject List of all members.

Public Types

enum  SelectionState {
  SELECTIONCHANGED, COLOURATTCHANGED, NONCOLOURATTCHANGED, NODECHANGED,
  EFFECTSTACKCHANGED
}

Public Member Functions

 SelChangingMsg (SelectionState NewState, BOOL DiffDoc=FALSE)

Public Attributes

SelectionState State
BOOL InDifferentDocument

Detailed Description

This message is sent at the end of all operations which have changed the selection.

Author:
Jason_Williams (Xara Group Ltd) <camelotdev@xara.com>
Date:
11/5/94
It is generated by Application::UpdateSelection() and SelRange::Update() when they are called, which includes such things as a document change altering the selection.

See also:
SelRange; Application

Definition at line 123 of file selmsg.h.


Member Enumeration Documentation

enum SelChangingMsg::SelectionState
 

Enumerator:
SELECTIONCHANGED 
COLOURATTCHANGED 
NONCOLOURATTCHANGED 
NODECHANGED 
EFFECTSTACKCHANGED 

Definition at line 135 of file selmsg.h.

00136     {
00137         SELECTIONCHANGED,               // The selection has changed (ie. nodes have been added/removed
00138                                         //  from the Selection).
00139         COLOURATTCHANGED,               // An attribute in the selection to do with colours in some way has changed
00140         NONCOLOURATTCHANGED,            // An attribute in the selection not to do with colours has changed
00141         NODECHANGED,                    // At least one of the nodes in the selection has changed
00142                                         // NOTE! This means that its bounds may have changed
00143         EFFECTSTACKCHANGED              // An effect/effects applied to the selection has changed
00144         // Cor! Lots of ways the selection can change, huh?!
00145     };


Constructor & Destructor Documentation

SelChangingMsg::SelChangingMsg SelectionState  NewState,
BOOL  DiffDoc = FALSE
[inline]
 

Definition at line 154 of file selmsg.h.

00155             : State(NewState), InDifferentDocument(DiffDoc)
00156             { /* empty */ }


Member Data Documentation

BOOL SelChangingMsg::InDifferentDocument
 

Definition at line 149 of file selmsg.h.

SelectionState SelChangingMsg::State
 

Definition at line 148 of file selmsg.h.


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