mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Merge 22f2d111b9 into 0e43b31e50
This commit is contained in:
commit
bdab3fe59f
2 changed files with 9 additions and 1 deletions
|
|
@ -332,6 +332,10 @@ TextEditor* Label::createEditorComponent()
|
||||||
copyColourIfSpecified (*this, *ed, textWhenEditingColourId, TextEditor::textColourId);
|
copyColourIfSpecified (*this, *ed, textWhenEditingColourId, TextEditor::textColourId);
|
||||||
copyColourIfSpecified (*this, *ed, backgroundWhenEditingColourId, TextEditor::backgroundColourId);
|
copyColourIfSpecified (*this, *ed, backgroundWhenEditingColourId, TextEditor::backgroundColourId);
|
||||||
copyColourIfSpecified (*this, *ed, outlineWhenEditingColourId, TextEditor::focusedOutlineColourId);
|
copyColourIfSpecified (*this, *ed, outlineWhenEditingColourId, TextEditor::focusedOutlineColourId);
|
||||||
|
copyColourIfSpecified (*this, *ed, highlightWhenEditingColourId, TextEditor::highlightColourId);
|
||||||
|
copyColourIfSpecified (*this, *ed, highlightTextWhenEditingColourId, TextEditor::highlightedTextColourId);
|
||||||
|
copyColourIfSpecified (*this, *ed, focusedOutlineWhenEditingColourId, TextEditor::focusedOutlineColourId);
|
||||||
|
copyColourIfSpecified (*this, *ed, shadowColourIdWhenEditingColourId, TextEditor::shadowColourId);
|
||||||
|
|
||||||
return ed;
|
return ed;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -120,7 +120,11 @@ public:
|
||||||
Leave this transparent to not have an outline. */
|
Leave this transparent to not have an outline. */
|
||||||
backgroundWhenEditingColourId = 0x1000283, /**< The background colour when the label is being edited. */
|
backgroundWhenEditingColourId = 0x1000283, /**< The background colour when the label is being edited. */
|
||||||
textWhenEditingColourId = 0x1000284, /**< The colour for the text when the label is being edited. */
|
textWhenEditingColourId = 0x1000284, /**< The colour for the text when the label is being edited. */
|
||||||
outlineWhenEditingColourId = 0x1000285 /**< An optional border colour when the label is being edited. */
|
outlineWhenEditingColourId = 0x1000285, /**< An optional border colour when the label is being edited. */
|
||||||
|
highlightWhenEditingColourId = 0x1000286, /**< The highlight colour when the label is being edited. */
|
||||||
|
highlightTextWhenEditingColourId = 0x1000287, /**< The highlighted text colour when the label is being edited. */
|
||||||
|
focusedOutlineWhenEditingColourId = 0x1000288, /**< Colour for drawing a box around the edge of the component when it has focus when the label is being edited. */
|
||||||
|
shadowColourIdWhenEditingColourId = 0x1000289, /**< Colour for drawing an inner shadow around the edge of the editor when the label is being edited. */
|
||||||
};
|
};
|
||||||
|
|
||||||
//==============================================================================
|
//==============================================================================
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue