X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;ds=sidebyside;f=radiant%2Fentity.h;h=fca38f92cd4c598852325ceccc19a725b4f9912f;hb=0110e3a8f3ab54c17a1785e17c7246adf8e13a46;hp=eaf73cbb47041be9664248e8db6361cb2e28ed5c;hpb=e4287c28bb2dafedc81c66e63951d947cfbeb225;p=xonotic%2Fnetradiant.git diff --git a/radiant/entity.h b/radiant/entity.h index eaf73cbb..fca38f92 100644 --- a/radiant/entity.h +++ b/radiant/entity.h @@ -22,6 +22,8 @@ #if !defined( INCLUDED_ENTITY_H ) #define INCLUDED_ENTITY_H +#include + template class BasicVector3; typedef BasicVector3 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();