2009-11-25 09:22:48 +00:00
|
|
|
#ifndef GUI_H
|
|
|
|
#define GUI_H
|
|
|
|
|
|
|
|
#include <gtkmm.h>
|
2009-11-26 07:47:47 +00:00
|
|
|
#include "matrix.h"
|
2009-11-25 09:22:48 +00:00
|
|
|
|
|
|
|
class Gui : public Gtk::Window
|
|
|
|
{
|
|
|
|
private:
|
|
|
|
Glib::RefPtr<Gtk::ActionGroup> m_actiongroup;
|
|
|
|
Glib::RefPtr<Gtk::UIManager> m_uimanager;
|
|
|
|
Gtk::ScrolledWindow m_scrolledwindow;
|
|
|
|
Gtk::VBox m_box;
|
|
|
|
Matrix m_matrix;
|
|
|
|
|
|
|
|
public:
|
|
|
|
Gui();
|
|
|
|
virtual ~Gui();
|
|
|
|
|
|
|
|
void Refresh();
|
|
|
|
|
|
|
|
protected:
|
|
|
|
bool on_idle();
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // GUI_H
|