1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements.  See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership.  The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance
9 * with the License.  You may obtain a copy of the License at
10 *
11 *   http://www.apache.org/licenses/LICENSE-2.0
12 *
13 * Unless required by applicable law or agreed to in writing,
14 * software distributed under the License is distributed on an
15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 * KIND, either express or implied.  See the License for the
17 * specific language governing permissions and limitations
18 * under the License.
19 *
20 *************************************************************/
21
22
23#ifndef _SVT_SANEDLG_HRC
24#define _SVT_SANEDLG_HRC
25
26#define RID_SANE_DIALOG					1000
27#define RID_SCAN_OK						   1
28#define RID_SCAN_CANCEL					   2
29#define RID_DEVICEINFO_BTN				   3
30#define RID_PREVIEW_BOX					   4
31#define RID_DEVICE_BOX_TXT				   5
32#define RID_DEVICE_BOX					   6
33#define RID_SCANAREA_BOX				   7
34#define RID_SCAN_LEFT_TXT				   8
35#define RID_SCAN_LEFT_BOX				   9
36#define RID_SCAN_TOP_BOX				  10
37#define RID_SCAN_TOP_TXT				  11
38#define RID_SCAN_RIGHT_TXT				  12
39#define RID_SCAN_RIGHT_BOX				  13
40#define RID_SCAN_BOTTOM_TXT				  14
41#define RID_SCAN_BOTTOM_BOX				  15
42#define RID_SCAN_RESOLUTION_TXT			  16
43#define RID_SCAN_RESOLUTION_BOX			  17
44#define RID_PREVIEW_BTN					  18
45#define RID_SCAN_OPTION_BOX				  19
46#define RID_SCAN_OPTIONTITLE_TXT		  20
47#define RID_SCAN_OPTION_DESC_TXT		  21
48#define RID_SCAN_BOOL_OPTION_BOX		  22
49#define RID_SCAN_OPTION_TXT				  23
50#define RID_SCAN_STRING_OPTION_EDT		  24
51#define RID_SCAN_QUANTUM_RANGE_BOX		  25
52#define RID_SCAN_STRING_RANGE_BOX		  26
53#define RID_SCAN_NUMERIC_OPTION_EDT		  27
54#define RID_SCAN_BUTTON_OPTION_BTN		  28
55#define RID_SCAN_NUMERIC_VECTOR_BOX		  29
56#define RID_SCAN_NUMERIC_VECTOR_TXT		  30
57#define RID_SCAN_BITMAP_PLUS			  31
58#define RID_SCAN_BITMAP_MINUS			  32
59#define RID_SCAN_ADVANCED_BOX			  33
60#define RID_SCAN_ADVANCED_TXT			  34
61
62#define RID_SANE_DEVICEINFO_TXT			1001
63#define RID_SANE_SCANERROR_TXT			1002
64#define RID_SANE_NORESOLUTIONOPTION_TXT	1003
65#define RID_SANE_NOSANELIB_TXT			1004
66
67#define SCAN_AREA_TOP		17
68#define SCAN_AREA_LEFT		8
69#define PREVIEW_UPPER_LEFT  SCAN_AREA_LEFT
70#define PREVIEW_UPPER_TOP   SCAN_AREA_TOP + 80
71#define PREVIEW_WIDTH       113
72#define PREVIEW_HEIGHT      160
73#define PREVIEW_BOTTOM		PREVIEW_UPPER_TOP + PREVIEW_HEIGHT
74#define PREVIEW_RIGHT		PREVIEW_UPPER_LEFT + PREVIEW_WIDTH
75#define SECOND_COLUMN		PREVIEW_WIDTH + 20
76#define THIRD_COLUMN		SECOND_COLUMN + 135
77
78#endif
79