SGDisplayColourGroup Class Reference

A derived SGDisplayColourGroup class for the Colour gallery groups. More...

#include <sgcolour.h>

Inheritance diagram for SGDisplayColourGroup:

SGDisplayGroup SGDisplayNode CCObject SimpleCCObject SGDisplayLibColGroup List of all members.

Public Member Functions

 SGDisplayColourGroup (SuperGallery *ParentGal, Document *ParentDoc=NULL, Library *ParentLib=NULL)
 Constructor.
virtual BOOL IsLibrary ()
virtual BOOL DisplayInColourLine ()
 To find out the current state of the showing on Colour Line flag.
virtual BOOL SetDisplayInColourLine (BOOL NewState)
 To set a new current state of the ShowOnColourLine flag.
virtual BOOL ToggleDisplayInColourLine ()
 To toggle the current state of the ShowOnColourLine flag.

Private Member Functions

 CC_DECLARE_DYNAMIC (SGDisplayColourGroup)

Detailed Description

A derived SGDisplayColourGroup class for the Colour gallery groups.

Author:
Neville_Humphrys (Xara Group Ltd) <camelotdev@xara.com>
Date:
25/3/97
See also:
SuperGallery; SGDisplayGroup; SGDisplayRoot; SGDisplayItem

Definition at line 377 of file sgcolour.h.


Constructor & Destructor Documentation

SGDisplayColourGroup::SGDisplayColourGroup SuperGallery ParentGal,
Document ParentDoc = NULL,
Library ParentLib = NULL
 

Constructor.

Author:
Neville_Humphrys (Xara Group Ltd) <camelotdev@xara.com>
Date:
25/3/97
Parameters:
ParentGal - The parent gallery of this group [INPUTS] ParentDoc - The parent document ParentLib - The parent library

Definition at line 1993 of file sgcolour.cpp.

01995                      : SGDisplayGroup(ParentGal, ParentDoc, ParentLib)
01996 {
01997 }


Member Function Documentation

SGDisplayColourGroup::CC_DECLARE_DYNAMIC SGDisplayColourGroup   )  [private]
 

BOOL SGDisplayColourGroup::DisplayInColourLine  )  [virtual]
 

To find out the current state of the showing on Colour Line flag.

Author:
Neville_Humphrys (Xara Group Ltd) <camelotdev@xara.com>
Date:
20/3/97
Returns:
The current state of the ShowOnColourLine flag.

Reimplemented in SGDisplayLibColGroup.

Definition at line 2010 of file sgcolour.cpp.

02011 {
02012     return ColourSGallery::ShowDocumentColours;
02013 }

virtual BOOL SGDisplayColourGroup::IsLibrary  )  [inline, virtual]
 

Reimplemented in SGDisplayLibColGroup.

Definition at line 386 of file sgcolour.h.

00386 { return FALSE; }

BOOL SGDisplayColourGroup::SetDisplayInColourLine BOOL  NewState  )  [virtual]
 

To set a new current state of the ShowOnColourLine flag.

Author:
Neville_Humphrys (Xara Group Ltd) <camelotdev@xara.com>
Date:
25/3/97
Parameters:
New state for the ShowOnColourLine flag. [INPUTS]
Returns:
The old state of the ShowOnColourLine flag.

Reimplemented in SGDisplayLibColGroup.

Definition at line 2027 of file sgcolour.cpp.

02028 {
02029     BOOL OldState = ColourSGallery::ShowDocumentColours;
02030     ColourSGallery::ShowDocumentColours = NewState;
02031     return OldState;
02032 }

BOOL SGDisplayColourGroup::ToggleDisplayInColourLine  )  [virtual]
 

To toggle the current state of the ShowOnColourLine flag.

Author:
Neville_Humphrys (Xara Group Ltd) <camelotdev@xara.com>
Date:
20/3/97
Returns:
The old state of the ShowOnColourLine flag.

Reimplemented in SGDisplayLibColGroup.

Definition at line 2045 of file sgcolour.cpp.

02046 {
02047     BOOL OldState = ColourSGallery::ShowDocumentColours;
02048     if (ColourSGallery::ShowDocumentColours)
02049         ColourSGallery::ShowDocumentColours = FALSE;
02050     else
02051         ColourSGallery::ShowDocumentColours = TRUE;
02052 
02053     return OldState;
02054 }


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