BlobStyle Class Reference

Class for holding which blobs are required and which are not. Objects of this class are passed into the Blob Manager to tell it which of the blobs a tool wants to display and should be used something like this :- MonoOn BlobStyle ThisToolsBlobs; ThisToolsBlobs.Object = TRUE; // Display Object blobs in this tool ThisToolsBlobs.Fill = TRUE; // Display Fill blobs in this tool BlobManager->ToolInterest(ThisToolsBlobs); MonoOff. More...

#include <blobs.h>

List of all members.

Public Member Functions

 BlobStyle ()
 Default constructor for the blob style which sets all the types of blob to FALSE.
 BlobStyle (BOOL BObject, BOOL BArtistic=FALSE, BOOL BFill=FALSE, BOOL BTiny=FALSE, BOOL BPen=FALSE, BOOL BToolObject=FALSE, BOOL BEffect=FALSE)
 ~BlobStyle ()
void SetAll ()
 Sets all the blobs type flags to TRUE.
void SetNone ()
 Sets all the blobs styles to false.

Public Attributes

UINT32 Fill: 1
UINT32 Object: 1
UINT32 Artistic: 1
UINT32 Tiny: 1
UINT32 Pen: 1
UINT32 ToolObject: 1
UINT32 Effect: 1


Detailed Description

Class for holding which blobs are required and which are not. Objects of this class are passed into the Blob Manager to tell it which of the blobs a tool wants to display and should be used something like this :- MonoOn BlobStyle ThisToolsBlobs; ThisToolsBlobs.Object = TRUE; // Display Object blobs in this tool ThisToolsBlobs.Fill = TRUE; // Display Fill blobs in this tool BlobManager->ToolInterest(ThisToolsBlobs); MonoOff.

Author:
Rik_Heywood (Xara Group Ltd) <camelotdev@xara.com>
Date:
23/6/94
See also:
BlobManager

Definition at line 134 of file blobs.h.


Constructor & Destructor Documentation

BlobStyle::BlobStyle  ) 
 

Default constructor for the blob style which sets all the types of blob to FALSE.

Author:
Rik_Heywood (Xara Group Ltd) <camelotdev@xara.com>
Date:
23/6/94

Definition at line 140 of file blobs.cpp.

00141 {
00142     // Set all the blobs to false
00143     Object = Artistic = Fill = Tiny = Pen = ToolObject = Effect = FALSE;
00144 }

BlobStyle::BlobStyle BOOL  BObject,
BOOL  BArtistic = FALSE,
BOOL  BFill = FALSE,
BOOL  BTiny = FALSE,
BOOL  BPen = FALSE,
BOOL  BToolObject = FALSE,
BOOL  BEffect = FALSE
 

Definition at line 167 of file blobs.cpp.

00169 {
00170     // Set the blobs that are required
00171     Object = BObject;
00172     Artistic = BArtistic;
00173     Fill = BFill;
00174     Tiny = BTiny;
00175     Pen = BPen;
00176     ToolObject = BToolObject;
00177     Effect = BEffect;
00178 }

BlobStyle::~BlobStyle  )  [inline]
 

Definition at line 141 of file blobs.h.

00141 {}


Member Function Documentation

void BlobStyle::SetAll  )  [inline]
 

Sets all the blobs type flags to TRUE.

Author:
Rik_Heywood (Xara Group Ltd) <camelotdev@xara.com>
Date:
23/6/94

Definition at line 153 of file blobs.h.

00153 { Object = Artistic = Fill = Tiny = Pen = ToolObject = Effect = TRUE; }

void BlobStyle::SetNone  )  [inline]
 

Sets all the blobs styles to false.

Author:
Rik_Heywood (Xara Group Ltd) <camelotdev@xara.com>
Date:
23/6/94

Definition at line 165 of file blobs.h.

00165 { Object = Artistic = Fill = Tiny = Pen = ToolObject = Effect = FALSE; }


Member Data Documentation

UINT32 BlobStyle::Artistic
 

Definition at line 170 of file blobs.h.

UINT32 BlobStyle::Effect
 

Definition at line 174 of file blobs.h.

UINT32 BlobStyle::Fill
 

Definition at line 168 of file blobs.h.

UINT32 BlobStyle::Object
 

Definition at line 169 of file blobs.h.

UINT32 BlobStyle::Pen
 

Definition at line 172 of file blobs.h.

UINT32 BlobStyle::Tiny
 

Definition at line 171 of file blobs.h.

UINT32 BlobStyle::ToolObject
 

Definition at line 173 of file blobs.h.


The documentation for this class was generated from the following files:
Generated on Sat Nov 10 03:51:31 2007 for Camelot by  doxygen 1.4.4