|
|
1.1 ! root 1: /* ! 2: Header file for LINE application ! 3: Created by Microsoft Corp., 1988 ! 4: */ ! 5: #define INCL_PM /* include all of the PM functions */ ! 6: #include <os2.h> ! 7: ! 8: #define IDM_QUERY 98 ! 9: #define ID_ABOUT 100 ! 10: #define IDM_ABOUT 101 ! 11: #define ID_RESOURCE 102 ! 12: #define IDM_FILE 103 ! 13: #define ID_OK 200 ! 14: ! 15: /* line stuff */ ! 16: #define IDM_LINE 50 ! 17: #define IDM_DR_LINE 51 ! 18: ! 19: /* screen stuff */ ! 20: #define IDM_SCREEN 60 ! 21: #define IDM_SC_ERASE 61 ! 22: ! 23: /* arc stuff */ ! 24: #define IDM_ARC 78 ! 25: #define IDM_AR_SFLL 79 ! 26: #define IDM_AR_FULL 80 ! 27: #define IDM_AR_3PNT 81 ! 28: #define IDM_AR_PRTL 82 ! 29: #define IDM_AR_FLLT 83 ! 30: #define IDM_AR_SPLN 84 ! 31: #define IDM_AR_PARM 85 ! 32: #define IDM_AR_CPNT 86 ! 33: #define IDM_AR_AXIS 87 ! 34: ! 35: /* arc parameter dialog */ ! 36: #define IDDLG_ARCP 88 ! 37: #define DM_LP 89 ! 38: #define DM_LQ 90 ! 39: #define DM_LR 91 ! 40: #define DM_LS 92 ! 41: #define DM_OK 93 ! 42: #define DM_QUIT 94 ! 43: #define DM_SLabel 257 ! 44: #define DM_SCALE 256 ! 45: ! 46: /* fillet sharpness parameter dialog */ ! 47: #define IDDLG_FSDP 97 ! 48: #define DM_S1 98 ! 49: #define DM_S2 99 ! 50: #define DM_S3 100 ! 51: #define DM_S4 101 ! 52: #define DM_OKF 102 ! 53: #define DM_QUITF 103 ! 54: ! 55: /* line-width menu stuff */ ! 56: #define IDM_WIDTH 599 ! 57: #define IDM_WI_2 606 ! 58: #define IDM_WI_5 600 ! 59: #define IDM_WI_10 601 ! 60: #define IDM_WI_15 602 ! 61: #define IDM_WI_20 603 ! 62: #define IDM_WI_25 604 ! 63: #define IDM_WI_50 605 ! 64: ! 65: /* line-color menu stuff */ ! 66: #define IDM_COLOR 700 ! 67: #define IDM_CO_BACKGROUND 701 ! 68: #define IDM_CO_BLUE 702 ! 69: #define IDM_CO_RED 703 ! 70: #define IDM_CO_PINK 704 ! 71: #define IDM_CO_GREEN 705 ! 72: #define IDM_CO_CYAN 706 ! 73: #define IDM_CO_YELLOW 707 ! 74: #define IDM_CO_NEUTRAL 708 ! 75: #define IDM_CO_DARKGRAY 709 ! 76: #define IDM_CO_PALEBLUE 710 ! 77: #define IDM_CO_PALERED 711 ! 78: #define IDM_CO_PALEPINK 712 ! 79: #define IDM_CO_DARKGREEN 713 ! 80: #define IDM_CO_DARKCYAN 714 ! 81: #define IDM_CO_BROWN 715 ! 82: #define IDM_CO_PALEGRAY 716 ! 83: ! 84: /* line-join menu stuff */ ! 85: #define IDM_LINEJOIN 800 ! 86: #define IDM_LI_DEFAULT 801 ! 87: #define IDM_LI_BEVEL 802 ! 88: #define IDM_LI_ROUND 803 ! 89: #define IDM_LI_MITRE 804 ! 90: ! 91: /* line-end menu stuff */ ! 92: #define IDM_LINEEND 900 ! 93: #define IDM_LE_DEFAULT 901 ! 94: #define IDM_LE_FLAT 902 ! 95: #define IDM_LE_SQUARE 903 ! 96: #define IDM_LE_ROUND 904 ! 97: ! 98: /* the mix-mode menu and its items */ ! 99: #define IDM_MIXMODE 0x0610 ! 100: #define IDM_MM_XOR 0x0611 ! 101: #define IDM_MM_AND 0x0612 ! 102: #define IDM_MM_SUBTRACT 0x0613 ! 103: #define IDM_MM_MASKSRCNOT 0x0614 ! 104: #define IDM_MM_ZERO 0x0615 ! 105: #define IDM_MM_NOTMERGESRC 0x0616 ! 106: #define IDM_MM_NOTXORSRC 0x0617 ! 107: #define IDM_MM_INVERT 0x0618 ! 108: #define IDM_MM_MERGESRCNOT 0x0619 ! 109: #define IDM_MM_NOTCOPYSRC 0x0620 ! 110: #define IDM_MM_MERGENOTSRC 0x0621 ! 111: #define IDM_MM_NOTMASKSRC 0x0622 ! 112: #define IDM_MM_ONE 0x0623 ! 113: #define IDM_MM_DEFAULT 0x0624 ! 114: #define IDM_MM_OR 0x0625 ! 115: #define IDM_MM_OVERPAINT 0x0626 ! 116: #define IDM_MM_LEAVEALONE 0x0627 ! 117: ! 118: /* segment menu and its items */ ! 119: #define IDM_DRAW 0x0210 ! 120: #define IDM_DR_DRAW1 0x0211 ! 121: #define IDM_DR_ERASE 0x0212 ! 122: #define IDM_DR_DRAW2 0x0213 ! 123: #define IDM_DR_SAVE 0x0214 ! 124: ! 125: ! 126: ! 127: ! 128: extern HAB hab; ! 129: extern HMQ hmq; ! 130: ! 131: extern char szClassName[]; /* window class name */ ! 132: extern HWND hwndClient; /* handle to the client */ ! 133: extern HWND hwndFrame; /* handle to the frame window */ ! 134: ! 135: VOID cdecl main(VOID); ! 136: MRESULT FAR PASCAL GenericWndProc(HWND, USHORT, MPARAM, MPARAM); ! 137: MRESULT FAR PASCAL About(HWND, USHORT, MPARAM, MPARAM); ! 138: MRESULT FAR PASCAL ArcPDlgProc(HWND, USHORT, MPARAM, MPARAM); ! 139: MRESULT FAR PASCAL Fil_S_DlgProc(HWND, USHORT, MPARAM, MPARAM);
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.