aboutsummaryrefslogtreecommitdiff
path: root/viewport.c
diff options
context:
space:
mode:
Diffstat (limited to 'viewport.c')
-rw-r--r--viewport.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/viewport.c b/viewport.c
index 4ba207f..1630604 100644
--- a/viewport.c
+++ b/viewport.c
@@ -112,3 +112,8 @@ void imv_viewport_set_redraw(struct imv_viewport *view)
{
view->redraw = 1;
}
+
+void imv_viewport_set_title(struct imv_viewport *view, char* title)
+{
+ SDL_SetWindowTitle(view->window, title);
+}