X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=render%2Frender.h;h=006eaf4cdf44db2f410c7db6f537877b00b93a95;hb=3c7bf77dd9a14f93a63f9d790c1bdcf79b63eb39;hp=e282740ef44e06c1d89f6ed1a920c3b4b284b82b;hpb=214fa8714ea0d2182c155eeb4b32ec32d7df337f;p=chaz%2Fopenbox diff --git a/render/render.h b/render/render.h index e282740e..006eaf4c 100644 --- a/render/render.h +++ b/render/render.h @@ -6,7 +6,7 @@ #include #include #include "color.h" -#include "../kernel/geom.h" +#include "kernel/geom.h" typedef enum { Surface_Planar, @@ -79,6 +79,7 @@ typedef struct Surface { typedef struct { XftFont *xftfont; int height; + int elipses_length; } ObFont; typedef enum { @@ -109,12 +110,12 @@ typedef struct TextureMask { } TextureMask; typedef struct TextureRGBA { - int width; - int height; + guint width; + guint height; unsigned long *data; /* cached scaled so we don't have to scale often */ - int cwidth; - int cheight; + guint cwidth; + guint cheight; unsigned long *cache; } TextureRGBA; @@ -156,4 +157,6 @@ void truecolor_startup(void); void pseudocolor_startup(void); void pixel32_to_pixmap(pixel32 *in, Pixmap out, int x, int y, int w, int h); +void appearance_minsize(Appearance *l, int *w, int *h); + #endif /*__render_h*/