X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fnetradiant.git;a=blobdiff_plain;f=radiant%2Ftexwindow.h;h=dd871b37be278025e3cab7349330f3689ffa31be;hp=4921fa0509a10997c8d27b72dc98a8e766b55e36;hb=6ee91d153ea09f2dafa62ed2f022f4183c090168;hpb=ba55f1bbf627594f91a7e72706655bb71dca4db4 diff --git a/radiant/texwindow.h b/radiant/texwindow.h index 4921fa05..dd871b37 100644 --- a/radiant/texwindow.h +++ b/radiant/texwindow.h @@ -23,6 +23,8 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA #define INCLUDED_TEXWINDOW_H #include "math/vector.h" +#include "generic/callbackfwd.h" +#include "signal/signalfwd.h" // textures menu @@ -57,8 +59,6 @@ const char* TextureBrowser_GetSelectedShader(TextureBrowser& textureBrower); void TextureBrowser_Construct(); void TextureBrowser_Destroy(); -template -class Callback1; typedef Callback1 StringImportCallback; template class FreeCaller1; @@ -70,8 +70,7 @@ typedef FreeCaller1 Tex const Vector3& TextureBrowser_getBackgroundColour(TextureBrowser& textureBrowser); void TextureBrowser_setBackgroundColour(TextureBrowser& textureBrowser, const Vector3& colour); -class Callback; -void TextureBrowser_addActiveShadersChangedCallback(const Callback& callback); -void TextureBrowser_addShadersRealiseCallback(const Callback& callback); +void TextureBrowser_addActiveShadersChangedCallback(const SignalHandler& handler); +void TextureBrowser_addShadersRealiseCallback(const SignalHandler& handler); #endif