mirror of
https://github.com/cookiengineer/audacity
synced 2025-11-08 14:13:57 +01:00
Add settable ruler colouring.
This commit is contained in:
@@ -42,6 +42,8 @@
|
||||
#include "../widgets/Ruler.h"
|
||||
|
||||
#include "../WaveTrack.h"
|
||||
#include "../Theme.h"
|
||||
#include "../AllThemeResources.h"
|
||||
|
||||
enum
|
||||
{
|
||||
@@ -685,6 +687,9 @@ void EffectCompressorPanel::OnPaint(wxPaintEvent & WXUNUSED(evt))
|
||||
vRuler.SetBounds(0, 0, w, height - h);
|
||||
hRuler.SetBounds(w, height - h, width, height);
|
||||
|
||||
vRuler.SetTickColour( theTheme.Colour( clrGraphLabels ));
|
||||
hRuler.SetTickColour( theTheme.Colour( clrGraphLabels ));
|
||||
|
||||
#if defined(__WXMSW__)
|
||||
dc.Clear();
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user