summaryrefslogtreecommitdiff
path: root/src/FbTk/TextureRender.hh
diff options
context:
space:
mode:
authorsimonb <simonb>2006-03-26 04:02:30 (GMT)
committersimonb <simonb>2006-03-26 04:02:30 (GMT)
commitaf74a2284551c8511b66d77112c7bf32831c1522 (patch)
tree35a8830352f5facc1fc9c58b82c0c6dce8fc921e /src/FbTk/TextureRender.hh
parent872f6a0e1e4230f702ad69fa2d7e10a2fa78b7a3 (diff)
downloadfluxbox_lack-af74a2284551c8511b66d77112c7bf32831c1522.zip
fluxbox_lack-af74a2284551c8511b66d77112c7bf32831c1522.tar.bz2
rotated fonts, buttons, containers. Used for tabs for now
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};