LinuxMCE Forums
May 19, 2013, 09:53:15 pm GMT-1 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com
 
   Home   Help Search Chat Login Register  
Pages: [1]
  Print  
Author Topic: New Skin, Slate  (Read 1453 times)
tschak909
LinuxMCE God
****
Posts: 5101

DOES work for LinuxMCE.


View Profile
« on: July 21, 2009, 10:49:14 pm »

Hello everyone,

I wanted to make an example skin that didn't require dipping into Designer AT ALL. All I did was change the bitmap images.

Screenies: http://www.localeconcept.com/pub/slate-screenies/
Skin: http://tschak.homelinux.com/xfer/Slate.tar.gz <-- temporary place, this will be folded into 0810.

Come on guys, let's get cracking! Smiley

-Thom
Logged
skeptic
Addicted
*
Posts: 615


View Profile
« Reply #1 on: July 22, 2009, 08:14:28 pm »

While on the sujbect, is it possible to use different shapes for the various buttons as long as they are roughly the same size for a skin only (no HA Designer work) update?

For the more newbie question - without replacing the existing UI1/UI2 bitmaps, how can we use new bit-map modified only skins?
Logged
hari
Administrator
LinuxMCE God
*****
Posts: 2413



View Profile WWW
« Reply #2 on: July 22, 2009, 09:10:58 pm »

nice work tschak! GO TSCHAK GO! :-)
Logged

rock your home - http://www.agocontrol.com home automation
tschak909
LinuxMCE God
****
Posts: 5101

DOES work for LinuxMCE.


View Profile
« Reply #3 on: July 22, 2009, 10:24:10 pm »

While on the sujbect, is it possible to use different shapes for the various buttons as long as they are roughly the same size for a skin only (no HA Designer work) update?

For the more newbie question - without replacing the existing UI1/UI2 bitmaps, how can we use new bit-map modified only skins?

1. yes, they are just bitmap replacements

2. You need to create an entry in the Skin table, following the one for Basic as the pattern (be sure not to fill in the psc_foo fields.)

3. once a skin is finished, work with us, and we'll fold it in as a package, and make  it so that it will install the bitmap graphics when requested automatically.

Slate will be folded into the release.

-Thom
Logged
skeptic
Addicted
*
Posts: 615


View Profile
« Reply #4 on: July 22, 2009, 10:45:09 pm »

I'm not really comfortable messing with SQL tables...  I suppose I can copy out the default UI bitmap directories (tar them up or something), then put updated bitmaps there to check them out.  I simply don't have time to dig in and learn HA Designer or do other dev work (not a programmer so I wouldn't do actual dev work anyway), but I may take a crack at new skins.

For UI2 overlay vs. alpha, is there anything I should be aware of?
Logged
tschak909
LinuxMCE God
****
Posts: 5101

DOES work for LinuxMCE.


View Profile
« Reply #5 on: July 22, 2009, 11:41:17 pm »

No, DO NOT DO THAT. EVER.

Just use MySQL Query Browser to make a new row in the skin table, make a copy of the Basic folder under /usr/pluto/orbiter/skins with the name of your new skin and put that in the Path column of your new row.

This way, you can also make entries in Style and StyleVariation to change text styles, and things like data grid colours.

What I do to make that possible is, in a console:

Code:
sudo ln -s /usr/pluto/orbiter/skins /home/skins
sudo chmod ugo+rwx /usr/pluto/orbiter/skins

You then can connect to the \\dcerouter\home share, and put graphics in the skins folder.

With this done, you can select the skin in wizard > orbiters and do a full regen of the orbiter to see your new skin changes. You must do a full regen every time while in development, because this way it ensures you'll see the changes.

As for UI2 considerations, you must understand that in UI2 masked, any alpha channel value below 255 is black, in other words, the alpha channel gets flattened to a GIF-like matte.

-Thom
Logged
skeptic
Addicted
*
Posts: 615


View Profile
« Reply #6 on: July 23, 2009, 12:27:17 am »

No, DO NOT DO THAT. EVER.
Oh, ok then.  I figured I'd do it in a vbox install so as not to endanger my actual setup, but I can try to do it the correct way.
Quote
Just use MySQL Query Browser to make a new row in the skin table, make a copy of the Basic folder under /usr/pluto/orbiter/skins with the name of your new skin and put that in the Path column of your new row.
Ok, I'll give that a try when I get a chance
Quote

This way, you can also make entries in Style and StyleVariation to change text styles, and things like data grid colours.

What I do to make that possible is, in a console:

Code:
sudo ln -s /usr/pluto/orbiter/skins /home/skins
sudo chmod ugo+rwx /usr/pluto/orbiter/skins

You then can connect to the \\dcerouter\home share, and put graphics in the skins folder.

With this done, you can select the skin in wizard > orbiters and do a full regen of the orbiter to see your new skin changes. You must do a full regen every time while in development, because this way it ensures you'll see the changes.

As for UI2 considerations, you must understand that in UI2 masked, any alpha channel value below 255 is black, in other words, the alpha channel gets flattened to a GIF-like matte.

-Thom
Ok, I'll try keep that in mind.  Thanks.
Logged
totallymaxed
LinuxMCE God
****
Posts: 4310


View Profile WWW
« Reply #7 on: July 23, 2009, 09:42:56 am »

Hello everyone,

I wanted to make an example skin that didn't require dipping into Designer AT ALL. All I did was change the bitmap images.

Screenies: http://www.localeconcept.com/pub/slate-screenies/
Skin: http://tschak.homelinux.com/xfer/Slate.tar.gz <-- temporary place, this will be folded into 0810.

Come on guys, let's get cracking! Smiley

-Thom

Looking good Thom :-)

Andrew
Logged

Andy Herron,
Convergent Home Technologies Ltd
United Kingdom

Dianemo S Now Shipping on Ubuntu 12.04LTS
Build your system on the latest Ubuntu OS Release!

Get a Dianemo S License: http://forum.linuxmce.org/index.php?topic=8880.0
iOS Orbiter: http://wiki.linuxmce.org/index.php/Dianemo_iOS_Orbiter
Follow us on Facebook: https://www.facebook.com/pages/Dianemo-Home-Automation/226019387454465

Sales & Info:
http://www.dianemo.co.uk
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!