//---------------------------------------------------------------------------// // ==>/[_]\ fxlink: A community communication tool for CASIO calculators. // // |:::| Made by Lephe' as part of the fxSDK. // // \___/ License: MIT // //---------------------------------------------------------------------------// // fxlink.tui.tui: Global data and main functions for the interactive TUI #pragma once #include #include #include #include #include #include #include struct TUIData { /* SIGWINCH flag */ bool resize_needed; /* ncurses window panels */ WINDOW *wStatus; WINDOW *wLogs; WINDOW *wTransfers; WINDOW *wTextOutput; WINDOW *wConsole; /* Root box */ struct fxlink_TUI_box *bRoot; /* Application data */ struct fxlink_pollfds polled_fds; struct fxlink_device_list devices; }; extern struct TUIData TUI; void TUI_execute_command(char const *command);