]> de.git.xonotic.org Git - xonotic/netradiant.git/blobdiff - radiant/texwindow.h
redo a windows fix from 20dbf5c that was mistakenly lost
[xonotic/netradiant.git] / radiant / texwindow.h
index 9a153c44802ca3ca371678b30902701a7b66d176..2d5125e4b0ac59755ca9ad3a9164ef8660fc09eb 100644 (file)
@@ -23,6 +23,7 @@
 #define INCLUDED_TEXWINDOW_H
 
 #include <uilib/uilib.h>
+#include "property.h"
 #include "math/vector.h"
 #include "generic/callback.h"
 #include "signal/signalfwd.h"
@@ -43,11 +44,9 @@ const char* TextureBrowser_GetSelectedShader( TextureBrowser& textureBrower );
 void TextureBrowser_Construct();
 void TextureBrowser_Destroy();
 
-typedef Callback1<const char*> StringImportCallback;
-
 extern ui::Widget g_page_textures;
-void TextureBrowser_exportTitle( const StringImportCallback& importer );
-typedef FreeCaller1<const StringImportCallback&, TextureBrowser_exportTitle> TextureBrowserExportTitleCaller;
+void TextureBrowser_exportTitle( const Callback<void(const char *)> & importer );
+typedef FreeCaller<void(const Callback<void(const char *)> &), TextureBrowser_exportTitle> TextureBrowserExportTitleCaller;
 
 const Vector3& TextureBrowser_getBackgroundColour( TextureBrowser& textureBrowser );
 void TextureBrowser_setBackgroundColour( TextureBrowser& textureBrowser, const Vector3& colour );