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