]> Dogcows Code - chaz/openbox/blobdiff - render/render.h
rm the focus plugin
[chaz/openbox] / render / render.h
index 18894a33bf69d998477605acc564b9bf2dab5906..5f632dc545f97599b2d905ceafaf4aae1e0b7b09 100644 (file)
@@ -6,6 +6,7 @@
 #include <X11/Xft/Xft.h>
 #include <glib.h>
 #include "color.h"
+#include "../kernel/geom.h"
 
 typedef enum {
     Surface_Planar,
@@ -39,7 +40,8 @@ typedef enum {
 typedef enum {
     Bitmask,
     Text,
-    RGBA
+    RGBA,
+    NoTexture
 } TextureType;
 
 typedef struct PlanarSurface {
@@ -101,7 +103,13 @@ typedef struct TextureMask {
 } TextureMask;
 
 typedef struct TextureRGBA {
-    int poo;
+    int width;
+    int height;
+    unsigned long *data;
+/* cached scaled so we don't have to scale often */
+    int cwidth;
+    int cheight;
+    unsigned long *cache;
 } TextureRGBA;
 
 typedef union {
This page took 0.020324 seconds and 4 git commands to generate.