Titlebar buttons

By Posted April 28, 2008 10:33:06
Can somebody describe to me how these titlebar buttons work?? Several skins I've looked at have several copies of the buttons. On my own skin, I've got this weird bug where the buttons dissapear in windows that are not focused. What's going on?

Using Skin Studio 6.
0 Karma 11 Replies 6 Referrals
April 28, 2008 10:40:35
It's not a bug. In SKS6 you can set when the buttons show and what they do. Under the UIS2 frames in the Titlebar Buttons section, there is a tab called Visibility. You can change when a button shows there by choosing a particular option. The best way that I have found , is just expiriment with the different settings till you get what you want!
April 28, 2008 11:11:55
Even if "Always show button" is the only one that is checked, it will still only show in the active window.
April 28, 2008 11:22:24
Make a seperate button for the inactive window (if you don't already have it) and try clicking both the 'always show' and the 'show if inactive" buttons for the inactive window and see if that works. Be sure to check that nothing else is checked except those two. Thats how I have mine currently set up and it's working.
April 28, 2008 12:24:14
Turns out that the skin I was using as a base skin was using three images instead of the default six. When I switched to six images for the buttons, it started working.
April 28, 2008 12:52:24
Good, glad you got it working.   
April 28, 2008 13:01:29
I like SkinStudio 6, but it does seem quite quirky. Never tried 5, BTW.

One thing that is sorta annoying is that I have to duplicate an image so many times, even if I don't want a separate image for all of the states and it's shared all over the place.

BTW, do you know what colouring masks are?
April 28, 2008 16:56:36
This is from an older thread on thst subject...
This is from an old guide, but it explains masks:
WindowBlinds 2.0 allows users to change the color of skins. A skin author, however, may not want the entire skin's color changed. Instead, they may only want certain aspects of a skin changed. For instance, you might want your blue title bar to be able to be colored but not have your tray border. So how do you do this?The answer is you create a mask image. A mask image is typically a grayscale image in which white areas are areas you want the colors changed and black areas being ones you don't want changed (with intermediate colors being in between). If you are an expert on colors, you can get fancier and supply a 24bit mask image and come up with some really strange blendings (for instance, if you want only the the reds blended into your skins of a chosen color, you would supply an image with a color mask of 255,0,0 ). We only recommend that for die hards. A gray scale image is the most intuitive way of creating a mask in this instance.To create a mask, you simply take one of your existing bitmaps, turn it to a grayscale and make the areas you want changeable white and those you don't want changed black.


April 28, 2008 17:12:50
A rarely used and now mostly unnecessary feature because of the new colorize abilities in WB6.  
April 28, 2008 18:26:17
Thanks for the explanation, Xiandi!

A rarely used and now mostly unnecessary feature because of the new colorize abilities in WB6.


A skin developer may want to include some color schemes with his/her own set of colors, or want the ability to control which parts of the skin are colorized. Some skins may have decorations that will look ugly if colorized. It sounds pretty useful for more complex skins.
April 28, 2008 19:07:31
Thanks for the explanation, Xiandi!


Pictoratus deserves the credit for that one. He found it for me a little while ago.  
April 29, 2008 15:36:04
Some skins may have decorations that will look ugly if colorized. It sounds pretty useful for more complex skins.


Yes,that is when a mask is a great idea...the rest of the skin can change colors but a specific element should be left alone.  
Stardock Forums v1.5.3112.18688
© 1995-2008 Stardock Corporation. All rights reserved.
All times are EST. The time is now 06:58:46
Server Load Time: 00:00:00.0000016   Page Render Time:
© 2008 Stardock Corporation. All rights reserved.