Commit Graph

88 Commits

Author SHA1 Message Date
Mark Liversedge
df6790eae2 Force Chrome on Yosemite
.. to match the flat look of Yosemite (i.e. not metal) and
   to match the fixed colors for the title bar.
2015-07-26 17:18:30 +01:00
Mark Liversedge
06cf774867 Minor cosmetic tweaks for Core Temp
.. disappeared on plots for numerous reasons
.. now has its own color config
.. chart axis tweaked to be more appropriate
2015-06-21 15:25:09 +01:00
Mark Liversedge
9374e95732 Set default chrome on Yosemite
.. to match the new UI.
2015-06-01 10:50:11 +01:00
Mark Liversedge
941ca37003 Add DPI Scaling Factor
.. set when on a Windows platform, but not used.

.. when testing on a QT 5.4 release the font metrics appear
   to take the scaling factor into account, but adding the code
   for compatibility in the future (if we need it)
2015-04-07 17:54:51 +01:00
Mark Liversedge
d9eb2aec8c Rename Ride to Activity
.. across the code, except where it clearly is a ride
   e.g. importing PowerTap or SRM
2015-01-30 10:59:56 +00:00
Mark Liversedge
feef39981c Fix Apply themes for Trend background color
.. will still need to set to sensible default as
   part of the upgrade process.
2015-01-23 16:00:52 +00:00
Mark Liversedge
d82e933e5a Aesthetic Tweaks
.. tile mode highlights on mouse over for a more
   fluid feel, and better feedback

.. can customise the trend view charts background

.. fixed a SEGV on apply preset in chart setup

.. this is part of a set of updates to update the
   standard setup to be more complete so the user
   can pretty much run off a standard config.
2015-01-23 12:06:03 +00:00
Mark Liversedge
2ce5718d0e Notify config changed - APPEARANCE
.. Needed to move about some of the color config
   methods and remove the unneeded object from
   mainwindow and initialise global color settings
   in main() instead.
2014-12-31 12:36:18 +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
Claus Assmann
a001ffef4f Fix comment spelling errors
.. lots of them !
2014-11-24 15:37:56 +00:00
Mark Liversedge
09225d7331 Add HHb and O2Hb derived series
.. to split oxy/deoxy haemoglobin
.. need to add to ride chart too
2014-10-23 20:14:27 +01:00
Mark Liversedge
4a0674e204 Customise Colors for New Series
.. Moxy smo2 and thb
.. Garmin Running Dynamics
.. Gear Ratio
2014-10-16 18:33:25 +01:00
Joern
a6bb2360e2 All-Plot - Add "Slope" and "Alt/Slope" curves
... add "Slope" curve based on Slope Data in Ride Files (with separate
new color)
... add "Alt/Slope" curve based on "Altitude" data series
... sections on "Alt/Slope" have 3 options -  1min/100 m OR 5min/500 m
OR 10min/1000 m
... color / slope assignments are defined in AllPlotSlopeCurve (to look
it up)
... if a plotted section is wide enough the slope % (distance) / VAM
(time) value is shown above
2014-09-30 12:41:06 +02:00
Mark Liversedge
fc064abe3f OOps. Colors for last commit
.. used wrong version, this is more in keeping with the
   color approach and stock colors; darkGray and PLOTMARKER.
2014-09-25 19:22:48 +01:00
Mark Liversedge
7f93ed2761 Highlight best if today !
.. on the trend summary, if the best is for today then
   lets highlight it so it jumps out :)
2014-09-25 19:17:24 +01:00
Mark Liversedge
d801fb5177 Classic theme accent color
.. made Fuschia to be a little more vibrant
2014-06-30 22:47:24 +01:00
Mark Liversedge
6bcb54ccf0 Change 'Classic' theme
.. it needed color selections that worked better on
   a light background
2014-06-30 20:08:32 +01:00
gcoco
5ddc96b15b Add missing semicolon 2014-06-29 04:20:35 -04:00
gcoco
7e901d4721 Fix case for dwmapi.h 2014-06-28 20:49:19 -04:00
Mark Liversedge
2d3bef85b2 3.1 Upgrade Processing Part 1 of 3
.. getting the upgrade code going, this just adds new functions
   for changing colors and themes and doesn't perform an upgrade

.. Part 2 will deal with W' and power.zones changes

.. Part 3 will deal with chart setup changes
2014-06-22 13:08:27 +01:00
Joern
af074d3e91 Bikescore (TM) unique Handling (Part 2)
... have the same consistent handling for (TM) at all visible places
... do not allow Translation of BikeScore (since it's a TM and might
cause unexpected behavior)
... Have (TM) sign everwhere visible - only in Searches just use
"BikeScore" as Symbol
2014-06-11 18:55:23 +02:00
Mark Liversedge
66eb4789b7 Compare Pane Table better color support
.. headings color and remove frame
2014-06-08 19:22:31 +01:00
Mark Liversedge
999e599d22 Darker flat chrome Linux/Win
.. makes for a better match to the chartbar and sidebar
   items when in flat mode and not on a Mac.
2014-06-08 15:51:27 +01:00
gcoco
eedfc24b9e Correct/consistent use of #include <windows.h> 2014-06-06 23:44:49 -04:00
Mark Liversedge
7e97bf0781 Invert Color by Luminance
.. just added a GCColor::luminance() method ready for automatically
   selecting foregground colors in the application chrome.
2014-06-06 14:16:17 +01:00
Mark Liversedge
0a79597d83 Mac now honours flat theme
.. but not sure its gonna be very popular !
2014-06-02 12:43:34 +01:00
Mark Liversedge
9dc9a68753 Slightly wider scrollbars
.. 4px is too small.
2014-06-01 20:47:39 +01:00
Mark Liversedge
bafeb42b97 Scrollbar hover highlight
.. on Non-Mac.
2014-06-01 20:38:43 +01:00
Mark Liversedge
18b1c6e056 Windows Style Part 3 of 3
.. flat colors based upon windows prefrences if on
   windows -- BUT ONLY if Dsmapi.h is available.
2014-06-01 15:33:23 +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
cdbfeb4f36 More css scrollbar nonsense
.. making scrollbars less obtrusive in webkit.
   because? well, reasons.
2014-05-28 16:21:29 +01:00
Mark Liversedge
fd571ddba5 Mac CSS Scrollbar fix
.. is invisible on a black background, so added an inset box shadow
2014-05-27 12:34:50 +01:00
Mark Liversedge
0fe109efe4 Scrollbars on AllPlotWindow
.. made to look the same as everywhere else
   i.e. not clunky and ugly.
2014-05-26 20:05:04 +01:00
Mark Liversedge
bdd2f6897f Webkit scrollbar Mac styling
.. to match the Mac scrollbars in QT5
2014-05-26 19:32:05 +01:00
Mark Liversedge
dad6bef290 Tidy WebKit Scrollbars
.. to match the rest of the widgets
2014-05-26 19:18:44 +01:00
Mark Liversedge
a1a6475d72 Merge branch 'master' of github.com:/GoldenCheetah/GoldenCheetah 2014-05-19 11:39:09 +01:00
Mark Liversedge
ea52f12747 Notes keyword "Reverse" to set fg color
.. when color is used for background -- since they are independent
   of the plot colors etc in this case.
2014-05-19 11:38:14 +01:00
Mark Liversedge
194aceab58 Mustang theme highlight
.. was invisible, now made more obvious
2014-05-18 22:08:57 +01:00
Mark Liversedge
485ac4ed8a Tweak Alt default to light gray 2014-05-18 11:15:41 +01:00
Mark Liversedge
dabfe2bb68 Added Schoberer Color Scheme
.. mimic colors used by SRMWin and the scheme is named after
   the founder of SRM Ulrich Schoberer
2014-05-18 11:11:53 +01:00
Mark Liversedge
2bf4bf53fd Extend Theme color coverage
.. to include power, cadence etc

.. this is particularly relevant for colors that need to change
   if we have a light background (e.g. power in yellow on white
   is almost impossible to see for some people)
2014-05-18 10:44:47 +01:00
Mark Liversedge
d58a19e303 Fixup default color to use theme colors
.. in the ride list, calendar and mini calendar we now
   use the default color from the theme when there is no
   match on the keyword.
2014-05-11 11:44:35 +01:00
Mark Liversedge
2f3abfa122 Basic Themes Support
.. no doubt we will extend and refine this but at least you
   can select some basic prebuilt themes.

.. will need to add more as its a limited list but the basics
   are in place for now.

Fixes #855.
2014-05-03 18:18:42 +01:00
Mark Liversedge
8d08bf6d09 Compare Pane honours color prefs 2014-04-16 17:39:45 +01:00
Mark Liversedge
ded8c5892a Interval Summary Sidebar Colors
.. now honours the color settings too
2014-04-16 14:38:13 +01:00
Mark Liversedge
0a32f3c571 Add Vector/Rotor TE and PS data series
.. Added the torque effectiveness and pedal smoothness
   data series to the RideFile structures.

.. The only file formats that support it at this stage
   are Fit and  GoldenCheetah JSON.

.. As more file formats support it we will add it here.

.. The charts/editor now need to be updated to support
   these new data series.
2014-04-11 13:46:10 +01:00
Mark Liversedge
666e985f27 CSS extended a little
.. to include <h4> and <b> since they are used
   on the LTM 'data' table.
2014-03-27 20:18:15 +00:00
Mark Liversedge
2b6a9d063d Introducing GCColor::css() to style HTML
.. wherever we use it, but mostly for the summary
   charts to use the plot marker color. for now.

.. we can get more sophisticated later !
2014-03-27 19:57:08 +00:00
Mark Liversedge
918b40fd3e Better Default Colors
.. now we don't have to have a white background for the plots
   the defaults are more modern -- inspired by Google Nexus
   and the Sublime text editor
2014-03-27 18:32:40 +00:00