#include #include #include #include class BoxOutline : public Fl_Box { public: BoxOutline(int x, int y, int w, int h, const char *lb = 0); ~BoxOutline() {} }; class ChatInput : public Fl_Input { public: ChatInput(int x, int y, int w, int h, const char *lb = 0); virtual ~ChatInput() {} virtual void SendMessage(void *user); private: static void CallbackFunction(Fl_Widget *w, void *user) { static_cast(w)->SendMessage(user); } }; class ChatBaseOutput : public Fl_Multiline_Output { public: ChatBaseOutput(int x, int y, int w, int h, const char *lb = 0); ~ChatBaseOutput() {} };