| 1 |
// AbiWord |
| 2 |
// Copyright (C) 1998 AbiSource, Inc. |
| 3 |
// |
| 4 |
// This program is free software; you can redistribute it and/or |
| 5 |
// modify it under the terms of the GNU General Public License |
| 6 |
// as published by the Free Software Foundation; either version 2 |
| 7 |
// of the License, or (at your option) any later version. |
| 8 |
// |
| 9 |
// This program is distributed in the hope that it will be useful, |
| 10 |
// but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 11 |
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 12 |
// GNU General Public License for more details. |
| 13 |
// |
| 14 |
// You should have received a copy of the GNU General Public License |
| 15 |
// along with this program; if not, write to the Free Software |
| 16 |
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA |
| 17 |
// 02110-1301 USA. |
| 18 |
////////////////////////////////////////////////////////////////// |
| 19 |
|
| 20 |
////////////////////////////////////////////////////////////////// |
| 21 |
// THIS FILE IS INCLUDED BY .cpp AND .rc FILES. |
| 22 |
// |
| 23 |
// *** RC.exe IS BRAIN-DAMAGED. GIVING THIS FILE AN .rc2 |
| 24 |
// *** EXTENSION MAKES #INCLUDING THIS FILE FROM Win32Main.rc |
| 25 |
// *** WORK -- IF THE SUFFIX IS .h ONLY THE #DEFINES WORK, THE |
| 26 |
// *** DIALOGS DO NOT GET COMPILED. |
| 27 |
// |
| 28 |
////////////////////////////////////////////////////////////////// |
| 29 |
|
| 30 |
#define XAP_RID_DIALOG_ZOOM_TEXT_ZOOMTO 1001 |
| 31 |
#define XAP_RID_DIALOG_ZOOM_RADIO_200 1002 |
| 32 |
#define XAP_RID_DIALOG_ZOOM_RADIO_100 1003 |
| 33 |
#define XAP_RID_DIALOG_ZOOM_RADIO_75 1004 |
| 34 |
#define XAP_RID_DIALOG_ZOOM_RADIO_WIDTH 1005 |
| 35 |
#define XAP_RID_DIALOG_ZOOM_RADIO_WHOLE 1006 |
| 36 |
#define XAP_RID_DIALOG_ZOOM_RADIO_PCT 1007 |
| 37 |
#define XAP_RID_DIALOG_ZOOM_EDIT_PCT 1008 |
| 38 |
#define XAP_RID_DIALOG_ZOOM_SPIN_PCT 1009 |
| 39 |
//#define XAP_RID_DIALOG_ZOOM_TEXT_PREVIEW 1010 |
| 40 |
//#define XAP_RID_DIALOG_ZOOM_TEXT_FONT 1011 |
| 41 |
//#define XAP_RID_DIALOG_ZOOM_PREVIEW 1012 |
| 42 |
#define XAP_RID_DIALOG_ZOOM_BTN_CLOSE IDOK |
| 43 |
|
| 44 |
#ifdef RC_INVOKED |
| 45 |
// NOTE -- these placeholder strings get overridden at runtime |
| 46 |
// NOTE -- they're just here to make sizing easier |
| 47 |
|
| 48 |
XAP_RID_DIALOG_ZOOM DIALOG DISCARDABLE 0, 0, 100, 159 |
| 49 |
STYLE DS_MODALFRAME | DS_CONTEXTHELP | WS_POPUP | WS_CAPTION | WS_SYSMENU |
| 50 |
CAPTION "Zoom" |
| 51 |
FONT 8, "MS Shell Dlg 2" |
| 52 |
BEGIN |
| 53 |
GROUPBOX "Zoom to", XAP_RID_DIALOG_ZOOM_TEXT_ZOOMTO, 7,7,86,125 |
| 54 |
CONTROL "&200 %", XAP_RID_DIALOG_ZOOM_RADIO_200, |
| 55 |
"Button",BS_AUTORADIOBUTTON,16,21,73,10 |
| 56 |
CONTROL "&100 %", XAP_RID_DIALOG_ZOOM_RADIO_100, |
| 57 |
"Button",BS_AUTORADIOBUTTON,16,36,73,10 |
| 58 |
CONTROL "&75 %", XAP_RID_DIALOG_ZOOM_RADIO_75, |
| 59 |
"Button",BS_AUTORADIOBUTTON,16,51,73,10 |
| 60 |
CONTROL "&Page width", XAP_RID_DIALOG_ZOOM_RADIO_WIDTH, |
| 61 |
"Button",BS_AUTORADIOBUTTON,16,66,73,10 |
| 62 |
CONTROL "&Whole page", XAP_RID_DIALOG_ZOOM_RADIO_WHOLE, |
| 63 |
"Button",BS_AUTORADIOBUTTON,16,81,73,10 |
| 64 |
CONTROL "P&ercent:", XAP_RID_DIALOG_ZOOM_RADIO_PCT, |
| 65 |
"Button",BS_AUTORADIOBUTTON,16,96,73,10 |
| 66 |
EDITTEXT XAP_RID_DIALOG_ZOOM_EDIT_PCT, 16,111,54,13,ES_AUTOHSCROLL |
| 67 |
CONTROL "Spin", XAP_RID_DIALOG_ZOOM_SPIN_PCT, |
| 68 |
"msctls_updown32",UDS_SETBUDDYINT | UDS_ALIGNRIGHT | |
| 69 |
UDS_AUTOBUDDY | UDS_ARROWKEYS | UDS_NOTHOUSANDS,69,110,11,14 |
| 70 |
// GROUPBOX "Preview", XAP_RID_DIALOG_ZOOM_TEXT_PREVIEW,99,7,105,125 |
| 71 |
// GROUPBOX "12 pt Times", XAP_RID_DIALOG_ZOOM_TEXT_FONT,108,26,134,97 |
| 72 |
// CONTROL "(preview)", XAP_RID_DIALOG_ZOOM_PREVIEW, |
| 73 |
// "Button",BS_OWNERDRAW,104,16,96,112 |
| 74 |
DEFPUSHBUTTON "Close", XAP_RID_DIALOG_ZOOM_BTN_CLOSE, 43,138,50,14 |
| 75 |
END |
| 76 |
#endif /* RC_INVOKED */ |