[xutil] Move xcolor_t into draw

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2008-05-30 12:30:20 +02:00
parent 106ed4ee65
commit 407972eb00
5 changed files with 9 additions and 17 deletions

View File

@ -19,11 +19,6 @@
* *
*/ */
#include <errno.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
#include "common/configopts.h" #include "common/configopts.h"
#include "common/util.h" #include "common/util.h"

View File

@ -22,8 +22,6 @@
/* asprintf */ /* asprintf */
#define _GNU_SOURCE #define _GNU_SOURCE
#include <config.h>
#include <cairo-xcb.h> #include <cairo-xcb.h>
#ifdef WITH_IMLIB2 #ifdef WITH_IMLIB2

View File

@ -27,10 +27,16 @@
#include <xcb/xcb.h> #include <xcb/xcb.h>
#include "config.h"
#include "common/util.h" #include "common/util.h"
#include "common/list.h" #include "common/list.h"
#include "common/xutil.h"
typedef struct
{
uint32_t pixel;
uint16_t red;
uint16_t green;
uint16_t blue;
} xcolor_t;
typedef enum typedef enum
{ {

View File

@ -85,14 +85,6 @@ typedef struct
char *res_class; char *res_class;
} class_hint_t; } class_hint_t;
typedef struct
{
uint32_t pixel;
uint16_t red;
uint16_t green;
uint16_t blue;
} xcolor_t;
class_hint_t *xutil_get_class_hint(xcb_connection_t *, xcb_window_t); class_hint_t *xutil_get_class_hint(xcb_connection_t *, xcb_window_t);
/** Cache entry */ /** Cache entry */

View File

@ -26,6 +26,7 @@
#include "lua.h" #include "lua.h"
#include "layout.h" #include "layout.h"
#include "common/xutil.h"
#include "common/draw.h" #include "common/draw.h"
#include "common/swindow.h" #include "common/swindow.h"
#include "common/xscreen.h" #include "common/xscreen.h"