Commit Graph

4 Commits

Author SHA1 Message Date
Mike Blumenkrantz 9e8e755cdf formatting: all at once
SVN revision: 82625
2013-01-11 10:34:29 +00:00
rephorm 24bb452439 when clicking on a color well, initialize the color selector to the well's color
few other cleanups


SVN revision: 24957
2006-08-20 22:15:27 +00:00
rephorm e78c1143fe formatting, EAPI and add a copy function
SVN revision: 24785
2006-08-16 04:43:20 +00:00
rephorm d7792a9270 Start of a color selector.
Change the last test in e_test.c to #if 1 to play.

Issues:
  Redrawing the H,S and V spectra is a bit slow. Needs to be optimized.

  Spacing / Sizing of the various pieces of the csel widget needs to be cleaned up a bit.

  I haven't actually themed anything yet. Just some fairly basic place holders to get it working. We should wrap each piece in shadowed cutout graphic, and make fancier cursors.

  A color well widget
    - show the currently selected color
    - allows dnd of colors (this probably requires some reworking of ecore selection code)

For anyone wanting to play with this, a single E_Color struct is used by all parts of the selector, preventing the need to copy values around. This includes RGB *and* HSV values since the two spaces aren't 1:1.


SVN revision: 24669
2006-08-14 04:38:49 +00:00