diff options
author | Piotr Dziwinski <piotrdz@gmail.com> | 2012-07-01 01:37:30 +0200 |
---|---|---|
committer | Piotr Dziwinski <piotrdz@gmail.com> | 2012-07-01 01:37:30 +0200 |
commit | 9bd4ec03b272e7925b11c3efc2bd8460894ea589 (patch) | |
tree | f97339cd526e4240d2fc5932a263fb84cbec93d8 /src/graphics/common/text.h | |
parent | 5bbf897fb1d54df0dc84a0cea35775083591b88f (diff) | |
download | colobot-9bd4ec03b272e7925b11c3efc2bd8460894ea589.tar.gz colobot-9bd4ec03b272e7925b11c3efc2bd8460894ea589.tar.bz2 colobot-9bd4ec03b272e7925b11c3efc2bd8460894ea589.zip |
CDevice interface and stub of implementation
- added CDevice abstract interface
- began implementation of CGLDevice
- added stub for Texture struct
- created CGLDeviceConfig
- changed particule -> particle & other minor changes
Diffstat (limited to 'src/graphics/common/text.h')
-rw-r--r-- | src/graphics/common/text.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/graphics/common/text.h b/src/graphics/common/text.h index 00b73f2..f96dc61 100644 --- a/src/graphics/common/text.h +++ b/src/graphics/common/text.h @@ -73,7 +73,7 @@ public: CText(CInstanceManager *iMan, Gfx::CEngine* engine); ~CText(); - void SetGLDevice(Gfx::CDevice device); + void SetDevice(Gfx::CDevice *device); void DrawText(char *string, char *format, int len, Math::Point pos, float width, int justif, float size, float stretch, int eol); void DrawText(char *string, char *format, Math::Point pos, float width, int justif, float size, float stretch, int eol); @@ -106,7 +106,7 @@ protected: protected: CInstanceManager* m_iMan; Gfx::CEngine* m_engine; - Gfx::CDevice m_pDevice; + Gfx::CDevice* m_device; }; |