* hildon-widgets/hildon-color-selector.c: Removed unused defines.
authorLuc Pionchon <luc.pionchon@nokia.com>
Thu, 16 Mar 2006 15:01:49 +0000 (15:01 +0000)
committerLuc Pionchon <luc.pionchon@nokia.com>
Thu, 16 Mar 2006 15:01:49 +0000 (15:01 +0000)
commit0f2c163a4ee20ae841f2634c77cbb3df9dae5711
treecfc7ced91c85a555da795178ec377aaeb7ef4a17
parent6738b1c656ed2c7925006b73a8926a10a3aa2f4e
* hildon-widgets/hildon-color-selector.c: Removed unused defines.

* hildon-widgets/hildon-color-selector.c
        (struct _HildonColorSelectorPriv): split 'index' into 'selected_index' and 'focus_index'
        (hildon_color_selector_expose)
        (hildon_color_selector_get_color)
        (hildon_color_selector_set_color)
        (key_pressed)
        (select_color)
        (modify_focused): Separate selected color and focused color.
        Focused color now draws a different colored border around it.
        Renamed modify_selected() to modify_focused().

        * hildon-widgets/hildon-color-selector.c
        (hildon_color_selector_expose)
        (select_color): Changed the logic in how the box positions are
        calculated. The old logic was wrong, but just happened to work
        with those specific values.

        * hildon-widgets/hildon-color-selector.c
        (hildon_color_selector_expose): Draw the selected-border using
        ImageBorderColor color instead of hardcoded black.
ChangeLog
hildon-widgets/hildon-color-selector.c