On Wed, Jan 20, 2010 at 10:43 AM, Sjors Gielen <mailingl...@dazjorz.com>wrote:

> The first benefit would be the ability to script UI rendering behaviors via
>> Javascript and css/div tags...   One could toggle visibility and position
>> entire sections of the UI, through CSS hidden/show and Javascript element
>> positioning...   It might even be possible for a user to drag and drop bits
>> of the interface during runtime saving those as a skin config cookie.    I'm
>> not sure easy such behaviours would be implementable without a HTML-like UI
>> rendering engine.
>>
>
> What you say is that the first benefit is that "it might work as good as
> what you have with Qt now". That's not a benefit. :)


Hmm, you seem to have missed the point...   Also, I'm not sure you realize
how analogous the existing XML-based layout engine is a HTML-based rendering
engine.

If you have a look at skin.xml, you'll see that there is XML defining where
elements are positioned along with a colour scheme information block
pertaining to certain paletteable elements that is analogous to a CSS style
sheet.

Currently, if you wanted to implement some control panel that is
infrequently used as part of the UI, you'd have to stick it somewhere on the
UI and be stuck with it eating up screen space all the time.   That means
for something like an EQ, you have to go into the preferences panel to
reconfigure it, something like that could be implemented in Javascript with
a div tag that slides out or pops on to the main UI when you push a hotspot
on the main UI...


> The second benefit is that "it might attract UI designers who have never
> done a normal application before!" - that's not really a benefit either,
> since they make other UIs, and Mixxx already has excellent designers.


Who are you referring to?   I think Jus is our only designer atm, he
is excellent no doubt, but I think even he would agree getting a Mixxx skin
to look good is probably harder than it should be because the tooling sucks.
  Dave Jarvis was kind enough to create a skin.xml -> skin.html previewer
tool a few years back, but that is about the only tool one has for
previewing a skin aside from firing up Mixxx and loading it.

Scalable does not mean it has to be HTML or CSS or WebKit, Qt can do it fine
> by itself. ;-)
>

Agree with you there, Qt supports CSS declarative based UIs  (the Qt
Wolfenstein 3D demo is crazy cool)....   Get some addtional flexibility with
WebKit, could get some additional easy of use for editing wrt visual tools
(Nvu? Dreamweaver?), but the trade off is bloat.

Cheers,

-G
------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
Mixxx-devel mailing list
Mixxx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mixxx-devel

Reply via email to