#include <sgcolour.h>
Inheritance diagram for SGDisplayColourGroup:
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) |
Definition at line 377 of file sgcolour.h.
|
Constructor.
Definition at line 1993 of file sgcolour.cpp. 01995 : SGDisplayGroup(ParentGal, ParentDoc, ParentLib) 01996 { 01997 }
|
|
|
|
To find out the current state of the showing on Colour Line flag.
Reimplemented in SGDisplayLibColGroup. Definition at line 2010 of file sgcolour.cpp. 02011 { 02012 return ColourSGallery::ShowDocumentColours; 02013 }
|
|
Reimplemented in SGDisplayLibColGroup. Definition at line 386 of file sgcolour.h. 00386 { return FALSE; }
|
|
To set a new current 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 }
|
|
To toggle the current 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 }
|