source: trunk/id.h@ 11

Last change on this file since 11 was 11, checked in by Gregg Young, 8 years ago

This changes the bitmap save from an internal bitmap or the use of MMOS2 to using GBM. The save code was adapted from GBMv2 by Heiko Nitzsche and Andy Keys. Also fixed the failure of the file dialog to update the file extension name on the first save after a format changes. Non English resources haven't been updated yet. Several more build error warning fixes.

  • Property svn:eol-style set to native
File size: 6.6 KB
RevLine 
[2]1/***
2 This file belongs to the Gotcha! distribution.
3 Copyright (C) 1998-2002 Thorsten Thielen <thth@c2226.de>
4
5 This program is free software; you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation; either version 2 of the License, or
8 (at your option) any later version.
9
10 This program is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU General Public License for more details.
14
15 You should have received a copy of the GNU General Public License
16 along with this program; if not, write to the Free Software
17 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18 ***/
19
20#define DLL_ID 1
21
22#define ID_DLG_MAIN 1
23#define ID_DLG_ABOUT 2
24#define ID_DLG_FILE 10000
25#define ID_DLG_SETTINGS 3
26#define ID_DLG_SETTINGSPAGE1 4
27#define ID_DLG_SETTINGSPAGE2 5
28#define ID_DLG_SETTINGSPAGE3 6
29#define ID_DLG_SETTINGSPAGE4 7
30
31#define WID_NIL 0
32#define WID_PB_SCREEN 1
33// WID_SCREENREGION had to be redefined because of DID_CANCEL
34#define WID_PB_WINDOW 3
35#define WID_PB_WINDOWINTERIOR 4
36#define WID_CB_HIDEWINDOW 5
37#define WID_CB_DELAYEDCAPTURE 6
38#define WID_TEST 7
39#define WID_RB_CLIPBOARD 8
40#define WID_RB_FILE 9
41#define WID_PB_ABOUT 10
42#define WID_CB_DELAYCOUNTDOWN 11
43#define WID_SB_DELAYTIME 12
44#define WID_CB_SSWENABLE 13
45#define WID_CB_SSWHIDE 14
46#define WID_CB_SSWALWAYSONTOP 15
47#define WID_SSWSCREEN 16
48#define WID_SSWSCREENREGION 17
49#define WID_SSWWINDOW 18
50#define WID_SSWWINDOWINT 19
51#define WID_E_NUMSAVEDIR 20
52#define WID_E_FORCESAVEFILE 21
53#define WID_PB_OK 22
54#define WID_PB_UNDO 23
55#define WID_PB_SETTINGS 24
56#define WID_PB_SNAPSHOT 25
57#define WID_SB_SERIALTIME 26
58#define WID_CB_SERIALCAPTURE 27
59#define WID_PB_SCREENREGION 28
60#define WID_RB_FSSPROMPT 29
61#define WID_RB_FSSNUMFILES 30
62#define WID_RB_FSSFORCEFILE 31
63#define WID_CB_DOSOUND 32
64#define WID_NB_SETTINGS 33
65#define WID_RB_BMF12 34
66#define WID_RB_BMF16 35
67#define WID_RB_BMF20 36
68#define WID_CB_IDLEPRIORITY 37
69#define WID_CAPTURETYPE 38
70#define WID_LB_LANGUAGES 39
71#define WID_LB_LANGUAGESHELP 40
72#define WID_ST_LANGNOTE 41
73#define WID_PB_HELP 42
74#define WID_LB_FILEFORMAT 43
75#define WID_PB_EXIT 44
76
77#define IDM_SSWPOPUP 1
78
79#define WID_CAPTURETYPE 38
80
81#define WID_CB_AUTOADDEXTENSION 10001
82#define WID_CB_CONFIRMOVERWRITE 10002
83
84#define UM_PREPARECAPTURE WM_USER+1000
85#define UM_WINDOWHIDDEN WM_USER+1001
86#define UM_SELECTWINDOW WM_USER+1002
87#define UM_WINDOWSELECTED WM_USER+1003
88#define UM_CAPTURE WM_USER+1004
89#define UM_ADJUSTSETTINGS WM_USER+1005
90#define UM_UNDO WM_USER+1006
91#define UM_SSWHIDDEN WM_USER+1007
92#define UM_CAPTURE2 WM_USER+1008
93#define UM_COUNTDOWN WM_USER+1009
94#define UM_CLEANUP WM_USER+1010
95#define UM_STARTCAPTURE WM_USER+1011
96#define UM_STOPCAPTURE WM_USER+1012
97#define UM_SETTINGS2DIALOG WM_USER+1013
98#define UM_ADJUST WM_USER+1014
99#define UM_ABORT WM_USER+1015
100
101#define SEI_SAVEFILE 1
102#define SEI_FORCESAVEFILE 2
103#define SEI_SAVESTYLE 3
104#define SEI_FILEFORMAT 4
105#define SEI_FILESAVESTYLE 5
106#define SEI_NUMSAVEDIR 6
107#define SEI_HIDEWINDOW 7
108#define SEI_AUTOADDEXTENSION 8
109#define SEI_CONFIRMOVERWRITE 9
110#define SEI_DOSOUND 10
111#define SEI_DELAYEDCAPTURE 11
112#define SEI_DELAYCOUNTDOWN 12
113#define SEI_DELAYTIME 13
114#define SEI_SERIALCAPTURE 14
115#define SEI_SERIALTIME 15
116#define SEI_SNAPSHOTWINDOW 16
117#define SEI_SSWCAPTURETYPE 17
118#define SEI_SSWHIDE 18
119#define SEI_SSWALWAYSONTOP 19
120#define SEI_IDLEPRIORITY 20
121#define SEI_SWP 21
122#define SEI_US 22
123#define SEI_SWPSSW 23
124#define SEI_USSSW 24
125#define SEI_LANGUAGE 25
126#define SEI_LANGUAGEHELP 26
127#define SEI_UPDATE178DONE 27
128
129#define IDS_QUIETMODE 1
130//#define IDS_QUIETMODE 2
131#define IDS_SETTINGS 3
132#define IDS_PRODUCTINFORMATION 4
133#define IDS_HEADER_ERROR 5
134#define IDS_ERROR_COULDNOTRETRIEVEHEADER 6
135#define IDS_ERROR_COULDNOTGETBITMAPBITS 7
136#define IDS_ERROR_COULDNOTOPENFILE 8
137#define IDS_ERROR_COULDNOTWRITEFILETYPEEA 9
138#define IDS_SAVESCREENSHOTTO 10
139#define IDS_HEADER_WARNING 11
140#define IDS_FILEEXISTSOVERWRITE 12
141#define IDS_ERROR_INIFILEWRONGVERSION 13
142#define IDS_ERROR_INIFILENOTOPEN 14
143#define IDS_ERROR_HELPERHEADING 15
144#define IDS_ERROR_COULDNOTINITHELP 16
145#define IDS_ERROR_COULDNOTINITHELPFILE 17
146#define IDS_PAGESAVE 18
147#define IDS_PAGESNAPSHOT 19
148#define IDS_PAGEMISC 20
149#define IDS_PAGELANGUAGE 21
[11]150#define IDS_BMF_JPG 22
151#define IDS_BMF_PNG 23
152#define IDS_BMF_OS20 24
153#define IDS_BMF_TIF 25
154#define IDS_BMF_TGA 26
155#define IDS_BMF_PCX 27
156#define IDS_BMF_GIF 28
157#define IDS_BMF_PBM 29
158#define IDS_BMF_JP2 30
159#define IDS_BMF_JBG 31
160#define IDS_BMF_RAW 32
161#define IDS_BMF_DIB 33
[2]162#define IDS_SNAPLABEL 34
163#define IDS_GENERALHELP 35
164
165#define MAIN_HELP_TABLE 1
166
167#define SUBTABLE_MAIN 1
168#define SUBTABLE_SETTINGS 2
169#define SUBTABLE_SNAPSHOT 3
170
171#define PANEL_KEYSHELP 1
172#define PANEL_MAIN 2
173#define PANEL_SNAPSHOT 3
174#define PANEL_SETTINGS 4
Note: See TracBrowser for help on using the repository browser.