| 1 | #ifndef _UiPause_h_ |
| 2 | #define _UiPause_h_ |
| 3 | /* UiPause.h |
| 4 | * |
| 5 | * Copyright (C) 2009-2012,2015,2016,2018,2020,2022-2024,2026 Paul Boersma |
| 6 | * |
| 7 | * This code is free software; you can redistribute it and/or modify |
| 8 | * it under the terms of the GNU General Public License as published by |
| 9 | * the Free Software Foundation; either version 3 of the License, or (at |
| 10 | * your option) any later version. |
| 11 | * |
| 12 | * This code is distributed in the hope that it will be useful, but |
| 13 | * WITHOUT ANY WARRANTY; without even the implied warranty of |
| 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
| 15 | * See the GNU General Public License for more details. |
| 16 | * |
| 17 | * You should have received a copy of the GNU General Public License |
| 18 | * along with this work. If not, see <http://www.gnu.org/licenses/>. |
| 19 | */ |
| 20 | |
| 21 | #include "Ui.h" |
| 22 | |
| 23 | void UiPause_pauseScript (GuiWindow topShell, Editor optionalPauseWindowOwningEditor, Interpreter interpreter, conststring32 text); |
| 24 | |
| 25 | void UiPause_begin (GuiWindow topShell, Editor optionalPauseWindowOwningEditor, conststring32 title, Interpreter interpreter); |
| 26 | |
| 27 | void UiPause_real (conststring32 label, conststring32 defaultValue); |
| 28 | void UiPause_positive (conststring32 label, conststring32 defaultValue); |
| 29 | void UiPause_integer (conststring32 label, conststring32 defaultValue); |
| 30 | void UiPause_natural (conststring32 label, conststring32 defaultValue); |
| 31 | void UiPause_word (conststring32 label, conststring32 defaultValue); |
| 32 | void UiPause_sentence (conststring32 label, conststring32 defaultValue); |
| 33 | void UiPause_text (conststring32 label, conststring32 defaultValue, integer numberOfLines); |
| 34 | void UiPause_boolean (conststring32 label, bool defaultValue); |
| 35 | void UiPause_infile (conststring32 label, conststring32 defaultValue, integer numberOfLines); |
| 36 | void UiPause_outfile (conststring32 label, conststring32 defaultValue, integer numberOfLines); |
| 37 | void UiPause_folder (conststring32 label, conststring32 defaultValue, integer numberOfLines); |
| 38 | void UiPause_realvector (conststring32 label, kUi_realVectorFormat defaultFormat, conststring32 defaultValue, integer numberOfLines); |
| 39 | void UiPause_positivevector (conststring32 label, kUi_realVectorFormat defaultFormat, conststring32 defaultValue, integer numberOfLines); |
| 40 | void UiPause_integervector (conststring32 label, kUi_integerVectorFormat defaultFormat, conststring32 defaultValue, integer numberOfLines); |
| 41 | void UiPause_naturalvector (conststring32 label, kUi_integerVectorFormat defaultFormat, conststring32 defaultValue, integer numberOfLines); |
| 42 | void UiPause_choice (conststring32 label, int defaultValue); |
| 43 | void UiPause_optionmenu (conststring32 label, int defaultValue); |
| 44 | void UiPause_option (conststring32 label); |
| 45 | void UiPause_heading (conststring32 label); |
| 46 | void UiPause_comment (conststring32 label); |
| 47 | void UiPause_caption (conststring32 label); |
| 48 | |
| 49 | int UiPause_end (int numberOfContinueButtons, int defaultContinueButton, int cancelContinueButton, |
| 50 | conststring32 continueText1, conststring32 continueText2, conststring32 continueText3, |
| 51 | conststring32 continueText4, conststring32 continueText5, conststring32 continueText6, |
| 52 | conststring32 continueText7, conststring32 continueText8, conststring32 continueText9, |
| 53 | conststring32 continueText10, Interpreter interpreter); |
| 54 | |
| 55 | void UiPause_cleanUp (); |
| 56 | void UiPause_interpreterGoesAway (Interpreter interpreter); |
| 57 | |
| 58 | /* End of file UiPause.h */ |
| 59 | #endif |