diff options
author | Ian Moffett <ian@osmora.org> | 2025-06-08 01:53:26 -0400 |
---|---|---|
committer | Ian Moffett <ian@osmora.org> | 2025-06-08 01:56:08 -0400 |
commit | 09d22164c5e159a9e6b6db4864086fcfd3b2587a (patch) | |
tree | 98af9a332f4a1e86ad4ef3e805dfeb9dda3c3138 /usr.bin/kfgwm/include/kfg/window.h | |
parent | 833c46b5cd57f02d0bd9f7ae85c628d5a6d93d54 (diff) |
usr.bin: kfgwm: Add initial window text support
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'usr.bin/kfgwm/include/kfg/window.h')
-rw-r--r-- | usr.bin/kfgwm/include/kfg/window.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/usr.bin/kfgwm/include/kfg/window.h b/usr.bin/kfgwm/include/kfg/window.h index 058e4b7..781c2a5 100644 --- a/usr.bin/kfgwm/include/kfg/window.h +++ b/usr.bin/kfgwm/include/kfg/window.h @@ -55,6 +55,13 @@ struct kfg_window { kfgpixel_t *framebuf; }; +struct kfg_text { + const char *text; + kfgpos_t x; + kfgpos_t y; +}; + int kfg_win_draw(struct kfg_window *parent, struct kfg_window *wp); +int kfg_win_putstr(struct kfg_window *wp, struct kfg_text *tp); #endif /* !KFG_WINDOW_H_ */ |