diff options
| author | KonAki <konaki@anokonaki.org> | 2026-10-18 04:26:33 +0800 |
|---|---|---|
| committer | KonAki <konaki@anokonaki.org> | 2026-10-18 04:26:33 +0800 |
| commit | d9d6f47f8a973d6f335c9bac8254d0b295dadac0 (patch) | |
| tree | ca700650b6c29eaeeda4ba53dacbb9ef2c9e2c1a /kon/konui.h | |
| parent | a3835c87e1d17c47a2d36fbf8982fc4b15735b4e (diff) | |
konui: kon_uiImage
Diffstat (limited to 'kon/konui.h')
| -rw-r--r-- | kon/konui.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/kon/konui.h b/kon/konui.h index c055b06..c4ea30f 100644 --- a/kon/konui.h +++ b/kon/konui.h @@ -131,6 +131,9 @@ int kon_uiTabs(kon_ui_t *ui, const char *const *labels, int count, int *current) int kon_uiTreeNode(kon_ui_t *ui, const char *label, int *open); void kon_uiIndent(kon_ui_t *ui, int amount); +/* a picture drawn at width x height pixels (scaled to it) on a checkerboard, so see through parts show. image can be NULL for just the board */ +void kon_uiImage(kon_ui_t *ui, kon_image *image, int width, int height); + void kon_uiSeparator(kon_ui_t *ui); void kon_uiSameLine(kon_ui_t *ui); |
