[MSEide-MSEgui-talk] Rounded slider button

2017-03-30 Thread Krzysztof
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-osx.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? Notice that I want to do as much as possible with MSE,
external bitmaps are only for main shape, frame color I'm changing with
timagelist.bitmap.init() and face with fade color. Attached screenshot how
it looks now :P

Regards
--
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-30 Thread Krzysztof
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.
Really nevermind, if it work it fit :)
--
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-30 Thread Krzysztof
2017-03-30 12:09 GMT+02:00 Martin Schreiber :
>
> git master ca2f222583a3b99d58571092d512ca447cb99af6 has buttonendlenght
> scrollbar properties in tskincontroller.
> It is also possible to use tskincontroller.onbeforeupdate and
> onafterupdate in
> order to make special settings.


Thanks a lot! Didn't know about OnBeforeUpdate, very handy
--
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-30 Thread Martin Schreiber
On Tuesday 28 March 2017 22:46:47 Krzysztof wrote:
> Hi Martin,
>
> I successfully created this rounded scrollbar (this is not my MSE app ;) )
> using tfacelist and sliced bitmaps.
> http://cdn.osxdaily.com/wp-content/uploads/2011/08/visible-scroll-bar-mac-o
>sx.jpg
>
> How can I apply it globally in tskincontroller? Main problem is that I
> can't set button start and end to -1 from tskincontroller.sb for hide them.
> Do I must do this manually for each scrollbar?
>
git master ca2f222583a3b99d58571092d512ca447cb99af6 has buttonendlenght 
scrollbar properties in tskincontroller.
It is also possible to use tskincontroller.onbeforeupdate and onafterupdate in 
order to make special settings.

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