home *** CD-ROM | disk | FTP | other *** search
/ Mac-Source 1994 July / Mac-Source_July_1994.iso / C and C++ / Libraries / TransSkel / Demos / C Demos / Button / Button.h next >
Encoding:
C/C++ Source or Header  |  1994-01-15  |  603 b   |  40 lines  |  [TEXT/KAHL]

  1.  
  2.  
  3. # define    normalHilite    0
  4. # define    dimHilite        255
  5.  
  6.  
  7. # define    aboutAlrtRes    1000
  8.  
  9. # define    dlog1Res        1001
  10. # define    dlog2Res        1002
  11. # define    dlog3Res        1003
  12.  
  13. # define    fileMenuRes        1000
  14. # define    windRes            1000
  15.  
  16.  
  17. typedef enum
  18. {
  19.     doDialog1 = 1,
  20.     doDialog2,
  21.     doDialog3,
  22.     sepLine,
  23.     quitApp
  24. };
  25.  
  26.  
  27. /*
  28.  * Horizontal and vertical ratios for positioning the dialogs on the screen
  29.  * according the Apple's (current) Human Interface Guidelines.
  30.  */
  31.  
  32. # define    horizRatio        FixRatio (1, 2)
  33. # define    vertRatio        FixRatio (1, 5)
  34.  
  35.  
  36. void DoDialog1 (void);
  37. void DoDialog2 (void);
  38. void DoDialog3 (void);
  39. void SetupDocument (void);
  40.