You can forget this patch if it's not desired functionality ... I found 
a better way to go about this :)

dh

On 09/25/2010 07:30 PM, Christopher Michael wrote:
> Here is a patch which adds the ability for elm_widgets to have a
> color_class hook.
>
> Some background:
> This came about because of an app I am working on. In the app, I use
> custom-themed elm_buttons (w/ elm_object_style_set). These custom-themed
> buttons need the ability to change some colors such as background, etc,
> etc (when certain events occur), and the elm_button does not expose it's
> edje_object to allow edje_object_color_class_set calls.
>
> So the attached patch adds the ability for an elm_widget to have a
> color_class hook. When someone calls elm_object_color_class_set, the
> hook will get fired and the widget can call edje_object_color_class_set
> in the hook on the appropriate edje objects.
>
> The only widget I added this for currently is elm_button (cause that's
> what I needed.) If the patch goes in, feel free to add the hook for
> other widgets ;)
>
> dh


-- 
"If C gives you enough rope to hang yourself, then C++ gives you enough 
rope to bind and gag your neighborhood, rig the sails on a small ship, 
and still have enough rope to hang yourself from the yardarm"
- Anonymous quote from the The UNIX-HATERS Handbook

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to