]> de.git.xonotic.org Git - xonotic/netradiant.git/blob - radiant/patchmanip.h
Remove <gtk/gtk.h> from gtkutil/window.h
[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 <uilib/uilib.h>
26 #include "string/stringfwd.h"
27
28 void Patch_registerCommands();
29 void Patch_constructToolbar( ui::Toolbar toolbar );
30 void Patch_constructMenu( ui::Menu menu );
31
32 namespace scene
33 {
34 class Graph;
35 }
36
37 void Scene_PatchSetShader_Selected( scene::Graph& graph, const char* name );
38 void Scene_PatchGetShader_Selected( scene::Graph& graph, CopiedString& name );
39 void Scene_PatchSelectByShader( scene::Graph& graph, const char* name );
40 void Scene_PatchFindReplaceShader( scene::Graph& graph, const char* find, const char* replace );
41 void Scene_PatchFindReplaceShader_Selected( scene::Graph& graph, const char* find, const char* replace );
42
43 void Scene_PatchCapTexture_Selected( scene::Graph& graph );
44 void Scene_PatchNaturalTexture_Selected( scene::Graph& graph );
45 void Scene_PatchTileTexture_Selected( scene::Graph& graph, float s, float t );
46
47 void PatchFilters_construct();
48
49 void PatchPreferences_construct();
50
51 void Patch_registerPreferencesPage();
52
53 void Patch_NaturalTexture();
54 void Patch_CapTexture();
55 void Patch_ResetTexture();
56 void Patch_FitTexture();
57 void Patch_FlipTextureX();
58 void Patch_FlipTextureY();
59 void Patch_AutoCapTexture();
60
61 class PatchCreator;
62 extern PatchCreator* g_patchCreator;
63
64 #endif