diff options
| author | infastin <infastin@yandex.com> | 2025-01-19 23:52:17 +0500 |
|---|---|---|
| committer | Randy Palamar <randy@rnpnr.xyz> | 2025-02-22 12:02:55 -0700 |
| commit | b7f4057919da1d249241eeb8b2f06371a031582f (patch) | |
| tree | 42547e8aeecf8489705f6e56cba9d98418f8c2e6 /ui.h | |
| parent | 0208d7a9f553b77ab4dfd740e2318f32340b10ea (diff) | |
| download | vis-b7f4057919da1d249241eeb8b2f06371a031582f.tar.gz vis-b7f4057919da1d249241eeb8b2f06371a031582f.tar.xz | |
style_set: add option to keep non-default style values
Diffstat (limited to 'ui.h')
| -rw-r--r-- | ui.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -128,8 +128,8 @@ void ui_window_swap(Win *, Win *); bool ui_getkey(Ui *, TermKeyKey *); bool ui_style_define(Win *win, int id, const char *style); -bool ui_window_style_set_pos(Win *win, int x, int y, enum UiStyle id); -void ui_window_style_set(Ui *ui, int win_id, Cell *cell, enum UiStyle id); +void ui_window_style_set(Ui *ui, int win_id, Cell *cell, enum UiStyle id, bool keep_non_default); +bool ui_window_style_set_pos(Win *win, int x, int y, enum UiStyle id, bool keep_non_default); void ui_window_options_set(Win *win, enum UiOption options); void ui_window_status(Win *win, const char *status); |
