1*37e8fa01SAndrew Rist/************************************************************** 2cdf0e10cSrcweir * 3*37e8fa01SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one 4*37e8fa01SAndrew Rist * or more contributor license agreements. See the NOTICE file 5*37e8fa01SAndrew Rist * distributed with this work for additional information 6*37e8fa01SAndrew Rist * regarding copyright ownership. The ASF licenses this file 7*37e8fa01SAndrew Rist * to you under the Apache License, Version 2.0 (the 8*37e8fa01SAndrew Rist * "License"); you may not use this file except in compliance 9*37e8fa01SAndrew Rist * with the License. You may obtain a copy of the License at 10*37e8fa01SAndrew Rist * 11*37e8fa01SAndrew Rist * http://www.apache.org/licenses/LICENSE-2.0 12*37e8fa01SAndrew Rist * 13*37e8fa01SAndrew Rist * Unless required by applicable law or agreed to in writing, 14*37e8fa01SAndrew Rist * software distributed under the License is distributed on an 15*37e8fa01SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16*37e8fa01SAndrew Rist * KIND, either express or implied. See the License for the 17*37e8fa01SAndrew Rist * specific language governing permissions and limitations 18*37e8fa01SAndrew Rist * under the License. 19*37e8fa01SAndrew Rist * 20*37e8fa01SAndrew Rist *************************************************************/ 21*37e8fa01SAndrew Rist 22*37e8fa01SAndrew Rist 23cdf0e10cSrcweir#ifndef RPTUI_DATETIME_HRC 24cdf0e10cSrcweir#define RPTUI_DATETIME_HRC 25cdf0e10cSrcweir 26cdf0e10cSrcweir#define CB_DATE (1) 27cdf0e10cSrcweir#define FT_DATE_FORMAT (2) 28cdf0e10cSrcweir#define LB_DATE_TYPE (3) 29cdf0e10cSrcweir#define FL_SEPARATOR0 (4) 30cdf0e10cSrcweir#define CB_TIME (5) 31cdf0e10cSrcweir#define FT_TIME_FORMAT (6) 32cdf0e10cSrcweir#define LB_TIME_TYPE (7) 33cdf0e10cSrcweir#define FL_SEPARATOR1 (8) 34cdf0e10cSrcweir#define PB_OK (9) 35cdf0e10cSrcweir#define PB_CANCEL (10) 36cdf0e10cSrcweir#define PB_HELP (11) 37cdf0e10cSrcweir 38cdf0e10cSrcweir#define CHECKBOX_HEIGHT 8 39cdf0e10cSrcweir#define FIXEDTEXT_HEIGHT 8 40cdf0e10cSrcweir#define RELATED_CONTROLS 4 41cdf0e10cSrcweir#define UNRELATED_CONTROLS 7 42cdf0e10cSrcweir#define EDIT_HEIGHT 12 43cdf0e10cSrcweir#define LISTBOX_HEIGHT 12 44cdf0e10cSrcweir#define BUTTON_HEIGHT 14 45cdf0e10cSrcweir#define BUTTON_WIDTH 50 46cdf0e10cSrcweir#define BROWSER_HEIGHT 75 47cdf0e10cSrcweir#define PAGE_WIDTH (RELATED_CONTROLS + 3*UNRELATED_CONTROLS + 3*BUTTON_WIDTH) 48cdf0e10cSrcweir#define PAGE_HEIGHT (2*RELATED_CONTROLS + 6*UNRELATED_CONTROLS + 2*CHECKBOX_HEIGHT + 2*LISTBOX_HEIGHT + BUTTON_HEIGHT) 49cdf0e10cSrcweir#define LISTBOX_WIDTH PAGE_WIDTH - 3*UNRELATED_CONTROLS - FIXEDTEXT_WIDTH 50cdf0e10cSrcweir 51cdf0e10cSrcweir#endif // RPTUI_DATETIME_HRC 52