aboutsummaryrefslogtreecommitdiff
path: root/ui.h
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2015-04-07 13:05:18 +0200
committerMarc André Tanner <mat@brain-dump.org>2015-04-07 13:09:25 +0200
commit515c3e272950e88be6e6d24b147d3f82ffb2d99a (patch)
treef7a8ae1fcffec06563c75ecdbab7b38beffe62b5 /ui.h
parente0b0042619a0857c57b049dcc0d7e590a0fc0d2c (diff)
downloadvis-515c3e272950e88be6e6d24b147d3f82ffb2d99a.tar.gz
vis-515c3e272950e88be6e6d24b147d3f82ffb2d99a.tar.xz
Set '< and '> marks
Diffstat (limited to 'ui.h')
-rw-r--r--ui.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/ui.h b/ui.h
index 62a79dd..073bd09 100644
--- a/ui.h
+++ b/ui.h
@@ -26,10 +26,10 @@ struct Ui {
void (*free)(Ui*);
short (*color_get)(short fg, short bg);
void (*resize)(Ui*);
- UiWin* (*window_new)(Ui*, Text*);
+ UiWin* (*window_new)(Ui*, Win*, Text*);
void (*window_free)(UiWin*);
void (*window_focus)(UiWin*);
- UiWin* (*prompt_new)(Ui*, Text*);
+ UiWin* (*prompt_new)(Ui*, Win*, Text*);
void (*prompt)(Ui*, const char *title, const char *value);
char* (*prompt_input)(Ui*);
void (*prompt_hide)(Ui*);
@@ -53,7 +53,6 @@ struct UiWin {
void (*cursor_to)(UiWin*, int x, int y);
void (*reload)(UiWin*, Text*);
void (*options)(UiWin*, enum UiOption);
- Win* (*view_get)(UiWin*);
};
#endif