coldlog.h File Reference

(r1785/r1282)

#include "collist.h"
#include "colourix.h"
#include "dragcol.h"

Go to the source code of this file.

Classes

struct  ColEditState
class  ColourEditDlg
class  ColEditorDragTarget
 Handles dragging of colours into the colour editor window. Multiple instances of this class are created to handle the different areas of the colour editor (which one they are working on is determined from the gadget ID for which the target is created). More...
class  ColEditorDragInfo
 Contains info that a colourdrag may find useful - used for drags from the colour editor. More...
class  OpMakeColourLocalToFrame
 Operation to create copy of a colour (and its descendants) for the current frame. More...

Defines

#define OPTOKEN_COLOUREDITDLG   _T("ColourPicker")
 A kernel colour editor dialogue. This is called if necessary by the winoil ColourPicker class to provide a colour editor. This calls back down into ColourPicker winoil to do some things, but this system allows 95% of the code to be kept in the kernel, while still allowing ColourPicker to give access to a local OS editor if a suitable one is available.
#define COLED_TIMER_ID   76
#define COLED_TIMER_FREQUENCY   100

Enumerations

enum  ColEditDragArea {
  CEDRAG_NONE, CEDRAG_DEFAULT_COMPONENT1, CEDRAG_DEFAULT_COMPONENT2, CEDRAG_DEFAULT_COMPONENT3,
  CEDRAG_DEFAULT_COMPONENT4, CEDRAG_HSVPICKER_HSWHEEL, CEDRAG_HSVPICKER_VSLIDER, CEDRAG_HSVPICKER_HSLIDER,
  CEDRAG_HSVPICKER_VSSQUARE, CEDRAG_RGBPICKER_XY, CEDRAG_RGBPICKER_Z, CEDRAG_RGBPICKER_BRIGHT,
  CEDRAG_CMYKPICKER_XY, CEDRAG_CMYKPICKER_Z, CEDRAG_CMYKPICKER_KEY, CEDRAG_TINTORSHADE
}
enum  CrossConstraint { CROSSCONSTRAINED_NONE, CROSSCONSTRAINED_HORZ, CROSSCONSTRAINED_VERT, CROSSCONSTRAINED_BOTH }
enum  AbortColourState { SAVE_ABORTCOLOUR, SAVED_ABORTCOLOUR }


Define Documentation

#define COLED_TIMER_FREQUENCY   100
 

Definition at line 212 of file coldlog.h.

#define COLED_TIMER_ID   76
 

Definition at line 211 of file coldlog.h.

#define OPTOKEN_COLOUREDITDLG   _T("ColourPicker")
 

A kernel colour editor dialogue. This is called if necessary by the winoil ColourPicker class to provide a colour editor. This calls back down into ColourPicker winoil to do some things, but this system allows 95% of the code to be kept in the kernel, while still allowing ColourPicker to give access to a local OS editor if a suitable one is available.

Author:
Jason_Williams (Xara Group Ltd) <camelotdev@xara.com>
Date:
13/6/94
See also:
ColourPicker

Definition at line 209 of file coldlog.h.


Enumeration Type Documentation

enum AbortColourState
 

Enumerator:
SAVE_ABORTCOLOUR 
SAVED_ABORTCOLOUR 

Definition at line 186 of file coldlog.h.

enum ColEditDragArea
 

Comment: This enumerated type describes where the last drag in the colour editor originated. This may be any of the colour patches, or in the colour picker display - these gadgets may be further subdivided (e.g. the HSV picker subdivides into the H/S colour wheel and the Value slider)

Enumerator:
CEDRAG_NONE 
CEDRAG_DEFAULT_COMPONENT1 
CEDRAG_DEFAULT_COMPONENT2 
CEDRAG_DEFAULT_COMPONENT3 
CEDRAG_DEFAULT_COMPONENT4 
CEDRAG_HSVPICKER_HSWHEEL 
CEDRAG_HSVPICKER_VSLIDER 
CEDRAG_HSVPICKER_HSLIDER 
CEDRAG_HSVPICKER_VSSQUARE 
CEDRAG_RGBPICKER_XY 
CEDRAG_RGBPICKER_Z 
CEDRAG_RGBPICKER_BRIGHT 
CEDRAG_CMYKPICKER_XY 
CEDRAG_CMYKPICKER_Z 
CEDRAG_CMYKPICKER_KEY 
CEDRAG_TINTORSHADE 

Definition at line 135 of file coldlog.h.

00136 {
00137     CEDRAG_NONE,                        // Not dragging
00138 
00139     CEDRAG_DEFAULT_COMPONENT1,          // Dragging a default-picker component slider
00140     CEDRAG_DEFAULT_COMPONENT2,
00141     CEDRAG_DEFAULT_COMPONENT3,
00142     CEDRAG_DEFAULT_COMPONENT4,
00143 
00144     CEDRAG_HSVPICKER_HSWHEEL,           // Dragging the circular HSV picker wheel/slider
00145     CEDRAG_HSVPICKER_VSLIDER,
00146 
00147     CEDRAG_HSVPICKER_HSLIDER,           // Dragging the square HSV picker square/slider
00148     CEDRAG_HSVPICKER_VSSQUARE,
00149 
00150     CEDRAG_RGBPICKER_XY,                // Dragging the RGB picker XY cube face or Z cube side
00151     CEDRAG_RGBPICKER_Z,
00152     CEDRAG_RGBPICKER_BRIGHT,            //    (Brightness slider, if implemented)
00153 
00154     CEDRAG_CMYKPICKER_XY,               // Dragging the CMYK picker XY cube face or Z cube side
00155     CEDRAG_CMYKPICKER_Z,
00156     CEDRAG_CMYKPICKER_KEY,              //    Key slider
00157 
00158     CEDRAG_TINTORSHADE                  // Dragging tint or shade value
00159 } ColEditDragArea;

enum CrossConstraint
 

Enumerator:
CROSSCONSTRAINED_NONE 
CROSSCONSTRAINED_HORZ 
CROSSCONSTRAINED_VERT 
CROSSCONSTRAINED_BOTH 

Definition at line 175 of file coldlog.h.


Generated on Sat Nov 10 03:49:06 2007 for Camelot by  doxygen 1.4.4