Skinning system
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    serge
    Posts: 725 from 2003/2/20
    Hi guys,

    Morphos Version 2.0 introduced the ability to use transparency effects on Morphos skins, but I dont saw any skin using it clearly.
    Now, we have the second update and no new skins with lots of transparency.
    I would like to know if it's technically possible to do skins like THIS..

    Or more complicated like THIS.

    I would like too to do a nice skin using transparency only on ??title barre?? when window is unfocused, then 100% opacity on ??title barre?? when window is focused. Is it possible to do it on MorphOS ? Here is an exemple

    Lucy unfortunatly does a transparency effect on all the window content and this is not a very nice way to do. With Lucy, thing become unreadable most of time like on this GRAB

    I whish to use a big transparency on the title barre controled by the skin and a very little tranparency added on all the window with Lucy.
  • »23.12.08 - 09:16
    Profile
  • MorphOS Developer
    jacadcaps
    Posts: 3108 from 2003/3/5
    From: Canada
    Quote:

    I would like to know if it's technically possible to do skins like THIS..


    You could get a similar visual effects, but it's not possible to move the buttons.

    Quote:

    Or more complicated like THIS.


    Same as above.

    Quote:

    I would like too to do a nice skin using transparency only on ??title barre?? when window is unfocused, then 100% opacity on ??title barre?? when window is focused. Is it possible to do it on MorphOS ? Here is an exemple


    Possible since MorphOS 2.0. I'll post some info on how to do this in January.
  • »23.12.08 - 11:01
    Profile Visit Website
  • ASiegel
    Posts: 1376 from 2003/2/15
    From: Central Europe
    @ serge

    Quote:

    I whish to use a big transparency on the title barre controled by the skin and a very little tranparency added on all the window with Lucy.


    Take a look at the following example skin: Download

    It features smooth rounded window edges and a transparent title area for inactive windows. In order to change an existing skin, you need to complete the following two steps:

    1. Make copies of existing titlebar graphics and add the extension "Alpha" to each file name. (The reason why transparent title bar graphics use a different name is that they work only when 3D layers are enabled. In case somebody uses 2d layers, MorphOS will try to fall back to non-transparent versions of the title bar graphics.)

    2. Change the title bar graphics according to your liking. Make sure that all PNG files include an alpha channel even if they contain no transparency.


    With regard to transparent window borders outside of the top title bar area, this is in fact possible if you paint parts of the window borders inside the shadow graphics. This will allow you to create rounded window edged on the bottom of windows, for instance. This method also has a few downsides, however. For instance, if somebody maximizes a window, all border parts inside the shadow graphics will be moved outside of the visible screen area. Also, if you enable the option that allows to drag windows by clicking on their borders, you need to be aware that you cannot drag a window by clicking on its outer shadow area. However, all of these issues are hardly noticable if only very thin bitmap borders are included in the shadow graphics.
  • »23.12.08 - 13:47
    Profile
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    serge
    Posts: 725 from 2003/2/20
    thank you very much guys,

    I'll do a try this evening.
  • »23.12.08 - 15:14
    Profile
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    Jambalah
    Posts: 820 from 2008/3/30
    From: Roma, Italy
    I'm trying what ASiegel wrote and I decided to built the "Matrix Skin"...
    It's a long work, but I'm enjoying! I hope you too!!!

    http://img177.imageshack.us/img177/783/23478572lk7.png

    It's only the beginning so something is missing... =)

    [ Edited by Jambalah on 2009/1/14 15:44 ]
    Pegasos II 1 ghz
    Powermac G4 Quicksilver with Sonnet Encore 1.8 ghz
    Powermac G4 MDD single 1.25 ghz, silenced for ears health...
    Powermac G5 dual 2.7 ghz I'll be back...
    Powermac G5 dual 2.0 ghz
    Powerbook G4 1.67 ghz 17
  • »14.01.09 - 13:40
    Profile
  • Order of the Butterfly
    Order of the Butterfly
    maurensen
    Posts: 358 from 2003/10/3
    From: Padova - Italy
    @Jambalah
    nice work mate!

    Ciao
    -------------------
  • »14.01.09 - 14:59
    Profile
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    CountRaven
    Posts: 566 from 2007/12/10
    From: Greece
    Looks nice!
  • »15.01.09 - 04:48
    Profile Visit Website