Forums > MaxMSP

Help asked with pictslider

January 27, 2008 | 4:31 am

I am suffering with the pictslider.
I made the background image with rounded corners and two buttons (one for the clicked and one for the unclicked state) but i can’t get the rounded edges working, the button always remains a rectangle, so the button ‘interferes’ with the edge of the sliderbackground.
I post here the figures so you can look how it is.
Anyone can help me out?
Thanks a lot


January 27, 2008 | 4:32 am

here go the buttons
I made hese graphics in keynote, beacuse of the rounded edges and the shadows.


January 28, 2008 | 10:33 pm

Samuel Van Ransbeeck schrieb:
> I am suffering with the pictslider. I made the background image with
> rounded corners and two buttons (one for the clicked and one for the
> unclicked state) but i can’t get the rounded edges working, the
> button always remains a rectangle, so the button ‘interferes’ with
> the edge of the sliderbackground. I post here the figures so you can
> look how it is. Anyone can help me out? Thanks a lot

Could you send them in the format you load into pict slider? These pdf
don’t seem to be in the correct format. I’d take png for cross platform
compatibility… An example patch would also show the problem better,
best is to zip all files together…
It seems the masks are not correct (or not there at all) by the way…

Stefan


Stefan Tiedje————x——-
–_____———–|————–
–(_|_ —-|—–|—–()——-
– _|_)—-|—–()————–
———-()——–www.ccmix.com


January 29, 2008 | 9:07 am

I saved them as jpg’s. The sliderknob and the background function as a slider for the sliderobject. I deselected clicked image and have following margins so the interference is minimal but still, it can be better
Left: 9
right: 7
down and top: 6


January 29, 2008 | 9:08 am

and here goes the other file


January 29, 2008 | 11:47 am

> I made the background image with rounded corners and two buttons (one for the clicked and one for the unclicked state) but i can’t get the rounded edges working, the button always remains a rectangle, so the button ‘interferes’ with the edge of the sliderbackground.

You should apply a mask. In the patcher picture_format in pictslider’s helpfile is an example.

_
johan


Viewing 6 posts - 1 through 6 (of 6 total)