1
0
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:
James Crook
2017-04-26 22:32:09 +01:00
parent f0db511724
commit 2a043c0b35
4 changed files with 19 additions and 11 deletions

View File

@@ -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