diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2015-07-06 15:18:23 +0200 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2015-07-06 15:18:23 +0200 |
| commit | 913d767475110bd73ce4fe772ff2444004b8f359 (patch) | |
| tree | e65f099568444167ca6ebac2c2368e653b7e1ef3 /ui.h | |
| parent | e7dabd3d87d89efe2fadbe1e21d03fbeb3cc68a6 (diff) | |
| download | vis-913d767475110bd73ce4fe772ff2444004b8f359.tar.gz vis-913d767475110bd73ce4fe772ff2444004b8f359.tar.xz | |
Move filename from Text to File
Also apply syntax rules every time the file name changes.
Diffstat (limited to 'ui.h')
| -rw-r--r-- | ui.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -26,10 +26,10 @@ struct Ui { void (*free)(Ui*); short (*color_get)(short fg, short bg); void (*resize)(Ui*); - UiWin* (*window_new)(Ui*, View*, Text*); + UiWin* (*window_new)(Ui*, View*, File*); void (*window_free)(UiWin*); void (*window_focus)(UiWin*); - UiWin* (*prompt_new)(Ui*, View*, Text*); + UiWin* (*prompt_new)(Ui*, View*, File*); void (*prompt)(Ui*, const char *title, const char *value); char* (*prompt_input)(Ui*); void (*prompt_hide)(Ui*); @@ -51,7 +51,7 @@ struct UiWin { void (*draw_text)(UiWin*, const Line*); void (*draw_status)(UiWin*); void (*cursor_to)(UiWin*, int x, int y); - void (*reload)(UiWin*, Text*); + void (*reload)(UiWin*, File*); void (*options)(UiWin*, enum UiOption); }; |
