From 3189ca5efc5826405bf2e9c7d9949ad5ea9a8a10 Mon Sep 17 00:00:00 2001 From: Treeki Date: Wed, 12 Sep 2012 14:57:44 +0200 Subject: initial un-exporter version --- layoutgl/texturemanager.h | 33 --------------------------------- 1 file changed, 33 deletions(-) delete mode 100644 layoutgl/texturemanager.h (limited to 'layoutgl/texturemanager.h') diff --git a/layoutgl/texturemanager.h b/layoutgl/texturemanager.h deleted file mode 100644 index 07b7739..0000000 --- a/layoutgl/texturemanager.h +++ /dev/null @@ -1,33 +0,0 @@ -#ifndef TEXTUREMANAGER_H -#define TEXTUREMANAGER_H - -#include "wii/texpalette.h" -#include "lyt/layout.h" -#include -#include - -class LGLTextureManager { -public: - LGLTextureManager(); - - void setup(QGLWidget *gl, const LYTLayout *layout); - -private: - const QGLContext *m_gl; - const LYTLayout *m_layout; - const LYTPackageBase *m_package; - - QHash m_textures; - QHash m_images; - -public: - GLuint glTextureForName(const QString name) const { - return m_textures.value(name); - } - - QImage imageForName(const QString name) const { - return m_images.value(name); - } -}; - -#endif // TEXTUREMANAGER_H -- cgit v1.2.3