On Tue, 28 Apr 2015 12:39:56 +0300 Viacheslav Reutskyi <[email protected]> said:
WTH? i have never seen this level of email-mangle before.
> Hello.
> Add this line to your programs :
> target: "elm.text";
> If you want to change the state for a few part, in program, you must set
> each part as target for program.
> I am want propose to try "Eflete". This is the graphical editor for widget
> styles.
> -----
> Best regards
> Viacheslav Reutskyi
> 12:04, April 28, 2015, Olliver Schinagl :
>
> To reply to myself, i'll paste the relevant sections so you don't have
> to figure out what exactly i did ;)
> Â Â Â Â Â Â Â part { name: "elm.text"; type: TEXT; mouse_events: 0;
> Â Â Â Â Â Â Â Â Â Â scale: 1;
> Â Â Â Â Â Â Â Â Â Â description { state: "default" 0.0;
> Â Â Â Â Â Â Â Â Â Â Â Â Â rel1.offset: 0 5;
> Â Â Â Â Â Â Â Â Â Â Â Â Â rel1.relative: 1.0 0.0;
> Â Â Â Â Â Â Â Â Â Â Â Â Â rel1.to_x: "elm.swallow.content";
> Â Â Â Â Â Â Â Â Â Â Â Â Â rel1.to_y: "base";
> Â Â Â Â Â Â Â Â Â Â Â Â Â rel2.offset: -8 -8;
> Â Â Â Â Â Â Â Â Â Â Â Â Â rel2.to: "base";
> Â Â Â Â Â Â Â Â Â Â Â Â Â color_class: "button_text";
> Â Â Â Â Â Â Â Â Â Â Â Â Â text { font: FN; size: 8;
> Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â align: 0.5 0.5;
> Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â min: 0 0;
> Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â text_class: "button";
> Â Â Â Â Â Â Â Â Â Â Â Â Â }
> Â Â Â Â Â Â Â Â Â Â Â Â Â visible: 0;
> Â Â Â Â Â Â Â Â Â Â }
> + Â Â Â Â description { state: "focus" 0.0;
> + Â Â Â Â Â Â inherit: "default" 0.0;
> + Â Â Â Â Â Â color: 0 0 0 255;
> + Â Â Â Â }
> + Â Â Â description { state: "clicked" 0.0;
> + Â Â Â Â Â Â Â inherit: "default" 0.0;
> + Â Â Â Â Â Â Â color: 0 0 0 255;
> + Â Â Â }
> and all off the following is +
> Â Â Â Â programs {
> Â Â Â Â Â Â Â program { name: "button_unfocus"; source: "elm";
> Â Â Â Â Â Â Â Â Â Â signal: "elm,action,unfocus"; source: "elm";
> Â Â Â Â Â Â action: STATE_SET "default" 0.0;
> Â Â Â Â Â Â Â Â Â Â target: "base";
> Â Â Â Â Â Â Â }
> Â Â Â Â Â Â Â program { name: "button_focus"; source: "elm";
> Â Â Â Â Â Â Â Â Â Â signal: "elm,action,focus"; source: "elm";
> Â Â Â Â Â Â action: STATE_SET "focus" 0.0;
> Â Â Â Â Â Â Â Â Â Â target: "base";
> Â Â Â Â Â Â Â }
> The idea was, that when a button received the focus, unfocused or
> 'clicked' state, the font color of the button text changes (because the
> image normal image is really unreadable with a white font, whereas the
> outline image is really horrible to read witha  black font.
> Olliver
> On 28-04-15 08:20, Olliver Schinagl wrote:
>
> Â Hey list,
> Â I've been playing with the elm_button edc (see attached) and wanted to
> Â change the text color of a button when the state is clicked (and/or
> Â focused). Can anybody verify my syntax is wrong, since it does not
> Â work at all :(
> Â Changing the font-color works fine for the elm.text for the default
> Â state just fine, just not on the states i've described.
> Â Thank you,
> Â Olliver
> Â
> ------------------------------------------------------------------------
> ------
> Â One dashboard for servers and applications across
> Physical-Virtual-Cloud  Widest out-of-the-box monitoring support with 50+
> applications  Performance metrics, stats and reports that give you
> Actionable Insights  Deep dive visibility with transaction tracing using APM
> Insight. Â http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
> Â _______________________________________________
> Â enlightenment-devel mailing list
> Â [email protected]
> Â https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
>
> --
> Met vriendelijke groeten, Kind regards, ä¸äº²åçé®å
> Olliver Schinagl
> Research & Development
> Ultimaker B.V.
> http://www.ultimaker.com
> --
> IMAGINE IT >> MAKE IT
> Meet us online at Twitter , Facebook
> , Google+
> www.ultimaker.com
>
> --------------------------------------------------------------------------
> ----
> One dashboard for servers and applications across Physical-Virtual-Cloud
> Widest out-of-the-box monitoring support with 50+ applications
> Performance metrics, stats and reports that give you Actionable Insights
> Deep dive visibility with transaction tracing using APM Insight.
> http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
> _______________________________________________
> enlightenment-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
> ------------------------------------------------------------------------------
> One dashboard for servers and applications across Physical-Virtual-Cloud
> Widest out-of-the-box monitoring support with 50+ applications
> Performance metrics, stats and reports that give you Actionable Insights
> Deep dive visibility with transaction tracing using APM Insight.
> http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
> _______________________________________________
> enlightenment-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
--
------------- Codito, ergo sum - "I code, therefore I am" --------------
The Rasterman (Carsten Haitzler) [email protected]
------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel