#ifndef _plat_wxwidgets__window_status__hpp__included__ #define _plat_wxwidgets__window_status__hpp__included__ #include #include #include "platform/wxwidgets/textrender.hpp" class wxwin_status : public wxFrame { public: class panel : public text_framebuffer_panel { public: panel(wxWindow* _parent, wxWindow* tfocus, unsigned lines); //-1: memory watch only, 0: Both, 1: Status only. void set_watch_flag(int f) { watch_flag = f; } protected: void prepare_paint(); private: text_framebuffer fb; int watch_flag; size_t previous_size; }; wxwin_status(int flag, const std::string& title); ~wxwin_status(); bool ShouldPreventAppExit() const; void notify_update() throw(); panel* spanel; }; #endif