diff options
author | pommicket <pommicket@gmail.com> | 2023-08-06 10:25:50 -0400 |
---|---|---|
committer | pommicket <pommicket@gmail.com> | 2023-08-06 10:25:50 -0400 |
commit | 5891bf8f920be9cfa40cc03e86c16e6406943c20 (patch) | |
tree | b790b1827da60093ebc6a8868bec818271c980d1 /ted.h | |
parent | bf67a6e3a5a13c805061ee9dbf9241e63c2adff6 (diff) |
more of the new menus
Diffstat (limited to 'ted.h')
-rw-r--r-- | ted.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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 |