home *** CD-ROM | disk | FTP | other *** search
-
- #import "MiscCSIB.h"
-
- @implementation MiscCircularSlider(IBSupport)
-
- - (const char*)getInspectorClassName
- {
- return "MiscCircularSliderInspector";
- }
-
- // override for IB
- - getMinSize:(NXSize *)minSize maxSize:(NXSize *)maxSize from:(int)where
- {
- // if ([self sliderStyle] == MISC_SLIDER_STYLE) {
- // ***** need to come up with something here.
- // } else {
- // Anything smaller than this is nuts
- minSize->width = 15.0;
- minSize->height = 15.0;
- // Hope you never need one bigger than this! That would be silly!
- maxSize->width = 2000.0;
- maxSize->height = 2000.0;
- // }
- return self;
- }
-
- @end
-