|
VSTGUI 4.10
Graphical User Interface Framework not only for VST plugins
|
Style configuration for the text editor. More...
#include <ctexteditor.h>
Public Types | |
| enum class | Flags : uint32_t { ShowLineNumbers , HighlightCursorLine , ReadOnlyMode } |
| Style flags for the text editor. More... | |
| using | FlagsBitset = EnumBitset<Flags> |
Public Attributes | |
| SharedPointer< CFontDesc > | font {kNormalFont} |
| SharedPointer< CFontDesc > | lineNumbersFont {kNormalFontSmall} |
| CColor | textColor {kBlackCColor} |
| CColor | backColor {kWhiteCColor} |
| CColor | cursorColor {kBlackCColor} |
| CColor | highlightCursorLineColor {0, 0, 0, 10} |
| CColor | selectionBackColor {kGreyCColor} |
| CColor | frameColor {kGreyCColor} |
| CColor | lineNumberTextColor {127, 127, 127, 100} |
| CColor | lineNumberTextSelectedColor {100, 100, 100, 255} |
| CColor | lineNumberLine {127, 127, 127, 100} |
| CCoord | lineSpacing {2.5} |
| CCoord | leftMargin {4.} |
| CCoord | lineNumberLeftMargin {2.} |
| CCoord | lineNumberRightMargin {2.} |
| uint32_t | cursorBlinkTime {500} |
| Cursor blink time in milliseconds. | |
| uint32_t | tabWidth {4} |
| Tab width in spaces. | |
| FlagsBitset | flags {{Flags::ShowLineNumbers, Flags::HighlightCursorLine}} |
Style configuration for the text editor.
| using FlagsBitset = EnumBitset<Flags> |
|
strong |
Style flags for the text editor.
| Enumerator | |
|---|---|
| ShowLineNumbers | Show line numbers in the editor. |
| HighlightCursorLine | Highlight the line with the cursor. |
| ReadOnlyMode | Enable read-only mode. |
| CColor backColor {kWhiteCColor} |
| uint32_t cursorBlinkTime {500} |
Cursor blink time in milliseconds.
| CColor cursorColor {kBlackCColor} |
| SharedPointer<CFontDesc> font {kNormalFont} |
| CColor frameColor {kGreyCColor} |
| CColor highlightCursorLineColor {0, 0, 0, 10} |
| CCoord leftMargin {4.} |
| CCoord lineNumberLeftMargin {2.} |
| CColor lineNumberLine {127, 127, 127, 100} |
| CCoord lineNumberRightMargin {2.} |
| SharedPointer<CFontDesc> lineNumbersFont {kNormalFontSmall} |
| CColor lineNumberTextColor {127, 127, 127, 100} |
| CColor lineNumberTextSelectedColor {100, 100, 100, 255} |
| CCoord lineSpacing {2.5} |
| CColor selectionBackColor {kGreyCColor} |
| uint32_t tabWidth {4} |
Tab width in spaces.
| CColor textColor {kBlackCColor} |