aboutsummaryrefslogtreecommitdiff
path: root/terminal.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2019-07-08 13:56:15 +0000
committerDaniel Eklöf <daniel@ekloef.se>2019-07-08 13:56:15 +0000
commit1e2a7e77f041f2b6bff2c7f7babd19fe7096609e (patch)
tree6ec666b7474c1533db2c8872033f5cacebca83d2 /terminal.h
parentrender: use CAIRO_OPERATER_SOURCE to draw glyphs (diff)
rgba: drop alpha channel support
Diffstat (limited to 'terminal.h')
-rw-r--r--terminal.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/terminal.h b/terminal.h
index 253163af..d897b10a 100644
--- a/terminal.h
+++ b/terminal.h
@@ -36,7 +36,7 @@ struct wayland {
struct xdg_toplevel *xdg_toplevel;
};
-struct rgba { double r, g, b, a; } __attribute__((packed));
+struct rgb { double r, g, b; } __attribute__((packed));
struct attributes {
#if 0
@@ -60,8 +60,8 @@ struct attributes {
uint8_t have_foreground:1;
uint8_t have_background:1;
#endif
- struct rgba foreground; /* Only valid when have_foreground == true */
- struct rgba background; /* Only valid when have_background == true */
+ struct rgb foreground; /* Only valid when have_foreground == true */
+ struct rgb background; /* Only valid when have_background == true */
} __attribute__((packed));
struct cell {
@@ -231,8 +231,8 @@ struct terminal {
bool print_needs_wrap;
struct scroll_region scroll_region;
- struct rgba foreground;
- struct rgba background;
+ struct rgb foreground;
+ struct rgb background;
struct {
int col;