home *** CD-ROM | disk | FTP | other *** search
/ Nebula 1994 June / NEBULA_SE.ISO / SourceCode / MiscKit / Palettes / MiscCircularSlider / MiscCSIB.m < prev    next >
Encoding:
Text File  |  1994-03-26  |  598 b   |  28 lines

  1.  
  2. #import "MiscCSIB.h"
  3.  
  4. @implementation MiscCircularSlider(IBSupport)
  5.  
  6. - (const char*)getInspectorClassName
  7. {
  8.     return "MiscCircularSliderInspector";
  9. }
  10.  
  11. // override for IB
  12. - getMinSize:(NXSize *)minSize maxSize:(NXSize *)maxSize from:(int)where
  13. {
  14. //    if ([self sliderStyle] == MISC_SLIDER_STYLE) {
  15. // ***** need to come up with something here.
  16. //    } else {
  17.         // Anything smaller than this is nuts
  18.         minSize->width = 15.0;
  19.         minSize->height = 15.0;
  20.         // Hope you never need one bigger than this!  That would be silly!
  21.         maxSize->width = 2000.0;
  22.         maxSize->height = 2000.0;
  23. //    }
  24.     return self;
  25. }
  26.  
  27. @end
  28.