Hey guys,

This is really really cool:
--- Begin Message ---
Read and respond to this message at: 
https://sourceforge.net/forum/message.php?msg_id=4601478
By: thangalin

Hi,

I started an XSL stylesheet to help build skins. Download it from:

http://www.davidjarvis.ca/skin.xsl

Usage:

xsltproc skin.xsl skin.xml > skin.html

Then:

/usr/bin/firefox skin.html

Gives a basic idea of what the skin will look like, without having to stop and
restart Mixxx every time.

Unfortunately, the skin.xml file is not quite as pure XML as it could be. For
example, the Pos element could be:

  <Pos><top>500</top><left>400</left></Pos>

The way the knobs are implemented also makes it difficult to translate skin.xml
to HTML. Since the internal counter for the knob is not available to the XSL
document, the %1 gets tricky to translate properly. For example:

  <Path>knobm%1.png</Path>

Could be better as:

  <Image>
    <Type>png</Type>
    <Path><Prefix>knobm</Prefix><Suffix>%1</Suffix></Path>
  </Image>

Just from reading the XML, it is hard to know what the following elements 
represent
(and consequently how to render them in HTML):

  <Visual>
  <Text>
  <NumberBpm>
  <NumberPos>
  <NumberRate>
  <Overview>
  <Splitter>
  <TreeView>
  <TrackTable>

I've posted a PNG of Mixxx's outline within Firefox.

http://www.davidjarvis.ca/skin.png

Dave


______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit: 
https://sourceforge.net/forum/unmonitor.php?forum_id=156157

--- End Message ---
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Mixxx-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mixxx-devel

Reply via email to