1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-27 02:20:05 +00:00

Tarted up the fonts demo page; added a scrollbar thickness to the code editor; improved the colour selector's rendering speed.

This commit is contained in:
Julian Storer 2009-11-09 11:30:58 +00:00
parent dad610b948
commit 69321e8b33
5 changed files with 96 additions and 40 deletions

View file

@ -398,6 +398,15 @@ void CodeEditorComponent::paint (Graphics& g)
}
}
void CodeEditorComponent::setScrollbarThickness (const int thickness) throw()
{
if (scrollbarThickness != thickness)
{
scrollbarThickness = thickness;
resized();
}
}
void CodeEditorComponent::handleAsyncUpdate()
{
rebuildLineTokens();

View file

@ -207,6 +207,10 @@ public:
enabled. */
};
//==============================================================================
/** Changes the size of the scrollbars. */
void setScrollbarThickness (const int thickness) throw();
//==============================================================================
/** @internal */
void resized();