summaryrefslogtreecommitdiff
path: root/gfx
diff options
context:
space:
mode:
authorWerner Almesberger <werner@almesberger.net>2016-08-26 01:18:10 -0300
committerWerner Almesberger <werner@almesberger.net>2016-08-26 01:40:30 -0300
commit975bcea4f1735372eb8d25dba32b61c3670af0d8 (patch)
treea6e646113d357584c2047bc9765a60969b2151df /gfx
parentdfd916f49f4552be1d1dc44c6e0dc925a50c4c3f (diff)
downloadeeshow-975bcea4f1735372eb8d25dba32b61c3670af0d8.tar.gz
eeshow-975bcea4f1735372eb8d25dba32b61c3670af0d8.tar.bz2
eeshow-975bcea4f1735372eb8d25dba32b61c3670af0d8.zip
gfx/text.c (text_fig): rename to text_show
The days of only doing FIG are long gone ...
Diffstat (limited to 'gfx')
-rw-r--r--gfx/text.c2
-rw-r--r--gfx/text.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/gfx/text.c b/gfx/text.c
index a081aef..df3e5cc 100644
--- a/gfx/text.c
+++ b/gfx/text.c
@@ -93,7 +93,7 @@ static int align(int dim, enum text_align align)
}
-void text_fig(const struct text *txt, struct gfx *gfx,
+void text_show(const struct text *txt, struct gfx *gfx,
int color, unsigned layer)
{
char *buf = stralloc(txt->s);
diff --git a/gfx/text.h b/gfx/text.h
index bc042ac..2255ec3 100644
--- a/gfx/text.h
+++ b/gfx/text.h
@@ -53,7 +53,7 @@ void text_rot(struct text *txt, int deg);
void text_flip_x(struct text *txt);
enum text_align text_flip(enum text_align align);
-void text_fig(const struct text *txt, struct gfx *gfx,
+void text_show(const struct text *txt, struct gfx *gfx,
int color, unsigned layer);
void text_rel(const struct text *txt, struct gfx *gfx,