]> git.xonotic.org Git - xonotic/netradiant.git/blob - contrib/meshtex/PluginUIMessages.h
* added MeshTex plugin src to project (can't compile)
[xonotic/netradiant.git] / contrib / meshtex / PluginUIMessages.h
1 /**
2  * @file PluginUIMessages.h
3  * String constants for messages shown in dialogs.
4  * @ingroup meshtex-ui
5  */
6
7 /*
8  * Copyright 2012 Joel Baxter
9  *
10  * This file is part of MeshTex.
11  *
12  * MeshTex is free software: you can redistribute it and/or modify
13  * it under the terms of the GNU General Public License as published by
14  * the Free Software Foundation, either version 2 of the License, or
15  * (at your option) any later version.
16  *
17  * MeshTex is distributed in the hope that it will be useful,
18  * but WITHOUT ANY WARRANTY; without even the implied warranty of
19  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
20  * GNU General Public License for more details.
21  *
22  * You should have received a copy of the GNU General Public License
23  * along with MeshTex.  If not, see <http://www.gnu.org/licenses/>.
24  */
25
26 #if !defined(INCLUDED_PLUGINUIMESSAGES_H)
27 #define INCLUDED_PLUGINUIMESSAGES_H
28
29 #include "GenericPluginUIMessages.h"
30 #include "PluginProperties.h"
31
32 /// @name Window titles
33 //@{
34 #define DIALOG_GET_INFO_TITLE "Get Info"
35 #define DIALOG_MESH_INFO_TITLE "Mesh Info"
36 #define DIALOG_SET_SCALE_TITLE "Set S/T Scale"
37 #define DIALOG_GEN_FUNC_TITLE "General Function"
38 #define DIALOG_ABOUT_TITLE "About"
39 #define DIALOG_HELP_TITLE "Help"
40 //@}
41
42 /// @name Popups
43 //@{
44 #define DIALOG_MULTIMESHES_ERROR "Must select only one patch mesh for this function."
45 #define DIALOG_NOMESHES_MSG "No valid patch meshes selected."
46 #define DIALOG_ABOUT_MSG PLUGIN_NAME " " PLUGIN_VERSION "\n\n" PLUGIN_DESCRIPTION "\n\n" PLUGIN_AUTHOR " (" PLUGIN_AUTHOR_EMAIL ")"
47 #define DIALOG_HELP_MSG "The Set S/T Scale, Get Info, and General Function dialogs will affect patch meshes that are selected when OK or Apply is clicked. For the other menu options, select the mesh(es) before selecting the option."
48 //@}
49
50 /// @name Get Info
51 //@{
52 #define DIALOG_GET_INFO_S_ROW_HEADER " S ref row:"
53 #define DIALOG_GET_INFO_T_COL_HEADER " T ref col:"
54 #define DIALOG_GET_INFO_XFER_OPT_LABEL "Transfer reference scale to Set S/T Scale"
55 //@}
56
57 /// @name Set S/T Scale
58 //@{
59 #define DIALOG_SET_SCALE_S_ACTIVE_OPT_LABEL "Set S"
60 #define DIALOG_SET_SCALE_T_ACTIVE_OPT_LABEL "Set T"
61 #define DIALOG_SET_SCALE_METHOD_FRAME_TITLE "Scaling"
62 #define DIALOG_SET_SCALE_TILES_OPT_LABEL "# Tiles"
63 #define DIALOG_SET_SCALE_NATURAL_OPT_LABEL "Natural *"
64 #define DIALOG_SET_SCALE_MAX_OPT_LABEL "Max"
65 #define DIALOG_SET_SCALE_S_ALIGN_FRAME_TITLE "\"Zero\" col"
66 #define DIALOG_SET_SCALE_T_ALIGN_FRAME_TITLE "\"Zero\" row"
67 #define DIALOG_SET_SCALE_S_REF_ROW_OPT_LABEL "Use reference row"
68 #define DIALOG_SET_SCALE_T_REF_COL_OPT_LABEL "Use reference col"
69 #define DIALOG_SET_SCALE_REF_TOTAL_OPT_LABEL "Total length only"
70 //@}
71
72 /// @name General Function
73 //@{
74 #define DIALOG_GEN_FUNC_SURFACE_VALUES "Surface values"
75 #define DIALOG_GEN_FUNC_CONTROL_VALUES "Control values"
76 #define DIALOG_GEN_FUNC_S_FUNC_LABEL " S =  "
77 #define DIALOG_GEN_FUNC_T_FUNC_LABEL " T =  "
78 #define DIALOG_GEN_FUNC_OLD_S_LABEL " * old_S  + "
79 #define DIALOG_GEN_FUNC_OLD_T_LABEL " * old_T  + "
80 #define DIALOG_GEN_FUNC_ROW_DIST_LABEL " * row_dist  + "
81 #define DIALOG_GEN_FUNC_COL_DIST_LABEL " * col_dist  + "
82 #define DIALOG_GEN_FUNC_ROW_NUM_LABEL " * row_num  + "
83 #define DIALOG_GEN_FUNC_COL_NUM_LABEL " * col_num  + "
84 #define DIALOG_GEN_FUNC_MAX_OPT_LABEL DIALOG_SET_SCALE_MAX_OPT_LABEL
85 #define DIALOG_GEN_FUNC_COL_ALIGN_FRAME_LABEL DIALOG_SET_SCALE_S_ALIGN_FRAME_TITLE
86 #define DIALOG_GEN_FUNC_ROW_ALIGN_FRAME_LABEL DIALOG_SET_SCALE_T_ALIGN_FRAME_TITLE
87 #define DIALOG_GEN_FUNC_REF_ROW_FRAME_LABEL DIALOG_SET_SCALE_S_REF_ROW_OPT_LABEL " (for distances)"
88 #define DIALOG_GEN_FUNC_REF_COL_FRAME_LABEL DIALOG_SET_SCALE_T_REF_COL_OPT_LABEL " (for distances)"
89 #define DIALOG_GEN_FUNC_REF_TOTAL_OPT_LABEL DIALOG_SET_SCALE_REF_TOTAL_OPT_LABEL
90 //@}
91
92 #endif // #if !defined(INCLUDED_PLUGINUIMESSAGES_H)