-/*!
- \fn gtk_MessageBox
- do various message boxes, IDOK .. IDNO
- URL adds an optional 'go to URL' button
- */
-int WINAPI gtk_MessageBox( void *parent, const char* lpText, const char* lpCaption = "Radiant", guint32 uType = MB_OK, const char* URL = NULL );
-// NOTE: the returned filename is allocated with g_malloc and MUST be freed with g_free (both for win32 and Gtk dialogs)
-// GtkWidget *parent
-const gchar* file_dialog( void *parent, gboolean open, const char* title, const char* path = (char*)NULL, const char* pattern = NULL, const char *baseSubDir = NULL );
-
-/*!
- \fn dir_dialog, prompts for a directory
- */
-char* WINAPI dir_dialog( void *parent, const char* title = "Choose Directory", const char* path = (char*)NULL );
-// GtkWidget *parent
-bool WINAPI color_dialog( void *parent, float *color, const char* title = "Choose Color" );
+template<typename Element> class BasicVector3;
+typedef BasicVector3<float> Vector3;
+bool color_dialog( ui::Widget parent, Vector3& color, const char* title = "Choose Color" );