Searched hist:"6 f222a3312ca2fceda9d1116bc4fd99c1eef7926" (Results 1 – 2 of 2) sorted by relevance
/haiku/src/preferences/appearance/ |
H A D | ColorPreview.h | 6f222a3312ca2fceda9d1116bc4fd99c1eef7926 Fri Aug 05 03:55:04 UTC 2016 John Scipione <jscipione@gmail.com> Drag and drop color from Appearance ColorPreview
You can drag a color square from the color preview and drop it anywhere that accepts a color drop.
This allows you to use the color drop feature more readily for example to change the desktop background color or change the color of Deskcalc.
Also did some refactoring of ColorPreview class. Make it a BControl which eliminates the enabled bool and invoker which both are handled by the inherited BControl class.
Did some refactoring. * Renamed a couple of class variables following convention * Also renamed a couple of method parameters for the same reason
Don't call Draw() directly, this is frowned upon, instead use Invalidate() so app server can draw at the appropriate time.
|
H A D | ColorPreview.cpp | 6f222a3312ca2fceda9d1116bc4fd99c1eef7926 Fri Aug 05 03:55:04 UTC 2016 John Scipione <jscipione@gmail.com> Drag and drop color from Appearance ColorPreview
You can drag a color square from the color preview and drop it anywhere that accepts a color drop.
This allows you to use the color drop feature more readily for example to change the desktop background color or change the color of Deskcalc.
Also did some refactoring of ColorPreview class. Make it a BControl which eliminates the enabled bool and invoker which both are handled by the inherited BControl class.
Did some refactoring. * Renamed a couple of class variables following convention * Also renamed a couple of method parameters for the same reason
Don't call Draw() directly, this is frowned upon, instead use Invalidate() so app server can draw at the appropriate time.
|