home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / sd386v50.zip / sd386src.zip / DIABKPT.H < prev    next >
Text File  |  1995-06-17  |  3KB  |  88 lines

  1. /*****************************************************************************/
  2. /* File:                                                                     */
  3. /*   DiaBkPnt.h                                                              */
  4. /*                                                                           */
  5. /* Description:                                                              */
  6. /*                                                                           */
  7. /*   Data for watch points dialog.                                           */
  8. /*                                                                           */
  9. /*...Revised (06/13/95)                                                      */
  10. /*...                                                                        */
  11. /*****************************************************************************/
  12.  
  13. #define BKP_DLG_START_ROW         14
  14. #define BKP_DLG_START_COL         19
  15. #define BKP_DLG_LEN               0
  16. #define BKP_DLG_WIDTH             60
  17. #define BKP_DLG_BUTTONS           2
  18. #define BKP_DLG_SKIPLINES_ATTOP   3
  19. #define BKP_DLG_BUTTON_ROWS       1
  20. #define BKP_DLG_NOOF_ENTRIES      3
  21. #define BKP_DLG_MAX_ROWS          3
  22. #define BKP_DLG_BTN_ROW           BKP_DLG_START_ROW + 7
  23.  
  24. #define BKP_DLG_BTN_ENTER_COL     BKP_DLG_START_COL + 9
  25. #define BKP_DLG_BTN_ENTER_TEXT    "Yes"
  26. #define BKP_DLG_BTN_ENTER_WIDTH   3
  27. #define BKP_DLG_BTN_ENTER_KEY     key_y
  28.  
  29. #define BKP_DLG_BTN_CANCEL_COL    BKP_DLG_START_COL + 20
  30. #define BKP_DLG_BTN_CANCEL_TEXT   "No"
  31. #define BKP_DLG_BTN_CANCEL_WIDTH  2
  32. #define BKP_DLG_BTN_CANCEL_KEY    key_n
  33.  
  34. #define BKP_DLG_BTN_HELP_COL      BKP_DLG_START_COL + 32
  35. #define BKP_DLG_BTN_HELP_TEXT     "Help"
  36. #define BKP_DLG_BTN_HELP_WIDTH    4
  37. #define BKP_DLG_BTN_HELP_KEY      F1
  38.  
  39. static uchar   Dia_BkPnt_Title[]   = " Do you want to defer this breakpoint? ";
  40. static BUTTON  Dia_BkPnt_Buttons[] =
  41. {
  42.   {
  43.     BKP_DLG_BTN_ROW,
  44.     BKP_DLG_BTN_ENTER_COL,
  45.     BKP_DLG_BTN_ENTER_WIDTH,
  46.     BKP_DLG_BTN_ENTER_TEXT,
  47.     BKP_DLG_BTN_ENTER_KEY
  48.   },
  49.   {
  50.     BKP_DLG_BTN_ROW,
  51.     BKP_DLG_BTN_CANCEL_COL,
  52.     BKP_DLG_BTN_CANCEL_WIDTH,
  53.     BKP_DLG_BTN_CANCEL_TEXT,
  54.     BKP_DLG_BTN_CANCEL_KEY
  55.   },
  56.   {
  57.     BKP_DLG_BTN_ROW,
  58.     BKP_DLG_BTN_HELP_COL,
  59.     BKP_DLG_BTN_HELP_WIDTH,
  60.     BKP_DLG_BTN_HELP_TEXT,
  61.     BKP_DLG_BTN_HELP_KEY
  62.   }
  63. };
  64.  
  65. DIALOGSHELL  Dia_BkPnt =
  66. {
  67.   BKP_DLG_START_ROW,
  68.   BKP_DLG_START_COL,
  69.   BKP_DLG_LEN,
  70.   BKP_DLG_WIDTH,
  71.   BKP_DLG_BUTTONS,
  72.   BKP_DLG_BUTTON_ROWS,
  73.   Dia_BkPnt_Title,
  74.   BKP_DLG_SKIPLINES_ATTOP,
  75.   &Dia_BkPnt_Buttons[0],
  76.   DisplayBkPntChoice,
  77.   NULL
  78. /*BkPntDialogFunction */
  79. };
  80.  
  81. DIALOGCHOICE Dia_BkPnt_Choices =
  82. {
  83.   BKP_DLG_NOOF_ENTRIES,
  84.   BKP_DLG_MAX_ROWS,
  85.   0,                                    /* Not initialised in the begining.  */
  86.   NULL                                  /* Not initialised in the begining.  */
  87. };
  88.