lsnes/include/platform/wxwidgets/window_status.hpp
Ilari Liusvaara 62c095004f Use builtin font for rendering status panel
This will finally solve those problems with fonts.
2012-09-25 13:56:47 +03:00

33 lines
715 B
C++

#ifndef _plat_wxwidgets__window_status__hpp__included__
#define _plat_wxwidgets__window_status__hpp__included__
#include <wx/string.h>
#include <wx/wx.h>
#include "platform/wxwidgets/textrender.hpp"
class wxwin_status : public wxFrame
{
public:
class panel : public wxPanel
{
public:
panel(wxWindow* _parent, wxWindow* tfocus, unsigned lines);
bool AcceptsFocus () const;
void on_focus(wxFocusEvent& e);
void on_paint(wxPaintEvent& e);
bool dirty;
wxWindow* parent;
wxWindow* tfocuswin;
private:
text_framebuffer statusvars;
text_framebuffer memorywatches;
};
wxwin_status();
~wxwin_status();
bool ShouldPreventAppExit() const;
void notify_update() throw();
panel* spanel;
};
#endif