Stickies
« SkinDesigner :: Additional color for some elements »

Welcome Guest. Please Login or Register.
Jul 22nd, 2017, 07:49am


Click to go to the
Zhorn Software Web Site
Click to go to the
Knowledgebase

« Previous Topic | Next Topic »
Pages: 1  Notify Send Topic Print
 thread  Author  Topic: SkinDesigner :: Additional color for some elements  (Read 297 times)
CONE
Junior Member
ImageImage


member is offline

Avatar




PM


Posts: 48
xx SkinDesigner :: Additional color for some elements
« Thread started on: Nov 5th, 2016, 08:11am »

Hi Tom

What do you think about adding this feature in some elements of the skin?

User Image
« Last Edit: Nov 5th, 2016, 11:34am by CONE » User IP Logged

Tom Revell
Administrator
ImageImageImageImageImage


member is offline

Avatar




Homepage PM

Gender: Male
Posts: 3542
xx Re: SkinDesigner :: Additional color for some elem
« Reply #1 on: Nov 15th, 2016, 3:12pm »

Hmm, how would that work?

Of course, if you don't draw anything at all on the skin, then you see the sticky colour, so that's easy to do.

However you've got an alpha blend in there as well - what would that be blending with? What's the effect you want to achievehuh

Tom
User IP Logged

CONE
Junior Member
ImageImage


member is offline

Avatar




PM


Posts: 48
xx Re: SkinDesigner :: Additional color for some elem
« Reply #2 on: Nov 16th, 2016, 1:35pm »

I'll try to explain. This feature will be useful for creating simplest stickies with light colors. I prefer when the sticky has a title bar that has the same color as the sticky itself, but a bit darker in hue. To achieve this it is necessary to blend two of the same colors by multiplying their values. Also this feature will allow not to worry about the color of the title bar when you changed the color of the sticky.
By using this feature we'll get something like this:
User Image
On screenshot blending feature in use (the horizontal strips have the same color as the sticky).

Thanks!

Cone
User IP Logged

CONE
Junior Member
ImageImage


member is offline

Avatar




PM


Posts: 48
xx Re: SkinDesigner :: Additional color for some elem
« Reply #3 on: Dec 2nd, 2016, 12:20pm »

Up)
User IP Logged

Tom Revell
Administrator
ImageImageImageImageImage


member is offline

Avatar




Homepage PM

Gender: Male
Posts: 3542
xx Re: SkinDesigner :: Additional color for some elem
« Reply #4 on: Dec 6th, 2016, 4:03pm »

Can you not achieve that sort of effect by using the existing alpha blend, along with detecting whether the skin is light or dark? Something like this:

Quote:
version=10
top=43
bottom=16
left=16
right=16
rolledheight=31
bitmap=skin81transtitle.png
minimumwidth=100
minimumheight=80
minimumthumbtrackheight=5
titlebar=0,0,-1,30
titletooltip=1
usescrollbar=1
scrollbar=-16,59,-32,14
scrollbardrawheightminimum=100
stackfilename=stackskin.ini
defaultstyle=-13|0|0|0|400|0|0|0|0|3|2|1|34|Segoe UI|0|0|0|255|255|255

[hstrip]
name=tbar-focus
place=1,1
extent=-2,29
width=0
source=0,0
sourcealpha=-1,-1
startcol=128,128,128
endcol=255,255,255
solidcol=0,0,0
alpha=49
striptype=2
drawunrolled=1
drawrolled=1
drawfocus=1

[hstrip]
name=tbar-nofocus
place=1,1
extent=-2,29
width=0
source=0,0
sourcealpha=-1,-1
startcol=128,128,128
endcol=255,255,255
solidcol=0,0,0
alpha=21
condition=focus
conditionvalue=0
striptype=2
drawunrolled=1
drawrolled=1

[button]
name=closebuttonblack
place=-31,1
source=32,6
sourcerollover=248,6
sourcealpha=-1,-1
sourcerolloveralpha=-1,-1
size=30x29
action=close
drawunrolled=1
drawrolled=1

[button]
name=closebuttonwhite
place=-31,1
source=368,6
sourcerollover=248,6
sourcealpha=-1,-1
sourcerolloveralpha=-1,-1
size=30x29
action=close
drawunrolled=1
drawrolled=1

[text]
name=title-black
place=33,3
extent=-33,23
font=Segoe UI
col=0,0,0
point=12
text=%TITLE%
setcase=0
format=transparent,
condition=lightbgcol
conditionvalue=1
alignment=middle
drawunrolled=1
drawrolled=1

[text]
name=title-white
place=33,3
extent=-33,23
font=Segoe UI
col=255,255,255
point=12
text=%TITLE%
setcase=0
format=transparent,
condition=lightbgcol
conditionvalue=0
alignment=middle
drawunrolled=1
drawrolled=1


Sure, this complains when you load it about a missing bitmap, but you get the idea? It will colour the title bar according to the sticky colour, but letting the note colour show through?

Tom
User IP Logged

CONE
Junior Member
ImageImage


member is offline

Avatar




PM


Posts: 48
xx Re: SkinDesigner :: Additional color for some elem
« Reply #5 on: Dec 7th, 2016, 1:27pm »

I know that. This trick I used in my skin "Win10 Sticky Notes Style".
It looks not good for me. Ok no matter. I'll try to find another way.

Thanks!

Cone
User IP Logged

Pages: 1  Notify Send Topic Print
« Previous Topic | Next Topic »

Donate $6.99 for 50,000 Ad-Free Pageviews!

| |

This forum powered for FREE by Conforums ©
Sign up for your own Free Message Board today!
Terms of Service | Privacy Policy | Conforums Support | Parental Controls