texturebrowser.h

Go to the documentation of this file.
00001 /*
00002 Copyright (C) 1999-2006 Id Software, Inc. and contributors.
00003 For a list of contributors, see the accompanying CONTRIBUTORS file.
00004 
00005 This file is part of GtkRadiant.
00006 
00007 GtkRadiant is free software; you can redistribute it and/or modify
00008 it under the terms of the GNU General Public License as published by
00009 the Free Software Foundation; either version 2 of the License, or
00010 (at your option) any later version.
00011 
00012 GtkRadiant is distributed in the hope that it will be useful,
00013 but WITHOUT ANY WARRANTY; without even the implied warranty of
00014 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00015 GNU General Public License for more details.
00016 
00017 You should have received a copy of the GNU General Public License
00018 along with GtkRadiant; if not, write to the Free Software
00019 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
00020 */
00021 
00022 #if !defined(INCLUDED_TEXWINDOW_H)
00023 #define INCLUDED_TEXWINDOW_H
00024 
00025 #include "generic/callbackfwd.h"
00026 #include "signal/signalfwd.h"
00027 #include "math/Vector3.h"
00028 
00029 typedef struct _GtkWidget GtkWidget;
00030 
00031 class TextureBrowser;
00032 TextureBrowser& GlobalTextureBrowser();
00033 
00034 GtkWidget* TextureBrowser_constructNotebookTab();
00035 
00036 const char* TextureBrowser_GetSelectedShader(TextureBrowser& textureBrower);
00037 void TextureBrowser_ShowStartupShaders(TextureBrowser& textureBrowser);
00038 
00039 void TextureBrowser_Construct();
00040 void TextureBrowser_Destroy();
00041 
00042 typedef Callback1<const char*> StringImportCallback;
00043 template < typename FirstArgument, void (*func)(FirstArgument) >
00044 class FreeCaller1;
00045 
00046 const Vector3& TextureBrowser_getBackgroundColour(TextureBrowser& textureBrowser);
00047 void TextureBrowser_setBackgroundColour(TextureBrowser& textureBrowser, const Vector3& colour);
00048 
00049 void TextureBrowser_addActiveShadersChangedCallback(const SignalHandler& handler);
00050 
00051 #endif

Generated by  doxygen 1.6.2