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.c | |
parent | bf67a6e3a5a13c805061ee9dbf9241e63c2adff6 (diff) |
more of the new menus
Diffstat (limited to 'ted.c')
-rw-r--r-- | ted.c | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -21,6 +21,14 @@ void die(const char *fmt, ...) { exit(EXIT_FAILURE); } +float ted_window_width(Ted *ted) { + return ted->window_width; +} + +float ted_window_height(Ted *ted) { + return ted->window_height; +} + static void ted_vset_message(Ted *ted, MessageType type, const char *fmt, va_list args) { char message[sizeof ted->message] = {0}; vsnprintf(message, sizeof message - 1, fmt, args); |