]> git.xonotic.org Git - xonotic/netradiant.git/blobdiff - radiant/patchmanip.h
Merge commit 'e78f526d5fbbbf18699ec76297e4973565356c81' into master-merge
[xonotic/netradiant.git] / radiant / patchmanip.h
index d6d8764cb65389f41ea4337a29a9568800d35d8a..512a3f95c1132c05cd28f08f9c8d7930f3466e9a 100644 (file)
 #if !defined ( INCLUDED_PATCHMANIP_H )
 #define INCLUDED_PATCHMANIP_H
 
+#include <uilib/uilib.h>
 #include "string/stringfwd.h"
 
 void Patch_registerCommands();
-typedef struct _GtkToolbar GtkToolbar;
-typedef struct _GtkMenu GtkMenu;
-void Patch_constructToolbar( GtkToolbar* toolbar );
-void Patch_constructMenu( GtkMenu* menu );
+void Patch_constructToolbar( ui::Toolbar toolbar );
+void Patch_constructMenu( ui::Menu menu );
 
 namespace scene
 {
@@ -57,6 +56,7 @@ void Patch_ResetTexture();
 void Patch_FitTexture();
 void Patch_FlipTextureX();
 void Patch_FlipTextureY();
+void Patch_AutoCapTexture();
 
 class PatchCreator;
 extern PatchCreator* g_patchCreator;