mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-14 08:38:45 +00:00
More Charts honouring Colors Preferences
.. Further updates to the charts to honour the background
color preferences:
* Google Maps
* Ride Summary
* Scatter
* Details (Metadata)
* LTM Data View
* Editor
.. still a few left to do and not entirely happy with how
things look on the editor but we can fix this up over
time.
This commit is contained in:
@@ -60,8 +60,10 @@ GoogleMapControl::GoogleMapControl(Context *context) : GcChartWindow(context), c
|
||||
connect(context, SIGNAL(intervalsChanged()), webBridge, SLOT(intervalsChanged()));
|
||||
connect(context, SIGNAL(intervalSelected()), webBridge, SLOT(intervalsChanged()));
|
||||
connect(context, SIGNAL(intervalZoom(IntervalItem*)), this, SLOT(zoomInterval(IntervalItem*)));
|
||||
connect(context, SIGNAL(configChanged()), this, SLOT(configChanged()));
|
||||
|
||||
first = true;
|
||||
configChanged();
|
||||
}
|
||||
|
||||
GoogleMapControl::~GoogleMapControl()
|
||||
@@ -69,6 +71,12 @@ GoogleMapControl::~GoogleMapControl()
|
||||
delete webBridge;
|
||||
}
|
||||
|
||||
void
|
||||
GoogleMapControl::configChanged()
|
||||
{
|
||||
setProperty("color", GColor(CPLOTBACKGROUND));
|
||||
}
|
||||
|
||||
void
|
||||
GoogleMapControl::rideSelected()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user