Revision 26b80a8...

Go back to digest for 17th July 2011

Optimization in Utilities

Friedrich Karl Tilman Pülz committed changes in [publictransport] applet/publictransport.cpp:

Use oxygen colors for group colors, consistant direction-to-color mapping

- Compute hash values from the stop names of the color groups (directions)
Then map the hash values to the oxygen colors (82 selected from the oxygen palette)
- Works with light and dark themes, because the colors get drawn with transparency
- Doesn't use too light and to close colors from the oxygen palette
- Use more color groups (8 instead of 5)

File Changes

Modified 1 files
  • applet/publictransport.cpp
1 files changed in total