]> de.git.xonotic.org Git - xonotic/netradiant.git/blob - radiant/patchmanip.h
Remove unnecessary locale/UTF-8 encoding conversions
[xonotic/netradiant.git] / radiant / patchmanip.h
1 /*
2 Copyright (C) 1999-2006 Id Software, Inc. and contributors.
3 For a list of contributors, see the accompanying CONTRIBUTORS file.
4
5 This file is part of GtkRadiant.
6
7 GtkRadiant 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 2 of the License, or
10 (at your option) any later version.
11
12 GtkRadiant is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15 GNU General Public License for more details.
16
17 You should have received a copy of the GNU General Public License
18 along with GtkRadiant; if not, write to the Free Software
19 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
20 */
21
22 #if !defined (INCLUDED_PATCHMANIP_H)
23 #define INCLUDED_PATCHMANIP_H
24
25 #include "string/stringfwd.h"
26
27 void Patch_registerCommands();
28 typedef struct _GtkToolbar GtkToolbar;
29 typedef struct _GtkMenu GtkMenu;
30 void Patch_constructToolbar(GtkToolbar* toolbar);
31 void Patch_constructMenu(GtkMenu* menu);
32
33 namespace scene
34 {
35   class Graph;
36 }
37
38 void Scene_PatchSetShader_Selected(scene::Graph& graph, const char* name);
39 void Scene_PatchGetShader_Selected(scene::Graph& graph, CopiedString& name);
40 void Scene_PatchSelectByShader(scene::Graph& graph, const char* name);
41 void Scene_PatchFindReplaceShader(scene::Graph& graph, const char* find, const char* replace);
42 void Scene_PatchFindReplaceShader_Selected(scene::Graph& graph, const char* find, const char* replace);
43
44 void Scene_PatchCapTexture_Selected(scene::Graph& graph);
45 void Scene_PatchNaturalTexture_Selected(scene::Graph& graph);
46 void Scene_PatchTileTexture_Selected(scene::Graph& graph, float s, float t);
47
48 void PatchFilters_construct();
49
50 void PatchPreferences_construct();
51
52 void Patch_registerPreferencesPage();
53
54 class PatchCreator;
55 extern PatchCreator* g_patchCreator;
56
57 #endif