Forums
| SharpEnviro, an open source shell replacement for Windows :: Forums :: SharpE Beta :: Skinning |
|
<< Previous thread | Next thread >> |
| Quick Guide into SharpSkin | ||
|
Moderators: Billi Berserker, pixol, Malx, captainhérisson, silentpyjamas, glacialfury, mc, yay, brum74, HomerSp
|
| Author | Post | ||
| Billi Berserker |
| ||
![]() Registered Member #1 Joined: Mon Dec 13 2004, 01:12AMPosts: 853 | SharpSkin is the application used to create skins for SharpE. A SharpE skin is an .xml file defining how to render each skinable element of the shell. You can either edit the .xml file manually or you can use SharpSkin. This is just a quick quite about SharpSkin. Notes: - A basic understanding of how XML is working is necessary to use this application - Saving is only possible when the "Plain XML" tab is activated - Make sure all components got merged correctly in the "Plain XML" tab before saving! - Rendering the bar background sometimes doesn't work (click the render button twice) - When using "Render" in another than the "Plain XML" tab this will only update the current component! - The undo function sometimes might work a bit strange (there is no redo...) - Manually create backups of your XML files from time to time (you never know what might happen) - Nobody has to use this application! If you prefer hacking around in plain XML with notepad do this - As always: keep in mind that this is an alpha/beta/whatever test version Hotkeys: Ctrl + J = Auto Completion Ctrl + Y = Delete whole line Special Component Properties and Notes: Mini Throbber: - AutoSize will always be turned on, this means that the skin has to specify the actual size of the throbber! So do not set dimension to w,h... set it to the size you want the throbber to be! - The position of any Mini Throbber will be set by SharpBar. The top position always refers to the top point of the module area in SharpBar. If you want your Mini Throbbers to not start at the top most pixel then just leave some empty space at the top. SharpBar: For SharpBar there are some addiitonal property tags available:
the bar is displayed at the bottom of the screen. (0 = False, 1=True)
module area. Set these offsets to get some space for a Throbber or round edges. Use it to make sure that the modules don't reach into skin pars where they are not supposed to be
area. With these example values the module area will start 3px from the top of your skin and reach until bottom - 3px.
cut off area. If you are using a drop shadow in your Bar then it could be usefull to cut this shadow off when the bar is displayed at the bottom of the screen. You can simply set the amount of pixels which will be removed at the top and the bottom...
displayed in full screen mode. Use this option to cut off round edges or parts at the left/right border of the bar which are not supposed to be visible if the left or right bar border reaches a screen border. Progress Bar: In some situations there might be progress bars with a small height used somewhere. For some skins it could cause drawing problems when the bar height gets below a fixed value (for example when using big round edges). In this case the ProgressBar component supports the usage of a second skin. In addition to 'background' and 'progress' there are two more drawing parts supported : 'smallbackground' and 'smallprogress'. The skin parts specified in those two additional tags will be used when the bar height gets below the value specified in another The the moment and the y value simply sets the height of the component before the 'smallbackground' and 'smallprogress' parts will be used. For example
| ||
| Back to top |
| ||
| Maxicube |
| ||
![]() Registered Member #2208 Joined: Fri Oct 24 2008, 06:33AMPosts: 10 | OOOH!! OOOH!! I HAD AN IDEA! Wats about a skin editing prog? would be easy enough in vb. dunno bout delphi tho :P have fun! acctually, is this a skin prog? :P [ Edited Sat Oct 25 2008, 12:39AM ] | ||
| Back to top | | ||
| Darkwiz666 |
| ||
![]() Registered Member #2619 Joined: Sun Nov 22 2009, 09:23AMPosts: 1 | I just joined, but I want to make a skin for SharpE... I noticed Billi mention SharpSkin...but what is it? Where can I download it (if it wasn't already bundled)? I tried Googling for it and all I came up with is http://www.hexad.dk/ opensource/ sharpskin.html, but I'm not sure if that's it or not.... | ||
| Back to top | | ||
| Billi Berserker |
| ||
![]() Registered Member #1 Joined: Mon Dec 13 2004, 01:12AMPosts: 853 | SharpSkin was a program designed for editing the skin xml and previewing the images. Sadly we haven't had the time to keep it updated with all the skin system changes so we had to drop it completely. The best way to start a skin now is to just edit an already existing skin and see how it's done there. You can also check out the basic skin docs on the trac: http://trac.sharpe- shell.org/wiki/ SkinsDocsMain BB - -email- Lead developer (SharpBar, SharpDesk, SharpTheme, Skin System,) | ||
| Back to top |
| ||
Powered by e107 Forum System
Or do own analyze?






![[ Visitor ]](../../e107_themes/captain/forum/rank0.gif)