]> de.git.xonotic.org Git - xonotic/netradiant.git/blobdiff - radiant/entity.h
Add CPack targets package and package_source
[xonotic/netradiant.git] / radiant / entity.h
index eaf73cbb47041be9664248e8db6361cb2e28ed5c..fca38f92cd4c598852325ceccc19a725b4f9912f 100644 (file)
@@ -22,6 +22,8 @@
 #if !defined( INCLUDED_ENTITY_H )
 #define INCLUDED_ENTITY_H
 
+#include <uilib/uilib.h>
+
 template<typename Element> class BasicVector3;
 typedef BasicVector3<float> Vector3;
 void Entity_createFromSelection( const char* name, const Vector3& origin );
@@ -30,11 +32,9 @@ void Scene_EntitySetKeyValue_Selected( const char* key, const char* value );
 void Scene_EntitySetClassname_Selected( const char* classname );
 
 
-typedef struct _GtkWidget GtkWidget;
-const char* misc_model_dialog( GtkWidget* parent );
+const char* misc_model_dialog( ui::Widget parent );
 
-typedef struct _GtkMenu GtkMenu;
-void Entity_constructMenu( GtkMenu* menu );
+void Entity_constructMenu( ui::Menu menu );
 
 void Entity_Construct();
 void Entity_Destroy();