It is currently Mon Mar 18, 2024 8:35 pm

All times are UTC - 8 hours [ DST ]




Post new topic Reply to topic  [ 30 posts ] 
Author Message
PostPosted: Fri Aug 19, 2016 2:07 pm 
Offline
User avatar

Joined: Fri Apr 18, 2014 12:43 pm
Posts: 68
Would it be possible to implement more than just the 3 tint colors in a start menu skin? I know that the 3 color limitation is because the masks are based on RGB colors, but I was wondering if there could be any ways around this. If there's not, I do have an idea/suggestion for Ivo that could allow people to use multiple mask bitmaps. Here's what I'm thinking:

Let's say this is my main start menu bitmap.

(Not actually mine, credit goes to JoshD)

Now let's say I wanted to have the bitmap follow system colors. So the skin's scripting could look something like this:
Code:
Main_bitmap_mask1=101
Main_bitmap_mask2=102

Main_bitmap_tint1=$System3DDKShadow
Main_bitmap_tint2=$SystemBtnShadow
Main_bitmap_tint3=$SystemBtnHighlight
Main_bitmap_tint4=$System3DLight
Main_bitmap_tint5=$SystemBtnHighlight



And the masks could look like this:



Black would represent where the colors are defined by the other mask bitmap, or areas that would be otherwise ignored (if black on both masks). I'm not sure how something like this would effect performance, or how difficult this would be to implement. Maybe it would be best to not allow colors to overlap each other on the separate masks. Just a thought.

Please let me know what you think, or if you otherwise have any other ideas for using more than just 3 mask colors. Thanks in advance.


Top
 Profile  
Reply with quote  
PostPosted: Fri Aug 19, 2016 3:48 pm 
Offline
User avatar

Joined: Thu Jun 13, 2013 12:07 pm
Posts: 1208
info from Metallic skin

; Patterns - The pattern system allows you to specify up to 4 separate tileable textures that cover the main menu. By default the patterns cover the entire menu unless
; a pattern mask is specified. The Red, Green, Blue and Alpha channels of the mask determine where on the main menu the patterns will show.
; For Classic styles there is only one mask Main_pattern_mask. For Windows 7 styles there are additional masks Main_pattern_search_mask, Main_pattern_jump_mask,
; Search_pattern_mask, Search_pattern_search_mask and Search_pattern_jump_mask

; Emblems - The emblems are additional images that are drawn on top of the main menu without any stretching. You can have up to 10 separate emblems.
; Each emblem has an bitmap, padding and alignment. The padding specifies how many pixels to leave on each side of the emblem. The alignment specifies how to
; align the image relative to the menu. The horizontal alignment can be left, left1, left2, right, right1, right2, center, center1, center2 or corner.
; The vertical alignment can be top, bottom, center or corner.
; Emblems can have a mask similar to the patterns, which will restrict where on the menu the emblem will show. The Classic style only needs one mask Main_emblem_mask.
; For Windows 7 styles there are additional masks Main_emblem_search_mask, Main_emblem_jump_mask, Search_emblem_mask, Search_emblem_search_mask and Search_emblem_jump_mask
; Only the first 4 emblems are affected by the mask. The other 6 will be drawn in full.


Top
 Profile  
Reply with quote  
PostPosted: Fri Aug 19, 2016 4:09 pm 
Offline
User avatar

Joined: Thu Jun 13, 2013 12:07 pm
Posts: 1208
Message from Ivo on XP Classic Retro

Sure, but with the tint system you can use a single bitmap+mask and have 3 separate color areas. The colors can be set via the tints. You can have as many variations as you want without adding bitmaps.

In the simplest case you can even replace the bitmap with a solid color, so all you need is a single mask bitmap. Let's say you have a mask that is square with 4 quadrants - black, red, green, and blue. You can control what color goes into each quadrant:
Main_bitmap_mask=11 - the mask bitmap
Main_bitmap=#123456 - first color (goes into the black areas of the mask)
Main_bitmap_tint1=#56789A - second color (goes into the red areas of the mask)
Main_bitmap_tint2=#ABCDEF - third color (goes into the green areas of the mask)
Main_bitmap_tint3=#FEDCBA - fourth color (goes into the blue areas of the mask)

The alpha channel of the mask bitmap can be used to provide transparency.

Take a look at the Metro skin. It makes heavy use of this trick to combine the Windows colors into multiple shapes.


Top
 Profile  
Reply with quote  
PostPosted: Fri Aug 19, 2016 4:12 pm 
Offline
User avatar

Joined: Thu Jun 13, 2013 12:07 pm
Posts: 1208
Maybe I'm wrong, but I think the same masks used for patterns, (or a solid color image),
can be reused for tints as well.


Top
 Profile  
Reply with quote  
PostPosted: Sat Aug 20, 2016 1:00 am 
Offline
User avatar

Joined: Fri Apr 18, 2014 12:43 pm
Posts: 68
Funny you should mention XP Classic Retro, I'm actually currently working on a modified version of that very skin that follows system colors like the original Windows XP start menu did with the classic theme, which was the reason I created this thread in the first place! (But if you couldn't guess from the example bitmap I used, I'm also looking into doing this elsewhere)

Anyway, I wasn't even aware of pattern/emblem bitmaps. I'll have to do some experimenting with them.


Top
 Profile  
Reply with quote  
PostPosted: Sat Aug 20, 2016 7:14 am 
Offline
User avatar

Joined: Thu Jun 13, 2013 12:07 pm
Posts: 1208
If one could figure out the exact blend ratio of the color amounts that Microsoft used,
the whole process could be a lot easier.
Tint color masks can be blended on the bitmap to achieve a mix.
Less tints, and repeatable with different colors, equals smaller skin size.

If you are a coder, is the MS code that makes the menu visible to you?



On one of those versions, I made masks for a lot of the submenus and separators.
Ends up lots of text.


Attachments:
Menu, separator masks .png
Menu, separator masks .png [ 2.82 KiB | Viewed 97562 times ]
Top
 Profile  
Reply with quote  
PostPosted: Tue Aug 23, 2016 4:08 pm 
Offline
User avatar

Joined: Fri Apr 18, 2014 12:43 pm
Posts: 68
I'm not sure I understand what you mean by 'exact blend ratio'. If I'm understanding you correctly, Windows doesn't 'blend' colors (well not with the classic theme at least) but all of the system colors are stored in the registry and are completely changeable. It doesn't darken or brighten the color based on the ButtonFace color for borders, but rather it has unique border colors. Go to the Start Menu Skinning Tutorial page and check the System Colors section for a complete list of colors. I hope I'm understanding you correctly.

Anyway, the pattern method works great. Thanks for your help! Take a look at your XP Classic Retro thread to see what I've been able to do with this.


Top
 Profile  
Reply with quote  
PostPosted: Tue Aug 23, 2016 9:54 pm 
Offline
User avatar

Joined: Thu Jun 13, 2013 12:07 pm
Posts: 1208
Hi R.O.B.
Looking good.
I thought skin is not going to work in Win 7, due to the $ sign for metro colors?
Works great on Win7, with the Windows Classic color adjustments.
Similar to the way "Classic skin" works, but with adjustable gradient.
Does that mean if you put the Win7 name for text color, that can be variable as well?


In Win10, gradient is just one soft blue color.
I'm sure you have that special hack way, to turn on the 3d border and colors.


I think what I was blabbering about was:

For Win 10 without any hack, having 3d borders built into skin.
Looking at picture of your skin on Win7,
the menu picked color is mixed with white to get two different ratios for the lighter shades of that color.
If that ratio/percentage is known, then possibly just one tint color mask,
could be used with those three intensities built in,
along with a white tint as background, to mix it to proper proportion.
And Ivo's custom color picker built into skin option could be used instead.

Well that was the way I was thinking, that could drastically reduce overall skin size. :)


Attachments:
Classic xp Image.png
Classic xp Image.png [ 318 Bytes | Viewed 97345 times ]
Top
 Profile  
Reply with quote  
PostPosted: Tue Aug 23, 2016 11:27 pm 
Offline
User avatar

Joined: Fri Apr 18, 2014 12:43 pm
Posts: 68
Yeah, that's kind of what I thought you were saying. Like I said, all of the border colors are unique and can be defined in the registry; it is possible to switch the dark/light colors. The only time Windows itself 'blends' colors is when the ButtonFace color is changed in the Advanced Appearance settings, and even then it writes those new colors to the registry. But by using patterns, it would totally be possible to have 3D borders with visual styles enabled. You'd just have to be smart about the masking bitmaps.


Top
 Profile  
Reply with quote  
PostPosted: Wed Aug 24, 2016 9:24 am 
Offline
User avatar

Joined: Thu Jun 13, 2013 12:07 pm
Posts: 1208
juniper7 wrote:

Does that mean if you put the Win7 name for text color, that can be variable as well?



On Win7 Classic mode, I could not figure out the menu text color.
Most of time it would not change, sometimes it would.
I changed on my copy, the text color from $SystemWindowText
to $SystemMenuText

Also
Works well in high contrast theme mode on Win 10


Top
 Profile  
Reply with quote  
PostPosted: Wed Aug 24, 2016 1:17 pm 
Offline
User avatar

Joined: Fri Apr 18, 2014 12:43 pm
Posts: 68
Huh, that's weird. $SystemMenuText should be correct.

Anyway, I'd love to see a version with 'built-in' 3D borders that work with visual styles. Actually, if you look at the mask examples on the first post in this thread, those could actually be usable for just this. Just make one of them a main bitmap mask, and the other one a pattern mask, and you've got 3D borders that will change with your system. I'll try it out when I've got the time.


Top
 Profile  
Reply with quote  
PostPosted: Wed Aug 24, 2016 4:56 pm 
Offline
User avatar

Joined: Thu Jun 13, 2013 12:07 pm
Posts: 1208
Are you saying that using all the windows system color text,
in a Classic Shell Menu skin, could be compatible with the colors in any msstyles menu theme?


I was playing with those masks of yours. Moving colors around.
Getting 6 colors set up, then I stopped.

So for main bitmap, 4 tints available on bitmap mask,
with another 4 pattern mask tints equals 8 available colors. More than enough.

Then remembered. Ivo said submenu does not use patterns, only main menu.
Something about would slow operation/resources down.

There are 4 colors available with submenu mask tints.
Would require up to 5 colors to cover everything.
Oh well.


Top
 Profile  
Reply with quote  
PostPosted: Wed Aug 24, 2016 10:11 pm 
Offline
User avatar

Joined: Fri Apr 18, 2014 12:43 pm
Posts: 68
Oh darn, I forgot about the submenus! I'd say we might just have to use unskined submenus, unfortunately. Either that or submenus that use a fixed color, and I personally am not a fan of that idea.

Also, what was I thinking for not using $SystemMenuText? I mean that seems like a no-brainer, right? I guess I'll update that.


Top
 Profile  
Reply with quote  
PostPosted: Wed Aug 24, 2016 10:56 pm 
Offline
Site Admin
User avatar

Joined: Wed Jan 02, 2013 11:38 pm
Posts: 5333
Sorry, I did not see this thread until now. But no, you can't have more than 3 tint colors per bitmap, however you can mix them in any combination. It will allow you to achieve in-between gradients and shades.


Top
 Profile  
Reply with quote  
PostPosted: Wed Aug 24, 2016 11:08 pm 
Offline
User avatar

Joined: Thu Jun 13, 2013 12:07 pm
Posts: 1208
Practically all the submenus just use 4 colors anyway,
3 tints plus the black = 4. So its doable.


Top
 Profile  
Reply with quote  
PostPosted: Wed Aug 24, 2016 11:54 pm 
Offline
User avatar

Joined: Fri Apr 18, 2014 12:43 pm
Posts: 68
True, but I guess we'd have to exclude $System3DLight. To be honest I can live with that, especially since with most themes, $System3DLight ends up being the same color as $SystemBtnFace anyway.


Top
 Profile  
Reply with quote  
PostPosted: Sat Sep 03, 2016 10:00 am 
Offline
User avatar

Joined: Thu Jun 13, 2013 12:07 pm
Posts: 1208
Hi R.O.B.
Was looking at your Windows XP Classic.skin.
I am interested in this text that is disabled:

Main_font="",normal,-11

Does the " " force system font to be used?



Also, I'm starting to make a Win 98 single column skin,
that will have built in 3d borders for maybe,
Plus! set colors as well as a 3d borders variation with your $ system text.


Part of the text I put in looks like this:

;MAIN BITMAP SECTION - describes the background of the main menu

Main_bitmap_mask=2
Main_bitmap=$SystemBtnFace
Main_bitmap_tint1=$SystemBtnShadow
Main_bitmap_tint2=$System3DDKShadow
Main_bitmap_tint3=$SystemBtnHighlight

Main_pattern_mask=1
Pattern1_mask=5
Pattern2_mask=5

Pattern1=$SystemActiveCaption
Pattern1_tint1=$SystemActiveCaption
Pattern2=$SystemGradientActiveCaption
Pattern2_tint1=$SystemGradientActiveCaption

;Pattern1=$SystemBtnShadow
;Pattern1_tint1=$SystemBtnShadow
;Pattern2=$SystemBtnShadow
;Pattern2_tint1=$SystemBtnShadow

It seems to look and work correctly so far, just like yours, but with 3d borders in Win 10 . :)


Top
 Profile  
Reply with quote  
PostPosted: Sat Sep 03, 2016 10:24 am 
Offline
User avatar

Joined: Thu Jun 13, 2013 12:07 pm
Posts: 1208
Here is what I made so far for the baseball color in Win 98.
It has built in color, not a theme color, using on normal Win 10 system theme.
Only 16 more color variations to go.

I'm thinking to copy what you did with a real picture of win 98 caption.
That will make it look more original. Will have to figure which way is better, picture built in,
or picture as emblem, on top of menu?

If all works properly, I should be finished skin in less than a week.


Attachments:
Baseball  plus! color.png
Baseball plus! color.png [ 35.14 KiB | Viewed 97100 times ]
Top
 Profile  
Reply with quote  
PostPosted: Sat Sep 03, 2016 11:36 am 
Offline
User avatar

Joined: Thu Jun 13, 2013 12:07 pm
Posts: 1208
I found a classic theme that can be used on Win 10, along with built in 3d border variation of your skin (using the $ system text).

http://kizo2703.deviantart.com/art/Wind ... -325642288

looks promising :)
This theme does make my web browser look funny.
Still makes me mad MS took out the Classic theme option from Win8/10.

How about a million of us request MS to put back in!?


Attachments:
Juniper7,R.O.B. hybrid.png
Juniper7,R.O.B. hybrid.png [ 119.13 KiB | Viewed 97080 times ]
Top
 Profile  
Reply with quote  
PostPosted: Sat Sep 03, 2016 11:47 am 
Offline
User avatar

Joined: Sun Feb 22, 2015 3:09 pm
Posts: 696
juniper7 wrote:
I found a classic theme that can be used on Win 10, along with built in 3d border variation of your skin (using the $ system text).

http://kizo2703.deviantart.com/art/Wind ... -325642288

looks promising :)

...how does that look promising? It's just a High Contrast colour scheme .-.

juniper7 wrote:
Still makes me mad MS took out the Classic theme option from Win8/10.



They lied.

_________________
I'm sorry for getting your hopes up, only to shatter them. Best wishes, wherever you're all headed next.


Top
 Profile  
Reply with quote  
PostPosted: Sat Sep 03, 2016 12:01 pm 
Offline
User avatar

Joined: Thu Jun 13, 2013 12:07 pm
Posts: 1208
hey Splitwirez.

Huh.
Does that mean a future build has itold build had it, or are you pulling my leg, with a hack?


Top
 Profile  
Reply with quote  
PostPosted: Sat Sep 03, 2016 12:02 pm 
Offline
User avatar

Joined: Thu Jun 13, 2013 12:07 pm
Posts: 1208
Hi R.O.B.
Just one more question.
For the built in colors variation in first tan picture,
I copied icon bar effect. I used Ivo's icon frames, without a gap in between.
I cant make it work in sytem variation though. Don't know what it references to.

Do you happen to know what $ ??????text
to use in your variation?


Top
 Profile  
Reply with quote  
PostPosted: Sat Sep 03, 2016 2:01 pm 
Offline
User avatar

Joined: Sun Feb 22, 2015 3:09 pm
Posts: 696
juniper7 wrote:
hey Splitwirez.

Huh.
Does that mean a future build has itold build had it, or are you pulling my leg, with a hack?


Umm...yes and no. The Classic Theme was never removed, and all it takes is one tiny 3rd-party tool to re-enable it. Said tool doesn't even need to kill DWM to do so! Problem is, half the shell has no idea what to do with it and just falls apart in some way or another .-.

_________________
I'm sorry for getting your hopes up, only to shatter them. Best wishes, wherever you're all headed next.


Top
 Profile  
Reply with quote  
PostPosted: Sun Sep 04, 2016 9:28 am 
Offline
User avatar

Joined: Thu Jun 13, 2013 12:07 pm
Posts: 1208
Hi Splitwirez.

I gather you are talking about R.O.B.'s link:

http://forum.thinkpads.com/viewtopic.php?f=67&t=113024

and yours:

http://winclassic.boards.net/


Did not try it.
I don't have all the time in the world to read all the forums.
It's fine for playing around with on a "test system"
Mainstream people don't want to have the operating system crippled in some way,
or worse, when it crashes and really screws things up.
You made me remember on Win98 with the hundreds of BSODeaths.
I was so frustrated, I made a boot screen picture of me throwing my computer out the window!

If you guys can get it working higher than 99 %, let me know, and I will try then. ;)

Thanks.


Top
 Profile  
Reply with quote  
PostPosted: Sun Sep 04, 2016 9:51 am 
Offline
User avatar

Joined: Sun Feb 22, 2015 3:09 pm
Posts: 696
juniper7 wrote:
Hi Splitwirez.

I gather you are talking about R.O.B.'s link:

http://forum.thinkpads.com/viewtopic.php?f=67&t=113024

and yours:

http://winclassic.boards.net/

Yes


juniper7 wrote:
Did not try it.

D:

juniper7 wrote:
I don't have all the time in the world to read all the forums.

Who does have time for all the forums? .-.


juniper7 wrote:
It's fine for playing around with on a "test system"

Agreed, I'd never run it on my main machine at this point.


juniper7 wrote:
Mainstream people don't want to have the operating system crippled in some way
Splitwirez wrote:
Agreed, I'd never run it on my main machine at this point.

juniper7 wrote:
or worse, when it crashes and really screws things up.

...which doesn't really happen much AFAIK because the tool is per-session but whatever, stranger things have happened.


juniper7 wrote:
You made me remember on Win98 with the hundreds of BSODeaths.
I was so frustrated, I made a boot screen picture of me throwing my computer out the window!

WHY WOULD YOU DO THAT!? DDD:
juniper7 wrote:
If you guys can get it working higher than 99 %, let me know, and I will try then. ;)

...99%? How about "no essential functionality is lost or damaged"? .-.

_________________
I'm sorry for getting your hopes up, only to shatter them. Best wishes, wherever you're all headed next.


Top
 Profile  
Reply with quote  
PostPosted: Sun Sep 04, 2016 12:25 pm 
Offline
User avatar

Joined: Thu Jun 13, 2013 12:07 pm
Posts: 1208
I didn’t literally throw my computer out window. :)
Just a fake low res picture.

I’m into electronics, so everything just gets modded/recycled into another creation.
I doctor my machines, until no more life in them.


Top
 Profile  
Reply with quote  
PostPosted: Tue Sep 06, 2016 11:51 am 
Offline
User avatar

Joined: Thu Jun 13, 2013 12:07 pm
Posts: 1208
I finished the Win98 plus! skin. I made completely new caption pictures, the original no good for hi dpi.
Thankyou for all the text R.O.B. I have modified it somewhat.

viewtopic.php?f=17&t=6796


Top
 Profile  
Reply with quote  
PostPosted: Sat Sep 17, 2016 2:47 am 
Offline
User avatar

Joined: Fri Apr 18, 2014 12:43 pm
Posts: 68
Well this is what I get for being so busy lately. I mean wow, I missed out on a lot here. Sorry I didn't get back to you, Juniper. Do you still have any questions for me? Or have you kind of figured everything out by yourself?


Top
 Profile  
Reply with quote  
PostPosted: Sat Sep 17, 2016 10:47 am 
Offline
User avatar

Joined: Thu Jun 13, 2013 12:07 pm
Posts: 1208
I did kind of figure everything out for the skin. It works as it should with a minimal regular theme.
Just don't know enough about making a theme that can work in Win 10,
that does not screw up the look on web pages.
Splitwirez might know if possible? :)


Top
 Profile  
Reply with quote  
PostPosted: Sat Sep 17, 2016 5:02 pm 
Offline
User avatar

Joined: Sun Feb 22, 2015 3:09 pm
Posts: 696
juniper7 wrote:
I did kind of figure everything out for the skin. It works as it should with a minimal regular theme.
Just don't know enough about making a theme that can work in Win 10,
that does not screw up the look on web pages.
Splitwirez might know if possible? :)


Just use WSB to port this to Windows 10:

_________________
I'm sorry for getting your hopes up, only to shatter them. Best wishes, wherever you're all headed next.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 30 posts ] 

All times are UTC - 8 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 20 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group, Almsamim WYSIWYG Classic Shell © 2010-2016, Ivo Beltchev.
All right reserved.