Re: GNOME throbber inconsistencies?

On Wed, May 1, 2013 at 1:19 PM, Emmanuele Bassi <ebassi gmail com> wrote:
hi Cosimo;

do you have some notes as to what kind of API you and Benjamin were
thinking about? I can probably spare a couple of cycles to work on it
for 3.10, and it would help me getting up to speed.

Hi Emmanuele,

Notes were not written down - we only informally and briefly talked about it in person with Benjamin at the last Boston Summit (and a couple of times on IRC after that).
I am not sure d-d-l is the best forum to discuss this in detail, but the main idea is to be able to define in the theme an abstract name for the spinner asset, together with a mapping from its different sizes to the concrete image assets.
The CSS specifying the animation would then be able to use the abstract name instead of the asset, and the toolkit would automatically provide the right image according to the current size of the widget. This is potentially pretty powerful, so it could be used for other things as well - namely at least arrows (currently being drawn manually in the theming engine for Adwaita), and check/radio buttons. Specifying symbolic SVG assets in the mapping would also do the right thing wrt. recoloring using the regular CSS rules.

It's great that you can spend some time on this - I'd be happy to talk about it further on IRC and I'm sure the same counts for Benjamin :)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]