Commit Graph

13 Commits

Author SHA1 Message Date
Vianney Boyer
7fe78ba264 fix few compiler warning and related minor bugs 2015-11-08 23:45:00 +01:00
Mark Liversedge
72ed656b6d Overlay title bar nit
.. frame needed over title esp when in white.
2015-01-09 14:58:27 +00:00
Mark Liversedge
255f69c1ad ConfigChanged Part 1 of 3
.. introduce concept of configChanged(what) to
   pass details of what config has been changed

.. fixed zones changes to re-read after write
   to correct the save twice to get changes to
   zones bug.

.. next parts need to spot changes (part 2) and
   then action appropriately (part 3)
2014-12-29 13:41:50 +00:00
Mark Liversedge
e4760ed6d1 MU import
.. to keep code safe, but not activated.
2014-11-24 22:21:50 +00:00
Mark Liversedge
e791359274 Add Endurance Index to CP overlay
.. for power and w/kg
2014-06-17 21:41:59 +01:00
Mark Liversedge
9494f8d071 Fix Overlay Widget colors
.. and along the way discuovered context is not initialised
   correctly in GcChartWindow !
2014-06-08 16:10:37 +01:00
Mark Liversedge
6391110ccb Fix Overlay Widget Title Glitch
.. it wasn't centered on the titlebar.
2014-06-01 20:23:16 +01:00
Mark Liversedge
dd7cae9c2b Fix Overlay Widget
.. easier to grab and resize
.. move when it goes off screen
2014-06-01 18:48:16 +01:00
Mark Liversedge
5c479e6539 Window Style Part 2 of 3
.. apply Flat styling across all the widget painting

.. only use WHITE as the flat color for now, in part 3
   we will look at user customisation and updating the
   toolbar and sidebar buttons to also be flat.
2014-06-01 13:18:30 +01:00
Mark Liversedge
18ee7c8841 Window Style Part 1 of 3
.. refactor linear gradients out of the widgets
   such as toolbar, chartbar, sidebaritem etc

.. GCColor::linearGradient() now returns a gradient
   that is reused across the codebase

.. in Part 2 we will add a colour and flat style
   for the linearGradient

.. in Part 3 we will tidy up the styling for buttons
   and toolbuttons to adopt flat or metal styling too
2014-06-01 11:33:05 +01:00
Mark Liversedge
f3f7d57d48 Allow Interactive Widgets in GcOverlayWidget
.. for "future" interactive widgets.
2014-04-23 07:35:01 +01:00
Mark Liversedge
faac207519 Allow Multiple Helper Widgets
.. in GcOverlayWidget.
2014-04-22 09:57:12 +01:00
Mark Liversedge
9c85310ca8 CP Chart Overlay
.. now has an overlay widget that can contain multiple widgets
   and is user movable and resizable etc

.. we show the model derived values for now, but could add other
   things at a later date (e.g. MU distribution etc).

Fixes #811.
2014-04-08 15:36:24 +01:00