aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk/TextureRender.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/FbTk/TextureRender.hh')
-rw-r--r--src/FbTk/TextureRender.hh12
1 files changed, 7 insertions, 5 deletions
diff --git a/src/FbTk/TextureRender.hh b/src/FbTk/TextureRender.hh
index b19a606..d9f403c 100644
--- a/src/FbTk/TextureRender.hh
+++ b/src/FbTk/TextureRender.hh
@@ -36,8 +36,10 @@ class Texture;
36 36
37/// Renders texture to pixmap 37/// Renders texture to pixmap
38/** 38/**
39 This is used with BImageControl to render textures 39 This is used with ImageControl to render textures
40*/ 40*/
41
42struct RGBA;
41class TextureRender { 43class TextureRender {
42public: 44public:
43 TextureRender(ImageControl &ic, unsigned int width, unsigned int height, 45 TextureRender(ImageControl &ic, unsigned int width, unsigned int height,
@@ -67,10 +69,10 @@ private:
67 69
68 ImageControl &control; 70 ImageControl &control;
69 71
70 int red_offset, green_offset, blue_offset, red_bits, green_bits, blue_bits, 72 int cpc, cpccpc;
71 cpc; 73
72 unsigned char *red, *green, *blue; 74 RGBA* rgba;
73 const unsigned char *red_table, *green_table, *blue_table; 75 //unsigned char *red, *green, *blue;
74 Orientation orientation; 76 Orientation orientation;
75 unsigned int width, height; 77 unsigned int width, height;
76}; 78};