#include <os2.h>
#include "ism_samp.h"

POINTER ID_MAIN_RES ISM_SAMP.ICO

MENU    ID_MAIN_RES
BEGIN
  SUBMENU        "Messages",               ID_TEST
  BEGIN
    SUBMENU      "WM_TOUCHDOWN",           ID_ISMF01_S_000
    BEGIN
       MENUITEM  "TDN_DEFAULT_DELAY",      ID_ISMF01_T_001
       MENUITEM  "TDN_IMMEDIATE",          ID_ISMF01_T_002
       MENUITEM  "TDN_INFINITE",           ID_ISMF01_T_003
       MENUITEM  "TDN_INK_STROKE",         ID_ISMF01_T_004
       MENUITEM  "TDN_NO_INK_STROKE",      ID_ISMF01_T_005
       MENUITEM  "TDN_LEAVE_INK",          ID_ISMF01_T_006
       MENUITEM  "TDN_HIFREQ_MOUSEMOVE",   ID_ISMF01_T_007
       MENUITEM  "TDN_INFINITE | TDN_SENSOR_MOVE | TDN_NO_INK_STROKE",        ID_ISMF01_T_008
       MENUITEM  "TDN_IMMEDIATE | TDN_HEFREQ_MOUSEMOVE | TDN_NO_INK_STROKE",      ID_ISMF01_T_009
       MENUITEM  "TDN_INFINITE | TDN_SENSOR_MOVE | TDN_LEAVE_INK",          ID_ISMF01_T_010
       MENUITEM  "TDN_DEFAULT_DELAY | TDN_INK_STROKE",         ID_ISMF01_T_011
    END
    SUBMENU      "WM_LIFTOFF",             ID_ISMF02_S_000
    BEGIN
       MENUITEM  "LO_DEFAULT",             ID_ISMF02_T_001
       MENUITEM  "LO_STROKE_PROCESSED",    ID_ISMF02_T_002
       MENUITEM  "LO_EMULATE_MOUSE",       ID_ISMF02_T_003
    END
    SUBMENU      "WM_STROKE",              ID_ISMF03_S_000
    BEGIN
       MENUITEM  "STK_DEFAULT",            ID_ISMF03_T_001
       MENUITEM  "STK_STROKE_PROCESSED",   ID_ISMF03_T_002
    END
    MENUITEM     "WM_SENSOR_MOVE",         ID_ISMF04_S_000
    SUBMENU      "WM_TAP",                 ID_ISMF05_S_000
    BEGIN
       MENUITEM  "TP_DEFAULT",             ID_ISMF05_T_001
       MENUITEM  "TP_TAP_PROCESSED",       ID_ISMF05_T_002
    END
    SUBMENU      "WM_DBL_TAP",             ID_ISMF06_S_000
    BEGIN
       MENUITEM  "TP_DEFAULT",             ID_ISMF06_T_001
       MENUITEM  "TP_TAP_PROCESSED",       ID_ISMF06_T_002
    END
    SUBMENU      "WM_PAUSE_TIMEOUT",       ID_ISMF07_S_000
    BEGIN
       MENUITEM  "PTO_DEFAULT",            ID_ISMF07_T_001
       MENUITEM  "PTO_CONTINUE",           ID_ISMF07_T_002
    END
    MENUITEM     "WM_EXIT_PROXIMITY",      ID_ISMF10_S_000
    MENUITEM     "WM_WRT_DEV_CAPS_CHANGE", ID_ISMF11_S_000
    MENUITEM     "WM_WRT_SYSVALUECHANGED", ID_ISMF12_S_000
  END
  MENUITEM     "Ink Editing",            ID_ISMF13_T_001
  MENUITEM "Quit", ID_QUIT
END

POINTER ID_TEST_RES ISM_SAMP.ICO
MENU    ID_TEST_RES
BEGIN
     MENUITEM "Quit", ID_QUIT
END

STRINGTABLE
BEGIN
   ID_ISMF01_T_001      "TDN_DEFAULT_DELAY"
   ID_ISMF01_T_002      "TDN_IMMEDIATE"
   ID_ISMF01_T_003      "TDN_INFINITE"
   ID_ISMF01_T_004      "TDN_INK_STROKE"
   ID_ISMF01_T_005      "TDN_NO_INK_STROKE"
   ID_ISMF01_T_006      "TDN_LEAVE_INK"
   ID_ISMF01_T_007      "TDN_HIFREQ_MOUSEMOVE"
   ID_ISMF01_T_008      "TDN_SENSOR_MOVE"
   ID_ISMF01_T_009      "INK_WITHOUT_STROKE_BUFFER"
   ID_ISMF01_T_010      "INK_WITH_STROKE_BUFFER"
   ID_ISMF01_T_011      "DEFAULT_INKING"

   ID_ISMF02_T_001      "LO_DEFAULT"
   ID_ISMF02_T_002      "LO_STROKE_PROCESSED"
   ID_ISMF02_T_003      "LO_EMULATE_MOUSE"

   ID_ISMF03_T_001      "STK_DEFAULT"
   ID_ISMF03_T_002      "STK_STROKE_PROCESSED"

   ID_ISMF04_S_000      "WM_SENSOR_MOVE"

   ID_ISMF05_T_001      "TAP_TP_DEFAULT"
   ID_ISMF05_T_002      "TAP_TP_TAP_PROCESSED"

   ID_ISMF06_T_001      "DBL_TAP_TP_DEFAULT"
   ID_ISMF06_T_002      "DBL_TAP_TP_TAP_PROCESSED"

   ID_ISMF07_T_001      "PTO_DEFAULT"
   ID_ISMF07_T_002      "PTO_CONTINUE"

   ID_ISMF10_S_000      "WM_EXIT_PROXIMITY"

   ID_ISMF11_S_000      "WM_WRT_DEV_CAPS_CHANGE"

   ID_ISMF12_S_000      "WM_WRT_SYSVALUECHANGED"

   ID_ISMF13_T_001      "INKEDITING"
END

DLGTEMPLATE ID_INKEDITGESTUREHELP LOADONCALL MOVEABLE DISCARDABLE
BEGIN
    DIALOG  "Ink Editing Gesture Help", ID_INKEDITGESTUREHELP, 14, 28, 300, 180, , FCF_SYSMENU | FCF_TITLEBAR
    BEGIN
        LTEXT      "?",                                                  101,  9, 160,  46,  8
        LTEXT      "Scratchout",                                         102,  9, 150,  46,  8
        LTEXT      "Xout",                                               103,  9, 140,  46,  8
        LTEXT      "Pigtail",                                            104,  9, 130,  46,  8
        LTEXT      "C-tap",                                              105,  9, 120,  46,  8
        LTEXT      "E-tap",                                              106,  9, 110,  46,  8
        LTEXT      "F-tap",                                              107,  9, 100,  46,  8
        LTEXT      "I-tap",                                              108,  9,  90,  46,  8
        LTEXT      "D-tap",                                              109,  9,  80,  46,  8
        LTEXT      "Ink Editing Gesture Help",                           110, 70, 160, 220,  8
        LTEXT      "Delete all segments in bounding box",                111, 70, 150, 220,  8
        LTEXT      "Delete top segment under hotspot",                   112, 70, 140, 220,  8
        LTEXT      "Delete stroke under hotspot",                        113, 70, 130, 220,  8
        LTEXT      "Change color of segment under hotspot",              114, 70, 120, 220,  8
        LTEXT      "Erase window",                                       115, 70, 110, 220,  8
        LTEXT      "Return to freehand drawing mode",                    116, 70, 100, 220,  8
        LTEXT      "Increase thickness of segment under hotspot",        117, 70,  90, 220,  8
        LTEXT      "Decrease thickness of segment under hotspot",        118, 70,  80, 220,  8
        LTEXT      "Segment is a collection of strokes begining at firs"
                   "t touchdown until exiting of proximity",             119,  9,  50, 270, 20, DT_WORDBREAK
        LTEXT      "Stroke is a collection of points beginning at touch"
                   "down and ending at liftoff",                         120,  9,  30, 270, 20,  DT_WORDBREAK
        PUSHBUTTON "Cancel",                                      DID_CANCEL,  9,   5,  80, 15
    END
END
