[Mac] Overlay Scrollbars

BlitzMax Forums/MaxGUI Module/[Mac] Overlay Scrollbars

shinkiro1(Posted 2012) [#1]
So it would be really cool if we could get those working.
I have had partial success with it: In module maxgui.mod/cocoamaxgui.mod/cocoa.macos.m search around line 4225
[scroller setKnobProportion:(small/big)];
[scroller setDoubleValue:value];


and add this line
[scroller setScrollerStyle:[NSScroller preferredScrollerStyle]];

Then recompile modules ...

Still, the background of the slider remains.
Here is the corresponding documentation of apple: http://developer.apple.com/library/mac/#documentation/Cocoa/Reference/ApplicationKit/Classes/NSScroller_Class/Reference/Reference.html

Last edited 2012

Last edited 2012


shinkiro1(Posted 2012) [#2]
So basically what the above code does is that now your slider will look darker (much nicer imo).
But they are still always visible: