]> git.xonotic.org Git - xonotic/netradiant.git/blobdiff - contrib/meshtex/GenericPluginUIMessages.h
Merge commit '4645e19ce9e8f8034233ac965a4103a13b75714c' into garux-merge
[xonotic/netradiant.git] / contrib / meshtex / GenericPluginUIMessages.h
diff --git a/contrib/meshtex/GenericPluginUIMessages.h b/contrib/meshtex/GenericPluginUIMessages.h
new file mode 100644 (file)
index 0000000..0e0d0cc
--- /dev/null
@@ -0,0 +1,47 @@
+/**
+ * @file GenericPluginUIMessages.h
+ * String constants for messages shown in dialogs.
+ * @ingroup generic-ui
+ */
+
+/*
+ * Copyright 2012 Joel Baxter
+ *
+ * This file is part of MeshTex.
+ *
+ * MeshTex is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * MeshTex is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with MeshTex.  If not, see <http://www.gnu.org/licenses/>.
+ */
+
+#if !defined(INCLUDED_GENERICPLUGINUIMESSAGES_H)
+#define INCLUDED_GENERICPLUGINUIMESSAGES_H
+
+/// @name Window titles
+//@{
+#define DIALOG_ERROR_TITLE "Error"
+#define DIALOG_WARNING_TITLE "Warning"
+//@}
+
+/// @name Window content
+//@{
+#define DIALOG_INTERNAL_ERROR "Internal error in plugin code."
+//@}
+
+/// @name Button labels
+//@{
+#define DIALOG_CANCEL_BUTTON "Cancel"
+#define DIALOG_APPLY_BUTTON "Apply"
+#define DIALOG_OK_BUTTON "OK"
+//@}
+
+#endif // #if !defined(INCLUDED_GENERICPLUGINUIMESSAGES_H)