1// AbiWord 2// Copyright (C) 2000 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 AP_RID_DIALOG_LATEX_TEXT_EXAMPLE 1001 31#define AP_RID_DIALOG_LATEX_TEXT_LATEXEQUATION 1002 32#define AP_RID_DIALOG_LATEX_TEXT_EMC 1003 33#define AP_RID_DIALOG_LATEX_EDIT_LATEX 1004 34#define AP_RID_DIALOG_LATEX_BTN_CLOSE IDCANCEL 35#define AP_RID_DIALOG_LATEX_BTN_INSERT IDOK 36 37#ifdef RC_INVOKED 38// NOTE -- these placeholder strings get overridden at runtime 39// NOTE -- they're just here to make sizing easier 40 41 42AP_RID_DIALOG_LATEX DIALOG DISCARDABLE 0, 0, 215, 120 43STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU 44CAPTION "LaTeX Equation" 45FONT 8, "MS Shell Dlg 2" 46BEGIN 47 DEFPUSHBUTTON "Insert",AP_RID_DIALOG_LATEX_BTN_INSERT,157,98,50,14 48 PUSHBUTTON "Close",AP_RID_DIALOG_LATEX_BTN_CLOSE,102,98,50,14 49 LTEXT "LaTeX Equation",AP_RID_DIALOG_LATEX_TEXT_LATEXEQUATION,7,7,64,8 50 LTEXT "Example:",AP_RID_DIALOG_LATEX_TEXT_EXAMPLE,7,86,32,8 51 LTEXT "E = mc^2",AP_RID_DIALOG_LATEX_TEXT_EMC,48,86,56,8 52 EDITTEXT AP_RID_DIALOG_LATEX_EDIT_LATEX,16,23,191,59,ES_AUTOHSCROLL 53END 54 55#endif /* RC_INVOKED */ 56