summaryrefslogtreecommitdiff
path: root/gfx/record.h
diff options
context:
space:
mode:
authorWerner Almesberger <werner@almesberger.net>2016-08-26 01:29:12 -0300
committerWerner Almesberger <werner@almesberger.net>2016-08-26 01:40:30 -0300
commit910608ba17c7ad3cba78d274d0bbc4037042e145 (patch)
treeecd35fbe8403eaddccd4282bd63d35e628f59db5 /gfx/record.h
parent975bcea4f1735372eb8d25dba32b61c3670af0d8 (diff)
downloadeeshow-910608ba17c7ad3cba78d274d0bbc4037042e145.tar.gz
eeshow-910608ba17c7ad3cba78d274d0bbc4037042e145.tar.bz2
eeshow-910608ba17c7ad3cba78d274d0bbc4037042e145.zip
pass text style to gfx_text{,_width} and related functions
Diffstat (limited to 'gfx/record.h')
-rw-r--r--gfx/record.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/gfx/record.h b/gfx/record.h
index 85e44b2..b492ed7 100644
--- a/gfx/record.h
+++ b/gfx/record.h
@@ -14,6 +14,7 @@
#ifndef GFX_RECORD_H
#define GFX_RECORD_H
+#include "gfx/text.h"
#include "gfx/gfx.h"
@@ -47,7 +48,8 @@ void record_circ(void *ctx, int x, int y, int r,
void record_arc(void *ctx, int x, int y, int r, int sa, int ea,
int color, int fill_color, unsigned layer);
void record_text(void *ctx, int x, int y, const char *s, unsigned size,
- enum text_align align, int rot, unsigned color, unsigned layer);
+ enum text_align align, int rot, enum text_style style,
+ unsigned color, unsigned layer);
void record_init(struct record *rec, const struct gfx_ops *ops, void *user);
void record_wipe(struct record *rec);