home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 7 / Apprentice-Release7.iso / Source Code / C ++ / Applications / Pict2Ascii 1.03 / Src / PLConstants.h < prev    next >
Encoding:
Text File  |  1997-07-10  |  3.1 KB  |  96 lines  |  [TEXT/CWIE]

  1. // =================================================================================
  2. //    PLConstants.h                             ©1997 BB's Team inc. All rights reserved
  3. // =================================================================================
  4. #pragma once
  5.  
  6.  
  7. // misc
  8. const Int32        kPICTHeaderSize            = 512;
  9. const Int16        kFirstChar                = 32;
  10. const OSType    kSignature                = 'PiAs';
  11.  
  12. const Str255    kPrefsFileName            ="\pPict2Ascii prefs";
  13. const OSType    kPrefsFileType            = 'pref';
  14. const OSType    kPrefsRsrcType            = 'pref';
  15. const ResIDT    kPrefsRsrcID            = 128;
  16.  
  17.  
  18. // rsrc alerts
  19. const ResIDT    ALRT_ConfirmPrinting    = 129;
  20. const ResIDT    ALRT_TellOverflow        = 130;
  21.     const Int16        kButtonOk                = 1;
  22.     const Int16        kButtonCancel            = 2;
  23.  
  24.  
  25. // PPob main window
  26. const ResIDT    rPPob_MainWindow        = 1000;
  27. const ResIDT    rRidL_MainWindow        = rPPob_MainWindow;
  28.     const PaneIDT    kDynamicText            = 2;
  29.     const PaneIDT    kFontPopup                = 3;
  30.     const PaneIDT    kSizePopup                = 4;
  31.     const PaneIDT    kGreyCaption            = 5;
  32.     const PaneIDT    kShowPane                = 6;
  33.     const PaneIDT    kLinesCaption            = 7;
  34.     const PaneIDT    kColumnsCaption            = 8;
  35.     const PaneIDT    kRatioEditField            = 9;
  36.     const PaneIDT    kScreenButton            = 10;
  37.     const PaneIDT    kPrinterButton            = 11;
  38.     const PaneIDT    k7bitsButton            = 12;
  39.     const PaneIDT    k8bitsButton            = 13;
  40.     const PaneIDT    kPagesCaption            = 14;
  41.     const PaneIDT    kContrastCheck            = 15;
  42.     const PaneIDT    kMemoryIndicator        = 16;
  43.  
  44.     const MessageT    msg_FontPopup            = rPPob_MainWindow + kFontPopup;
  45.     const MessageT    msg_SizePopup            = rPPob_MainWindow + kSizePopup;
  46.     const MessageT    msg_ScreenButton        = rPPob_MainWindow + kScreenButton;
  47.     const MessageT    msg_PrinterButton        = rPPob_MainWindow + kPrinterButton;
  48.     const MessageT    msg_7bitsButton            = rPPob_MainWindow + k7bitsButton;
  49.     const MessageT    msg_8bitsButton            = rPPob_MainWindow + k8bitsButton;
  50.     const MessageT    msg_ContrastCheck        = rPPob_MainWindow + kContrastCheck;
  51.  
  52.  
  53. // PPob printout
  54. const ResIDT    rPPob_Printout            = 1001;
  55.     const PaneIDT    kPlaceHolder            = 1;
  56.  
  57.  
  58. // PPob Preferences dialog
  59. const ResIDT    rPPob_PrefsDialog        = 2000;
  60.     const PaneIDT    kOkButton            = 1;
  61.     const PaneIDT    kCancelButton        = 2;
  62.     const PaneIDT    kConfirmCheck        = 3;
  63.     const PaneIDT    kMonoTestCheck        = 4;
  64.     const PaneIDT    kCharsEditField        = 5;
  65.     const PaneIDT    kBeep32k            = 6;
  66.     const PaneIDT    kResetButton        = 7;
  67.  
  68.     const MessageT    msg_OkButton        = rPPob_PrefsDialog + kOkButton;
  69.     const MessageT    msg_CancelButton    = rPPob_PrefsDialog + kCancelButton;
  70.     const MessageT    msg_Reset            = rPPob_PrefsDialog + kResetButton;
  71.  
  72.  
  73. // PPob menus
  74. const CommandT        cmd_Preferences        = 1001;
  75.  
  76.  
  77. // rsrc STR#
  78. const ResIDT    rSTR                    = 500;
  79.     const Int16        kCheckingMonoSpace        = 1;
  80.     const Int16        kReadingPictFile        = 2;
  81.     const Int16        kComputingFontLight        = 3;
  82.     const Int16        kComputingImageLight    = 4;
  83.     const Int16        kMemoryFull                = 5;
  84.     const Int16        kLines                    = 6;
  85.     const Int16        kColumns                = 7;
  86.     const Int16        kThinking                = 8;
  87.     const Int16        kNoMemForPict            = 9;
  88.     const Int16        kNoMemForPictLight        = 10;
  89.     const Int16        kNoMemForText            = 11;
  90.     const Int16        kComputingText            = 12;
  91.     const Int16        kNoMemForFont            = 13;
  92.     const Int16        kPages                    = 14;
  93.     const Int16        kMb                        = 15;
  94.     const Int16        kKb                        = 16;
  95.     const Int16        kBytes                    = 17;
  96.