X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=contrib%2Fbrushexport%2Fcallbacks.h;h=ca4b9a1440f9ccd5da306e7a5d0c46eba1abd1af;hb=cd6613e5171544b68d4ae70546c90a15c99b22a5;hp=eea5aa8b334ff720267e3b54f0403d531a27ffd7;hpb=3c73487420fde8d4a3b5360d8b99e48132517900;p=xonotic%2Fnetradiant.git diff --git a/contrib/brushexport/callbacks.h b/contrib/brushexport/callbacks.h index eea5aa8b..ca4b9a14 100644 --- a/contrib/brushexport/callbacks.h +++ b/contrib/brushexport/callbacks.h @@ -1,12 +1,12 @@ -typedef struct _GtkWidget GtkWidget; -typedef struct _GtkButton GtkButton; + +#include namespace callbacks { -void OnDestroy( GtkWidget *, gpointer ); -void OnExportClicked( GtkButton *, gpointer ); -void OnAddMaterial( GtkButton *, gpointer ); -void OnRemoveMaterial( GtkButton *, gpointer ); -void OnExportMatClicked( GtkButton * button, gpointer ); +void OnDestroy( ui::Widget, gpointer ); +void OnExportClicked( ui::Button, gpointer ); +void OnAddMaterial( ui::Button, gpointer ); +void OnRemoveMaterial( ui::Button, gpointer ); +void OnExportMatClicked( ui::Button button, gpointer ); } // callbacks