]> de.git.xonotic.org Git - xonotic/netradiant.git/blobdiff - radiant/brushmanip.h
Merge commit '9fed37bae007bd5e53963ec67e925381609a2980' into garux-merge
[xonotic/netradiant.git] / radiant / brushmanip.h
index f26e68abb4cd0c79509dd3e90205a070929cc960..ac34e45528215e1280e1ebd45e9bb28cb327048a 100644 (file)
@@ -23,8 +23,9 @@
 #define INCLUDED_BRUSHWRAPPER_H
 
 #include <cstddef>
+#include <uilib/uilib.h>
 #include "string/stringfwd.h"
-#include "generic/callbackfwd.h"
+#include "generic/callback.h"
 
 enum EBrushPrefab
 {
@@ -75,10 +76,9 @@ void Scene_BrushFitTexture_Component_SelectedW( scene::Graph& graph, float s_rep
 void Scene_BrushFitTexture_SelectedH( scene::Graph& graph, float s_repeat, float t_repeat );
 void Scene_BrushFitTexture_Component_SelectedH( scene::Graph& graph, float s_repeat, float t_repeat );
 
-typedef struct _GtkMenu GtkMenu;
-void Brush_constructMenu( GtkMenu* menu );
+void Brush_constructMenu( ui::Menu menu );
 
-extern Callback g_texture_lock_status_changed;
+extern Callback<void()> g_texture_lock_status_changed;
 
 void BrushFilters_construct();
 void Brush_registerCommands();