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:
parent
dad610b948
commit
69321e8b33
5 changed files with 96 additions and 40 deletions
|
|
@ -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();
|
||||
|
|
|
|||
|
|
@ -207,6 +207,10 @@ public:
|
|||
enabled. */
|
||||
};
|
||||
|
||||
//==============================================================================
|
||||
/** Changes the size of the scrollbars. */
|
||||
void setScrollbarThickness (const int thickness) throw();
|
||||
|
||||
//==============================================================================
|
||||
/** @internal */
|
||||
void resized();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue