Dennis Vennink
6e02f55fff
Add gutterSelectionBorder and gutterIcons theme keys
2012-08-26 18:26:34 +02:00
Allan Odgaard
846357c52f
Code aesthetics
2012-08-25 21:04:22 +02:00
Allan Odgaard
8e1aa09d17
Colors are now transparent against background
...
Previously if the color for X (where X is e.g. foreground or invisibles) had an alpha value other than 1.0 (fully opaque) it would be blended against the less specifically scoped color for X rather than the background.
There was no real logic behind the previous design other than to treat all color blending the same and it would cause a problem for 1.x themes using transparency for selection or invisible characters.
Closes issue #285 .
2012-08-25 20:56:36 +02:00
David Howden
b8b25a46c8
Extend gutter theming to selection foreground
...
New theme setting: gutterSelectionForeground
2012-08-23 14:42:11 +02:00
Joachim Mårtensson
ab310cbdab
Use cf::color_t RGBA constructor when converting color_info_t
2012-08-22 17:06:56 +02:00
David Howden
f2dd19f2a3
Extend support for theming the gutter
...
New theme setting: gutterSelectionBackground
2012-08-22 15:10:21 +02:00
Jacob Bandes-Storch
8eb3dd0379
Calculate default gutter colors based on theme
2012-08-20 19:10:39 +02:00
Jacob Bandes-Storch
1c83eaa389
Add support for theming the gutter
...
Theme setting keys gutterForeground, gutterBackground, and gutterDivider
2012-08-20 19:01:56 +02:00
Allan Odgaard
699969695c
Restructure code
2012-08-18 22:39:01 +02:00
Allan Odgaard
9d99e1c617
fixup! Represent font size using a CGFloat
2012-08-18 22:27:06 +02:00
Joachim Mårtensson
18eecca2ab
Represent font size using a CGFloat
...
This applies to scoped font size settings and should be faster than the previous std::string based approach.
2012-08-18 16:28:47 +02:00
Joachim Mårtensson
ece7758e09
Represent theme colors as 4 doubles (RGBA)
...
This should be faster (and probably more precise) than the previous std::string based color manipulations.
2012-08-18 16:28:47 +02:00
Allan Odgaard
9894969e67
Initial commit
2012-08-09 16:25:56 +02:00