home *** CD-ROM | disk | FTP | other *** search
/ CD-ROM Today - The Disc! 8 / cdrt08.iso / mac / Shareware / HyperCard / demoCdef 120 ƒ / demo Source ƒ / demoCDEF.h < prev    next >
Encoding:
Text File  |  1994-12-12  |  1.2 KB  |  67 lines  |  [TEXT/KAHL]

  1. // -----------------------------------------------------------------------------
  2. //    File        : demoCDEF.h
  3. //    Date        : August 24, 1994
  4. //    Author        : Jim Stout
  5. //    Purpose        : header file for demoCDEF.c
  6. //
  7. // -----------------------------------------------------------------------------
  8. #define TABCNTL 3            // the DITL item number for the tabPanel CDEF
  9. #define DITLBASE 4            // OK, Cancel, Tab Control, Disable on all panels
  10. #define MAXFONTSIZES 5
  11.  
  12. // the types of panels we demo
  13.  
  14. enum {
  15.     BUTTONS = 1,
  16.     POPUPS,
  17.     SPINNERS,
  18.     DATETIME,
  19.     HSLIDERS,
  20.     VSLIDERS,
  21.     PROGBARS
  22. };
  23.  
  24. enum {                            // controls on the BUTTONS panel
  25.     DISABLE = DITLBASE,
  26.     CB1,
  27.     CB2,
  28.     CB3,
  29.     CB4,
  30.     RB1,
  31.     RB2,
  32.     RB3,
  33.     RB4,
  34.     TB1,
  35.     TB2,
  36.     TB3,
  37.     TB4,
  38.     PB1,
  39.     PB2,
  40.     FONTPOP,
  41.     ST1,
  42.     EDITSIZE,
  43.     SIZEPOP,
  44.     SETFONT
  45. };
  46. enum {                            // controls on the SPINNERS panel
  47.     SPIN1 = DITLBASE+1,
  48.     SPIN2,
  49.     SPIN3,
  50.     SPIN4,
  51.     SPIN5,
  52.     SPIN6,
  53.     EDITSPIN,
  54.     FRACTSPIN
  55. };
  56.  
  57. #define RESET       DITLBASE+14    // on DATETIME panel
  58.  
  59.  
  60. #define HSLIDER3   DITLBASE+3    // items on the HSLIDER panel
  61. #define HSLIDERVAL DITLBASE+6
  62.  
  63. #define VSLIDER5   DITLBASE+5    // items on the VSLIDER panel
  64. #define VSLIDERVAL DITLBASE+7
  65.  
  66. #define PROG9 DITLBASE+9        // controls on the PROGBARS panel
  67. #define SPIN10 DITLBASE+10