1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-02-05 03:50:07 +00:00

New class: CaretComponent, which is created by the LookAndFeel. Fix for VST build on VC2005.

This commit is contained in:
Julian Storer 2011-03-18 11:37:04 +00:00
parent 7485498ee7
commit e1e5018a91
25 changed files with 586 additions and 522 deletions

View file

@ -30,6 +30,7 @@ BEGIN_JUCE_NAMESPACE
#include "juce_Label.h"
#include "../lookandfeel/juce_LookAndFeel.h"
#include "../windows/juce_ComponentPeer.h"
#include "../keyboard/juce_CaretComponent.h"
//==============================================================================
@ -311,10 +312,10 @@ TextEditor* Label::createEditorComponent()
TextEditor::textColourId,
TextEditor::highlightColourId,
TextEditor::highlightedTextColourId,
TextEditor::caretColourId,
TextEditor::outlineColourId,
TextEditor::focusedOutlineColourId,
TextEditor::shadowColourId };
TextEditor::shadowColourId,
CaretComponent::caretColourId };
for (int i = 0; i < numElementsInArray (cols); ++i)
ed->setColour (cols[i], findColour (cols[i]));