diff options
author | Jesse Luehrs <doy@tozt.net> | 2016-04-30 03:24:45 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2016-04-30 03:24:45 -0400 |
commit | dbf97387fec55692882cf093ddaf4037ca018da1 (patch) | |
tree | 8375ab27be5639c1714278280388b26b1c907bf0 /src | |
parent | 04cf8dd207c79ee4331de684d1e9fc2bfa437547 (diff) | |
download | runes-dbf97387fec55692882cf093ddaf4037ca018da1.tar.gz runes-dbf97387fec55692882cf093ddaf4037ca018da1.zip |
split some more things out of runes.h
Diffstat (limited to 'src')
-rw-r--r-- | src/config.h | 2 | ||||
-rw-r--r-- | src/display.h | 4 | ||||
-rw-r--r-- | src/loop.h | 2 | ||||
-rw-r--r-- | src/runes.h | 7 | ||||
-rw-r--r-- | src/term.h | 2 | ||||
-rw-r--r-- | src/util.h | 2 | ||||
-rw-r--r-- | src/window-xlib.h | 1 |
7 files changed, 13 insertions, 7 deletions
diff --git a/src/config.h b/src/config.h index 58b781b..b718f8b 100644 --- a/src/config.h +++ b/src/config.h @@ -1,6 +1,8 @@ #ifndef _RUNES_CONFIG_H #define _RUNES_CONFIG_H +#include <cairo.h> + struct runes_config { cairo_pattern_t *mousecursorcolor; cairo_pattern_t *cursorcolor; diff --git a/src/display.h b/src/display.h index 1491cb9..cbd65e5 100644 --- a/src/display.h +++ b/src/display.h @@ -1,6 +1,10 @@ #ifndef _RUNES_DISPLAY_H #define _RUNES_DISPLAY_H +#include <cairo.h> +#include <pango/pangocairo.h> +#include <vt100.h> + struct runes_display { cairo_t *cr; PangoLayout *layout; @@ -1,6 +1,8 @@ #ifndef _RUNES_LOOP_H #define _RUNES_LOOP_H +#include <uv.h> + struct runes_loop { uv_loop_t *loop; }; diff --git a/src/runes.h b/src/runes.h index 5bc91d4..62f4536 100644 --- a/src/runes.h +++ b/src/runes.h @@ -1,11 +1,6 @@ #ifndef _RUNES_H #define _RUNES_H -#include <cairo.h> -#include <pango/pangocairo.h> -#include <uv.h> -#include <vt100.h> - #define RUNES_READ_BUFFER_LENGTH 4096 struct runes_term; @@ -36,6 +31,4 @@ typedef struct runes_loop_data RunesLoopData; #include "term.h" -#define UNUSED(x) ((void)x) - #endif @@ -1,6 +1,8 @@ #ifndef _RUNES_TERM_H #define _RUNES_TERM_H +#include <vt100.h> + struct runes_term { RunesWindowBackend w; RunesPtyBackend pty; @@ -1,6 +1,8 @@ #ifndef _RUNES_UTIL_H #define _RUNES_UTIL_H +#define UNUSED(x) ((void)x) + void runes_warn(const char *fmt, ...); #endif diff --git a/src/window-xlib.h b/src/window-xlib.h index e376f91..5431244 100644 --- a/src/window-xlib.h +++ b/src/window-xlib.h @@ -1,6 +1,7 @@ #ifndef _RUNES_WINDOW_XLIB_H #define _RUNES_XLIB_H +#include <cairo.h> #include <X11/Xlib.h> enum runes_atoms { |