5 #ifndef __cfontchooser__ 6 #define __cfontchooser__ 8 #include "../vstguifwd.h" 9 #include "../cviewcontainer.h" 11 #include "../cdatabrowser.h" 12 #include "icontrollistener.h" 34 CColor rowAlternateBackColor;
36 CColor previewBackgroundColor;
37 CColor scrollbarScrollerColor;
38 CColor scrollbarFrameColor;
39 CColor scrollbarBackgroundColor;
40 CCoord scrollbarWidth;
43 const CColor& fontColor = kWhiteCColor,
44 const CColor& selectionColor = kBlueCColor,
45 const CColor& rowlineColor = kGreyCColor,
46 const CColor& rowBackColor = kTransparentCColor,
47 const CColor& rowAlternateBackColor = kTransparentCColor,
48 const CColor& previewTextColor = kBlackCColor,
49 const CColor& previewBackgroundColor = kWhiteCColor,
50 const CColor& scrollbarScrollerColor = kBlueCColor,
51 const CColor& scrollbarFrameColor = kBlackCColor,
52 const CColor& scrollbarBackgroundColor = kGreyCColor,
53 int32_t rowHeight = -1,
54 CCoord scrollbarWidth = 16)
55 : font (font), rowHeight (rowHeight), fontColor (fontColor), selectionColor (selectionColor), rowlineColor (rowlineColor)
56 , rowBackColor (rowBackColor), rowAlternateBackColor (rowAlternateBackColor), previewTextColor (previewTextColor), previewBackgroundColor (previewBackgroundColor)
57 , scrollbarScrollerColor (scrollbarScrollerColor), scrollbarFrameColor (scrollbarFrameColor)
58 , scrollbarBackgroundColor (scrollbarBackgroundColor), scrollbarWidth (scrollbarWidth)
74 void valueChanged (
CControl* pControl)
override;
85 CView* fontPreviewView;
86 GenericStringListDataBrowserSource::StringVector fontNames;
Definition: cfontchooser.h:18
Definition: cfontchooser.h:64
Container Class of CView objects.
Definition: cviewcontainer.h:52
font class
Definition: cfont.h:31
Definition: vstkeycode.h:12
Definition: cfontchooser.h:26
RGBA Color structure.
Definition: ccolor.h:15
DataBrowser view.
Definition: cdatabrowser.h:91
Generic string list data browser source.
Definition: cdatabrowser.h:192
Definition: customcontrols.cpp:8
base class of all VSTGUI controls
Definition: ccontrol.h:76
Definition: cdatabrowser.h:181
Base Class of all view objects.
Definition: cview.h:44
int32_t onKeyDown(VstKeyCode &keyCode) override
called if a key down event occurs and this view has focus
Definition: cfontchooser.cpp:292
bool attached(CView *parent) override
view is attached to a parent view
Definition: cfontchooser.cpp:281
a check box control with a title and 3 states
Definition: cbuttons.h:59
a text edit control
Definition: ctextedit.h:21
Definition: icontrollistener.h:14