aboutsummaryrefslogtreecommitdiff
path: root/example
diff options
context:
space:
mode:
authorHanspeter Portner <dev@open-music-kontrollers.ch>2019-07-17 22:27:10 +0200
committerHanspeter Portner <dev@open-music-kontrollers.ch>2019-07-17 22:27:10 +0200
commit5841ebb4dcf412ab2ca6fc6b84020dfbe0abb484 (patch)
tree65300d2db81acaf3d90088d474a2df970c466a7d /example
parent460ba8c52d0cece4822de866eee1fdec97c33e20 (diff)
downloadd2tk-5841ebb4dcf412ab2ca6fc6b84020dfbe0abb484.tar.xz
prototype d2tk_base_image.
Diffstat (limited to 'example')
-rw-r--r--example/example.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/example/example.c b/example/example.c
index ae1ef48..fead9f5 100644
--- a/example/example.c
+++ b/example/example.c
@@ -89,7 +89,7 @@ static const char *bar_lbl [BAR_MAX] = {
static inline void
_render_c_mix(d2tk_base_t *base, const d2tk_rect_t *rect)
{
-#define N 12
+#define N 13
#define M 24
static val_t value [N*M];
@@ -212,6 +212,11 @@ _render_c_mix(d2tk_base_t *base, const d2tk_rect_t *rect)
}
#undef NITMS
} break;
+ case 12:
+ {
+ d2tk_base_image(base, -1, "libre-gui-folder.png", bnd,
+ D2TK_ALIGN_CENTERED);
+ } break;
default:
{
// nothing to do