home *** CD-ROM | disk | FTP | other *** search
/ Big Green CD 8 / BGCD_8_Dev.iso / YellowBox / Kits / MiscTableScroll-138.1 / Palettes / MiscTableScroll / Palette / MiscTableScrollInspector.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-03-31  |  3.3 KB  |  92 lines

  1. #ifndef __MiscTableScrollInspector_h
  2. #define __MiscTableScrollInspector_h
  3. //=============================================================================
  4. //
  5. //  Copyright (C) 1995,1996,1997,1998 by Paul S. McCarthy and Eric Sunshine.
  6. //        Written by Paul S. McCarthy and Eric Sunshine.
  7. //                All Rights Reserved.
  8. //
  9. //    This notice may not be removed from this source code.
  10. //
  11. //    This object is included in the MiscKit by permission from the authors
  12. //    and its use is governed by the MiscKit license, found in the file
  13. //    "License.rtf" in the MiscKit distribution.  Please refer to that file
  14. //    for a list of all applicable permissions and restrictions.
  15. //    
  16. //=============================================================================
  17. //-----------------------------------------------------------------------------
  18. // MiscTableScrollInspector.h
  19. //
  20. //    Interface Builder inspector for MiscTableScroll.
  21. //
  22. //-----------------------------------------------------------------------------
  23. //-----------------------------------------------------------------------------
  24. // $Id: MiscTableScrollInspector.h,v 1.8 98/03/30 00:06:13 sunshine Exp $
  25. // $Log:    MiscTableScrollInspector.h,v $
  26. //  Revision 1.8  98/03/30  00:06:13  sunshine
  27. //  v138.1: Ditched unnecessary "align title" text field since under OPENSTEP,
  28. //  buttons are correctly dimmed when disabled.  Consequently I don't have to
  29. //  worry about figuring out correct enabled/disabled colors for the field.
  30. //  
  31. //  Revision 1.7  98/03/22  13:07:57  sunshine
  32. //  v133.1: Eliminated constrain-max, constrain-min is now implicit based on
  33. //  presence/absence of auto-size slots.  Eliminated data-sizing.
  34. //  Added alignment control.
  35. //  
  36. //  Revision 1.6  97/06/18  09:47:35  sunshine
  37. //  v125.9: "highlighted" --> "selected" in method and outlet names.
  38. //  Unified variable name style.
  39. //-----------------------------------------------------------------------------
  40. extern "Objective-C" {
  41. #import <InterfaceBuilder/InterfaceBuilder.h>
  42. }
  43. #import <MiscTableScroll/MiscTableTypes.h>
  44.  
  45. @class NSButton, NSColorWell, NSMatrix, NSScrollView, NSTextField;
  46. class MiscTableBorder;
  47.  
  48. @interface MiscTableScrollInspector : IBInspector
  49.     {
  50.     NSButton*        autosizeSwitch;
  51.     NSButton*        autoSortSwitch;
  52.     NSPopUpButton*    borderPopUp;
  53.     NSPopUpButton*    cellClassPopUp;
  54.     NSButton*        deleteButton;
  55.     NSButton*        downButton;
  56.     NSButton*        draggableSwitch;
  57.     NSButton*        enabledSwitch;
  58.     NSButton*        lazySwitch;
  59.     NSPopUpButton*    modePopUp;
  60.     NSButton*        sizableSwitch;
  61.     NSPopUpButton*    sortTypePopUp;
  62.     NSPopUpButton*    sortDirectionPopUp;
  63.     NSPopUpButton*    titleModePopUp;
  64.     NSButton*        titlesSwitch;
  65.     NSButton*        upButton;
  66.     NSButton*        userSizeableSwitch;
  67.     NSMatrix*        alignMatrix;
  68.     NSMatrix*        slotScroll;
  69.     NSTextField*    sizeField;
  70.     NSTextField*    sizeMaxField;
  71.     NSTextField*    sizeMinField;
  72.     NSTextField*    titleField;
  73.     NSTextField*    uniformSizeField;
  74.     NSColorWell*    colorText;
  75.     NSColorWell*    colorTextSelected;
  76.     NSColorWell*    colorBack;
  77.     NSColorWell*    colorBackSelected;
  78.     int            slot;        // Currently selected slot, or -1.
  79.     int            numSlots;    // Total number of columns.
  80.     MiscBorderType    borderType;
  81.     MiscTableBorder*    border;
  82.     BOOL        dirty;
  83.     }
  84.  
  85. - (id)init;
  86. - (void)ok:(id)sender;
  87. - (void)revert:(id)sender;
  88.  
  89. @end
  90.  
  91. #endif    // __MiscTableScrollInspector_h
  92.