From 913d767475110bd73ce4fe772ff2444004b8f359 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Mon, 6 Jul 2015 15:18:23 +0200 Subject: Move filename from Text to File Also apply syntax rules every time the file name changes. --- ui.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ui.h') diff --git a/ui.h b/ui.h index 7c3ec7e..732c618 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*, 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); }; -- cgit v1.2.3