Colors question in Panel Stack Splitter |
![]() ![]() |
Colors question in Panel Stack Splitter |
May 18 2012, 11:55
Post
#1
|
|
|
Group: Members Posts: 22 Joined: 11-May 12 Member No.: 99730 |
Hello, I want to use two colors in Panel Stack Splitter, but I can't.
Hope someone help me. This is the line I wrote. CODE $drawstring($rgb(128,128,128)%artist%$rgb() %title%,15,210,220,100,0-128-255) I want it be → Artist - Title But it shows → 808080Artist - Title Could anyone help me? Thank you very much! (Is it right to post 3rd Party Plugin question here?) This post has been edited by matif: May 18 2012, 12:05 |
|
|
|
May 18 2012, 13:27
Post
#2
|
|
![]() Group: Members Posts: 2771 Joined: 12-November 06 Member No.: 37463 |
$rgb() not supported in PSS functions like $drawstring or $drawtextex ... color parameter is used for the whole text (%artist% + %title% in your example).
to do what you want, you have to use 2 $drawstring(..) functions, but you have to calculate the width of %artist% first (check documentation to find the right function that allow to calculate width in pixek of a text for a specified Font) HTH This post has been edited by Falstaff: May 18 2012, 13:27 -------------------- http://br3tt.online.fr/
|
|
|
|
May 19 2012, 16:19
Post
#3
|
|
|
Group: Members Posts: 22 Joined: 11-May 12 Member No.: 99730 |
$rgb() not supported in PSS functions like $drawstring or $drawtextex ... color parameter is used for the whole text (%artist% + %title% in your example). to do what you want, you have to use 2 $drawstring(..) functions, but you have to calculate the width of %artist% first (check documentation to find the right function that allow to calculate width in pixek of a text for a specified Font) HTH It is helped that you want to replay my question. Thank you! And I like all your skins very much! By the way, I finally known why you show tooltip as before behavior. Sorry for bad idea. This post has been edited by matif: May 19 2012, 17:00 |
|
|
|
![]() ![]() |
|
Lo-Fi Version | Time is now: 23rd May 2013 - 08:18 |