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 RPTUI_DATETIME_HRC 24#define RPTUI_DATETIME_HRC 25 26#define CB_DATE (1) 27#define FT_DATE_FORMAT (2) 28#define LB_DATE_TYPE (3) 29#define FL_SEPARATOR0 (4) 30#define CB_TIME (5) 31#define FT_TIME_FORMAT (6) 32#define LB_TIME_TYPE (7) 33#define FL_SEPARATOR1 (8) 34#define PB_OK (9) 35#define PB_CANCEL (10) 36#define PB_HELP (11) 37 38#define CHECKBOX_HEIGHT 8 39#define FIXEDTEXT_HEIGHT 8 40#define RELATED_CONTROLS 4 41#define UNRELATED_CONTROLS 7 42#define EDIT_HEIGHT 12 43#define LISTBOX_HEIGHT 12 44#define BUTTON_HEIGHT 14 45#define BUTTON_WIDTH 50 46#define BROWSER_HEIGHT 75 47#define PAGE_WIDTH (RELATED_CONTROLS + 3*UNRELATED_CONTROLS + 3*BUTTON_WIDTH) 48#define PAGE_HEIGHT (2*RELATED_CONTROLS + 6*UNRELATED_CONTROLS + 2*CHECKBOX_HEIGHT + 2*LISTBOX_HEIGHT + BUTTON_HEIGHT) 49#define LISTBOX_WIDTH PAGE_WIDTH - 3*UNRELATED_CONTROLS - FIXEDTEXT_WIDTH 50 51#endif // RPTUI_DATETIME_HRC 52