Re: [MSEide-MSEgui-talk] Rounded slider button

2017-03-31 Thread Martin Schreiber
On Thursday 30 March 2017 14:49:24 Krzysztof wrote:
> Hi Martin,
>
> I know that you are busy lately. I'll just leave here this topic. Answer
> whenever have a time :)
>
> After successfully scrollbar skin I would like to try make rounded slider
> button like on this picture:
> http://cdn.osxdaily.com/wp-content/uploads/2011/08/visible-scroll-bar-mac-o
>sx.jpg
>
> I followed same rules as in scrollbar skinning. Made 8 small pictures for
> each edge and corner in frameface. Set properly button size to make it
> perfect round without stretch. But now I have problem with background.
> Framei offset will not help here because it is rounded too much. Can I
> apply some rounded mask here, for example black filled circle smaller than
> frame circle?

git master 094cfa26fd8b1f3653107e38d516040b21232dfe clips button background 
and face by frame and frame.frameimage_list.cornermask. Cornermask can be 
used to build a round mask, please see the thread about cornermask.
Instead to use the 8 frame images it is also possible to use 
tscrollbar.facebutton.image in order to draw the circle.

Martin

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Skinning scrollbars globally

2017-03-31 Thread Martin Schreiber
On Thursday 30 March 2017 13:58:00 Krzysztof wrote:
> 2017-03-30 12:42 GMT+02:00 Martin Schreiber :
> > How should it look?
>
> Same as on attached screenshot. I added framewidth=2 with
> colorframe=cl_transparent so button has some extra space in scroll. Nothing
> is wrong here, just wondered if I can do this same without framewidth.

git master 094cfa26fd8b1f3653107e38d516040b21232dfe has tscrollbar.frame 
property. tscrollbar.frame.framei_* can be used to define a padding.

Martin

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk