home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
MediaPortal 1 Skins
Building a skin from scratch - a tour -
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Pog" data-source="post: 1007675" data-attributes="member: 97724"><p>I've been thinking about all the work done in this thread and the various ideas and solutions. One area of the skin engine in MP that makes life very difficult is lack of being able to abstract all the data to variables. Now it has improved with expressions and defines but they are inconsistant and due to regression it may be a big job to make the engine fully compliant.</p><p> </p><p>What would be nice is to build "Skinlets", skining elements that can be used easily by any skin and just passing an xpos, ypos, size and let the skinlet do the work and add the offsets/scaling/timing whatever.</p><p> </p><p>Having a single element with 10 controls and having to change xy positions in every control just to see if it looks better 10 pixels over gets tiresome. Should be able to have an element xypos with each control being able to offset from that (<posX>element1.xpos+10</posX>).</p><p> </p><p>So, my big idea is to use a <a href="http://en.wikipedia.org/wiki/General-purpose_macro_processor" target="_blank">macro preprocessor</a> to do all the grunt work and pass an MP readable xml file as output.</p></blockquote><p></p>
[QUOTE="Pog, post: 1007675, member: 97724"] I've been thinking about all the work done in this thread and the various ideas and solutions. One area of the skin engine in MP that makes life very difficult is lack of being able to abstract all the data to variables. Now it has improved with expressions and defines but they are inconsistant and due to regression it may be a big job to make the engine fully compliant. What would be nice is to build "Skinlets", skining elements that can be used easily by any skin and just passing an xpos, ypos, size and let the skinlet do the work and add the offsets/scaling/timing whatever. Having a single element with 10 controls and having to change xy positions in every control just to see if it looks better 10 pixels over gets tiresome. Should be able to have an element xypos with each control being able to offset from that (<posX>element1.xpos+10</posX>). So, my big idea is to use a [URL='http://en.wikipedia.org/wiki/General-purpose_macro_processor']macro preprocessor[/URL] to do all the grunt work and pass an MP readable xml file as output. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Skins
Building a skin from scratch - a tour -
Contact us
RSS
Top
Bottom