MediaPortal Forums HTPC/MediaCenter

Go Back   MediaPortal Forum » MediaPortal 1 » Community Skins and Plugins » Skins


Skins You are working on a new Skin? Post it here!

Reply
 
LinkBack Thread Tools Display Modes
Old 2004-08-19, 09:05   #1 (permalink)
Anonymous
Guest
 
Posts: n/a


Default Tochscreen friendly Skin - Howto ?

Hello,
i'm planning to make a mod of one of the available skins to make it more Touchscreen friendly.

So i have several questions i'd be happy to get helped with:

#1
How do i change the width of the vertical scrollbar ?
I already found out that i can set the 'spinWidth' and 'spinHeight' in the
reference.xml file. But i cannot find any appropriate setting for the vertical scrollbar.

#2
How do i add additional buttons to the mysongs left pane ?

Cheers
Chris
  Reply With Quote
Old 2004-08-19, 14:17   #2 (permalink)
Anonymous
Guest
 
Posts: n/a


Default 1st tip

Ok,

here's the 1st tip to mod your skin into a more touchscreen-friendly style:

#1 Zoom the Spin Buttons (page up/down buttons in listviews):

Open reference.xml of you favority skin and search for the following tags:

<spinWidth>XX</spinWidth>
<spinHeight>YY</spinHeight>

For XX and YY i've set each to 40 units.


Any other idead to make the skins working better together with touchscreens ?

Your help is appreciated !

Cheers
Chris
  Reply With Quote
Old 2004-08-19, 14:37   #3 (permalink)
Anonymous
Guest
 
Posts: n/a


Default

In the references.xml there's a list control. The description says 'default list control' i believe. I don't have the files in front of me right now.
That element defines the base for all the list in the different plugins.
In there is the definition for the height and width of each item. For example the song titles in my music. I don't remember exactly what I set it to, but try the same 40 you did for the spinners.

This is all from memory, and even that was learned by experimenting. I really don't know what everything does in the skinning files.

Good to see someone else is trying this too. What skin are you starting with?
  Reply With Quote
Old 2004-08-19, 16:09   #4 (permalink)
Anonymous
Guest
 
Posts: n/a


Default

I would start on the MCE skin that me and mario is working on since that will be most up to date. But then you would have to wait until it is out and that is some days more...

And the place to start if you want to change global settings in a skin is references.xml.
  Reply With Quote
Old 2004-08-19, 20:09   #5 (permalink)
Anonymous
Guest
 
Posts: n/a


Default Source Code change required

Here's my first attempt to make the vertical scrollbar wider. However, this feature is not yet implemented in the current release of MP. I had to change the source code in order to incorporate this setting in the reference.xml:

<control>
<description>default vertical scrollbar control</description>
<type>vscrollbar</type>
...
<VscrollWidth>40</VscrollWidth>
...
</control>

Here the result:



Hi Dev Team,
could you incorporate this ability and others to make skinning more flexible ?

Thank you !

Chris
  Reply With Quote
Old 2004-08-19, 21:53   #6 (permalink)
Anonymous
Guest
 
Posts: n/a


Default

There is a setting in the configuration to not show scroll bars. I used that setting in conjunction with larger spinner buttons. I think that is a friendlier touchscreen interface.
A user really shouldn't be draging anything with their finger tips. I know the hardware is capable, but you wouldn't want to have to use a scroll bar while driving your car for example(coincidentaly my application ).
  Reply With Quote
Old 2004-08-19, 22:03   #7 (permalink)
Anonymous
Guest
 
Posts: n/a


Default

Quote:
Originally Posted by knubile
but you wouldn't want to have to use a scroll bar while driving your car for example(coincidentaly my application ).
I hope that you never use MP while driving... sounds a bit dangerous
  Reply With Quote
Old 2004-08-19, 22:09   #8 (permalink)
Anonymous
Guest
 
Posts: n/a


Default

select a playlist here and there.. just for music and a GPS system. even less complicated than a normal car stereo.
Road trips with friends. it'll be so handy. Think i'll be turning off the video plugin though. I've heard stories of people getting arrested. Don't want any confusion .
  Reply With Quote
Old 2004-08-19, 22:20   #9 (permalink)
Anonymous
Guest
 
Posts: n/a


Default

Another suggestion:

I'd like to have a always visible/reachable menu from which i can access all functions which are normally available by keyboard shortcuts.

One simple example:
When browsing my music files i'd like to 'select' a folder or file and then 'add it to playlist'

Any ideas for skinning ?

Chris
  Reply With Quote
Old 2004-08-19, 23:13   #10 (permalink)
Retired Team Member
 
Join Date: Apr 2004
Age: 34
Posts: 821
Thanks: 0
Thanked 0 Times in 0 Posts

Country:

My System

Default

make a button "add" and let it execute the action for the button Y.

Look @ the way crystal uses these actions.
These action numbers used r the same numbers as in the keymap.xml
<action>12</action> refers to action 12 in the keymap.xml

so now you need to navigate to the folder you want, press the add button you make and you r done.
Skinning is very flexible in this.
YOu just don't know how to do it yet

btw
YOu can make the sliders wider
change the setting:
<height>20</height>
for horizontal
and
<width>20</width>
for vertical

Then you make it wider / higher.
No source needs to be changed for this.
__________________
MrMario64 is offline   Reply With Quote
Reply

Bookmarks

Tags
friendly, howto, skin, tochscreen

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
MPsp Skin V1.0 drowhunter Skins 131 2008-02-11 10:57
Howto skin? prozacdk Skins 9 2006-09-09 17:41
The wellton way user friendly skin rovanve Skins 7 2005-09-30 20:09
Skin Engine Suggestion Anonymous Skins 13 2004-12-19 22:09


All times are GMT +1. The time now is 06:24.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 Protected by Akismet Blog with WordPress