Goby v2
|
provides a terminal GUI for a chat window (lower box to type and upper box to receive messages). Part of the chat.cpp example. More...
#include </build/goby2-f4lpPf/goby2-2.1.14/share/examples/acomms/chat/chat_curses.h>
Public Member Functions | |
void | set_modem_id (unsigned id) |
give the modem_id so we know how to label our messages | |
void | startup () |
start the display | |
void | run_input (std::string &line) |
grab a character and if there's a line to return it will be returned in line | |
void | cleanup () |
end the display | |
void | post_message (unsigned id, const std::string &line) |
add a message to the upper window (the chat log) | |
void | post_message (const std::string &line) |
Constructors/Destructor | |
ChatCurses () | |
~ChatCurses () | |
provides a terminal GUI for a chat window (lower box to type and upper box to receive messages). Part of the chat.cpp example.
Definition at line 29 of file chat_curses.h.