]> de.git.xonotic.org Git - xonotic/netradiant.git/blobdiff - radiant/findtexturedialog.h
Callback: work at any arity
[xonotic/netradiant.git] / radiant / findtexturedialog.h
index 96060ea239c6e9d074bbfce4e8059f0384ced420..66022e8b3451cd4c57415e032fcb7906a999e955 100644 (file)
@@ -1,49 +1,35 @@
-/*\r
-Copyright (C) 1999-2007 id Software, Inc. and contributors.\r
-For a list of contributors, see the accompanying CONTRIBUTORS file.\r
-\r
-This file is part of GtkRadiant.\r
-\r
-GtkRadiant is free software; you can redistribute it and/or modify\r
-it under the terms of the GNU General Public License as published by\r
-the Free Software Foundation; either version 2 of the License, or\r
-(at your option) any later version.\r
-\r
-GtkRadiant is distributed in the hope that it will be useful,\r
-but WITHOUT ANY WARRANTY; without even the implied warranty of\r
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\r
-GNU General Public License for more details.\r
-\r
-You should have received a copy of the GNU General Public License\r
-along with GtkRadiant; if not, write to the Free Software\r
-Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA\r
-*/\r
-\r
-#ifndef _FINDTEXTUREDIALOG_H_\r
-#define _FINDTEXTUREDIALOG_H_\r
-\r
-#include "dialog.h"\r
-\r
-class FindTextureDialog : public Dialog\r
-{\r
- public:\r
-  static void setReplaceStr(const char* p);\r
-  static void setFindStr(const char* p);\r
-  static bool isOpen();\r
-  static void show();\r
-  static void updateTextures(const char* p);\r
-\r
-  FindTextureDialog ();\r
-  virtual ~FindTextureDialog ();\r
-  void BuildDialog ();\r
-\r
-  bool m_bSelectedOnly;\r
-  Str  m_strFind;\r
-  Str  m_strReplace;\r
-  bool m_bForce;\r
-  bool m_bLive;\r
-\r
-};\r
-\r
-\r
-#endif //_FINDTEXTUREDIALOG_H_\r
+/*
+   Copyright (C) 1999-2006 Id Software, Inc. and contributors.
+   For a list of contributors, see the accompanying CONTRIBUTORS file.
+
+   This file is part of GtkRadiant.
+
+   GtkRadiant is free software; you can redistribute it and/or modify
+   it under the terms of the GNU General Public License as published by
+   the Free Software Foundation; either version 2 of the License, or
+   (at your option) any later version.
+
+   GtkRadiant is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+   GNU General Public License for more details.
+
+   You should have received a copy of the GNU General Public License
+   along with GtkRadiant; if not, write to the Free Software
+   Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
+ */
+
+#include <uilib/uilib.h>
+
+#if !defined( INCLUDED_FINDTEXTUREDIALOG_H )
+#define INCLUDED_FINDTEXTUREDIALOG_H
+
+void FindTextureDialog_Construct();
+void FindTextureDialog_Destroy();
+
+void FindTextureDialog_constructWindow( ui::Window main_window );
+void FindTextureDialog_destroyWindow();
+bool FindTextureDialog_isOpen();
+void FindTextureDialog_selectTexture( const char* name );
+
+#endif