summaryrefslogtreecommitdiff
path: root/ted.h
diff options
context:
space:
mode:
Diffstat (limited to 'ted.h')
-rw-r--r--ted.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/ted.h b/ted.h
index 7b9afa9..b47c403 100644
--- a/ted.h
+++ b/ted.h
@@ -897,6 +897,10 @@ TextBuffer *ted_get_active_buffer(Ted *ted);
///
/// returns NULL if no menu is open or no buffer was open before the menu was opened.
TextBuffer *ted_get_active_buffer_behind_menu(Ted *ted);
+/// get width of ted window
+float ted_window_width(Ted *ted);
+/// get height of ted window
+float ted_window_height(Ted *ted);
/// set title of ted window
void ted_set_window_title(Ted *ted, const char *title);
/// returns `true` if the given SDL key code is down