GUI
This commit is contained in:
parent
b3d06906ff
commit
b0d5226915
7 changed files with 317 additions and 52 deletions
|
|
@ -4,10 +4,17 @@
|
|||
|
||||
namespace tp {
|
||||
class ClientGUI {
|
||||
enum { MESSAGE_SIZE = 1024 };
|
||||
ChatAPI::Credentials mCredentials;
|
||||
bool mInvalidCredentials = false;
|
||||
char mMessageBuff[1000] {0};
|
||||
String mActiveChatName = "Not Selected";
|
||||
|
||||
public:
|
||||
ClientGUI() = default;
|
||||
void draw(ChatAPI& api);
|
||||
|
||||
private:
|
||||
void drawChat(ChatAPI& api);
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue