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.hh3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/FbTk/TextureRender.hh b/src/FbTk/TextureRender.hh
index d0fee21..14b5547 100644
--- a/src/FbTk/TextureRender.hh
+++ b/src/FbTk/TextureRender.hh
@@ -28,6 +28,7 @@
28#define FBTK_TEXTURRENDER_HH 28#define FBTK_TEXTURRENDER_HH
29 29
30#include "Texture.hh" 30#include "Texture.hh"
31#include "Text.hh"
31 32
32#include <X11/Xlib.h> 33#include <X11/Xlib.h>
33 34
@@ -43,6 +44,7 @@ class ImageControl;
43class TextureRender { 44class TextureRender {
44public: 45public:
45 TextureRender(ImageControl &ic, unsigned int width, unsigned int height, 46 TextureRender(ImageControl &ic, unsigned int width, unsigned int height,
47 Orientation orient = ROT0,
46 XColor *_colors=0, size_t num_colors=0); 48 XColor *_colors=0, size_t num_colors=0);
47 ~TextureRender(); 49 ~TextureRender();
48 /// render to pixmap 50 /// render to pixmap
@@ -94,6 +96,7 @@ private:
94 ncolors, cpc, cpccpc; 96 ncolors, cpc, cpccpc;
95 unsigned char *red, *green, *blue; 97 unsigned char *red, *green, *blue;
96 const unsigned char *red_table, *green_table, *blue_table; 98 const unsigned char *red_table, *green_table, *blue_table;
99 Orientation orientation;
97 unsigned int width, height; 100 unsigned int width, height;
98 unsigned int *xtable, *ytable; 101 unsigned int *xtable, *ytable;
99}; 102};