vstgui.h File Reference

#include "vstguidebug.h"
#include "vstcontrols.h"

Classes

class  VSTGUIEditorInterface
struct  CRect
 Rect structure. More...
struct  CPoint
 Point structure. More...
struct  CColor
 Color structure. More...
class  CBaseObject
 Base Object with reference counter. More...
class  CFontDesc
 font class More...
class  CDrawContext
 A drawing context encapsulates the drawing context of the underlying OS. More...
class  COffscreenContext
 A drawing device which uses a pixmap as its drawing surface. More...
class  CResourceDescription
 Describes a resource by name or by ID. More...
class  CBitmap
 Encapsulates various platform depended kinds of bitmaps. More...
class  CView
 Base Class of all view objects. More...
class  CViewContainer
 Container Class of CView objects. More...
class  CFrame
 The CFrame is the parent container of all views. More...
class  IMouseObserver
 generic mouse observer interface More...
class  CDragContainer
 drag container More...

Defines

#define BEGIN_NAMESPACE_VSTGUI   namespace VSTGUI {
#define END_NAMESPACE_VSTGUI   }
#define USING_NAMESPACE_VSTGUI   using namespace VSTGUI;
#define VSTGUI_VERSION_MAJOR   3
#define VSTGUI_VERSION_MINOR   6
#define VSTGUI_DEPRECATED(x)   DEPRECATED_ATTRIBUTE x
#define CLASS_METHODS(name, parent)
#define CLASS_METHODS_VIRTUAL(name, parent)

Typedefs

typedef long CCoord
typedef unsigned int CViewAttributeID
typedef CFontDescCFontRef

Enumerations

enum  CTxtFace { kNormalFace = 0, kBoldFace = 1, kItalicFace = 2, kUnderlineFace = 4 }
enum  CLineStyle { kLineSolid = 0, kLineOnOffDash }
enum  CDrawMode { kCopyMode = 0, kOrMode, kXorMode, kAntialias }
enum  CHoriTxtAlign { kLeftText = 0, kCenterText, kRightText }
enum  CButton {
  kLButton = 1 << 1, kMButton = 1 << 2, kRButton = 1 << 3, kShift = 1 << 4,
  kControl = 1 << 5, kAlt = 1 << 6, kApple = 1 << 7, kButton4 = 1 << 8,
  kButton5 = 1 << 9, kDoubleClick = 1 << 10
}
enum  CCursorType {
  kCursorDefault = 0, kCursorWait, kCursorHSize, kCursorVSize,
  kCursorSizeAll, kCursorNESWSize, kCursorNWSESize, kCursorCopy,
  kCursorNotAllowed, kCursorHand
}
enum  CKnobMode { kCircularMode = 0, kRelativCircularMode, kLinearMode }
enum  CDrawStyle { kDrawStroked = 0, kDrawFilled, kDrawFilledAndStroked }
enum  CMouseWheelAxis { kMouseWheelAxisX = 0, kMouseWheelAxisY }
enum  CMouseEventResult { kMouseEventNotImplemented = 0, kMouseEventHandled, kMouseEventNotHandled, kMouseDownEventHandledButDontNeedMovedOrUpEvents }
enum  CMessageResult { kMessageUnknown = 0, kMessageNotified = 1 }
enum  CViewAutosizing {
  kAutosizeNone = 0, kAutosizeLeft = 1 << 0, kAutosizeTop = 1 << 1, kAutosizeRight = 1 << 2,
  kAutosizeBottom = 1 << 3, kAutosizeColumn = 1 << 4, kAutosizeRow = 1 << 5, kAutosizeAll = kAutosizeLeft | kAutosizeTop | kAutosizeRight | kAutosizeBottom
}

Functions

CColor MakeCColor (unsigned char red=0, unsigned char green=0, unsigned char blue=0, unsigned char alpha=255)

Variables

const CColor kTransparentCColor
const CColor kBlackCColor
const CColor kWhiteCColor
const CColor kGreyCColor
const CColor kRedCColor
const CColor kGreenCColor
const CColor kBlueCColor
const CColor kYellowCColor
const CColor kCyanCColor
const CColor kMagentaCColor
const char * kDegreeSymbol
 degree sign
const char * kInfiniteSymbol
 infinity
const char * kCopyrightSymbol
 copyright sign
const char * kTrademarkSymbol
 trade mark sign
const char * kRegisteredSymbol
 registered sign
const char * kMicroSymbol
 micro sign
const char * kPerthousandSymbol
 per mille sign
const CViewAttributeID kCViewAttributeReferencePointer
const CViewAttributeID kCViewTooltipAttribute
const CFontRef kSystemFont
const CFontRef kNormalFontVeryBig
const CFontRef kNormalFontBig
const CFontRef kNormalFont
const CFontRef kNormalFontSmall
const CFontRef kNormalFontSmaller
const CFontRef kNormalFontVerySmall
const CFontRef kSymbolFont
const char * kMsgCheckIfViewContainer
 Message to check if View is a CViewContainer.
const char * kMsgLooseFocus
 Message of a view loosing focus (only CTextEdit and COptionMenu send this yet).
const char * kMsgNewFocusView
 Message send to all parents of the new focus view.
const char * kMsgOldFocusView
 Message send to all parents of the old focus view.

Define Documentation

#define BEGIN_NAMESPACE_VSTGUI   namespace VSTGUI {
#define END_NAMESPACE_VSTGUI   }
#define USING_NAMESPACE_VSTGUI   using namespace VSTGUI;
#define VSTGUI_VERSION_MAJOR   3
#define VSTGUI_VERSION_MINOR   6
#define VSTGUI_DEPRECATED (  )     DEPRECATED_ATTRIBUTE x
#define CLASS_METHODS ( name,
parent   ) 
Value:
virtual bool isTypeOf (const char* s) const \
                { return (!strcmp (s, (#name))) ? true : parent::isTypeOf (s); } \
        virtual CView* newCopy () const { return (CView*)new name (*this); }
#define CLASS_METHODS_VIRTUAL ( name,
parent   ) 
Value:
virtual bool isTypeOf (const char* s) const \
                { return (!strcmp (s, (#name))) ? true : parent::isTypeOf (s); } \
        virtual CView* newCopy () const = 0;

Typedef Documentation

typedef long CCoord
typedef unsigned int CViewAttributeID
typedef CFontDesc* CFontRef

Enumeration Type Documentation

enum CTxtFace
Enumerator:
kNormalFace 
kBoldFace 
kItalicFace 
kUnderlineFace 
enum CLineStyle
Enumerator:
kLineSolid 
kLineOnOffDash 
enum CDrawMode
Enumerator:
kCopyMode 

non antialiased drawing

kOrMode 

not implementated on Mac OS X and GDI+

Deprecated:
kXorMode 

not implementated on Mac OS X and GDI+

Deprecated:
kAntialias 

antialised drawing

Enumerator:
kLeftText 
kCenterText 
kRightText 
enum CButton
Enumerator:
kLButton 

left mouse button

kMButton 

middle mouse button

kRButton 

right mouse button

kShift 

shift modifier

kControl 

control modifier

kAlt 

alt modifier

kApple 

apple modifier

kButton4 

4th mouse button

kButton5 

5th mouse button

kDoubleClick 

mouse button is double click

Enumerator:
kCursorDefault 

arrow cursor

kCursorWait 

wait cursor

kCursorHSize 

horizontal size cursor

kCursorVSize 

vertical size cursor

kCursorSizeAll 

size all cursor

kCursorNESWSize 

northeast and southwest size cursor

kCursorNWSESize 

northwest and southeast size cursor

kCursorCopy 

copy cursor (mainly for drag&drop operations)

kCursorNotAllowed 

not allowed cursor (mainly for drag&drop operations)

kCursorHand 

hand cursor

enum CKnobMode
Enumerator:
kCircularMode 
kRelativCircularMode 
kLinearMode 
enum CDrawStyle
Enumerator:
kDrawStroked 
kDrawFilled 
kDrawFilledAndStroked 
Enumerator:
kMouseWheelAxisX 
kMouseWheelAxisY 
Enumerator:
kMouseEventNotImplemented 
kMouseEventHandled 
kMouseEventNotHandled 
kMouseDownEventHandledButDontNeedMovedOrUpEvents 
Enumerator:
kMessageUnknown 
kMessageNotified 
Enumerator:
kAutosizeNone 
kAutosizeLeft 
kAutosizeTop 
kAutosizeRight 
kAutosizeBottom 
kAutosizeColumn 

view containers treat their children as columns

kAutosizeRow 

view containers treat their children as rows

kAutosizeAll 

Function Documentation

CColor MakeCColor ( unsigned char  red = 0,
unsigned char  green = 0,
unsigned char  blue = 0,
unsigned char  alpha = 255 
) [inline]

Variable Documentation

const char* kDegreeSymbol

degree sign

const char* kInfiniteSymbol

infinity

const char* kCopyrightSymbol

copyright sign

const char* kTrademarkSymbol

trade mark sign

const char* kRegisteredSymbol

registered sign

const char* kMicroSymbol

micro sign

const char* kPerthousandSymbol

per mille sign

Message to check if View is a CViewContainer.

const char* kMsgLooseFocus

Message of a view loosing focus (only CTextEdit and COptionMenu send this yet).

const char* kMsgNewFocusView

Message send to all parents of the new focus view.

const char* kMsgOldFocusView

Message send to all parents of the old focus view.

Generated on Fri Apr 9 10:19:32 2010 for VSTGUI by  doxygen 1.6.3