3 #include "common/common.hpp"
4 #include "util/warning.hpp"
7 class WarningsBox :
public Gtk::Box {
11 void update(
const std::vector<Warning> &warnings);
12 typedef sigc::signal<void, const Coordi &> type_signal_selected;
13 type_signal_selected signal_selected()
15 return s_signal_selected;
19 class ListColumns :
public Gtk::TreeModelColumnRecord {
23 Gtk::TreeModelColumnRecord::add(text);
24 Gtk::TreeModelColumnRecord::add(position);
26 Gtk::TreeModelColumn<Glib::ustring> text;
27 Gtk::TreeModelColumn<Coordi> position;
29 ListColumns list_columns;
32 Glib::RefPtr<Gtk::ListStore> store;
34 type_signal_selected s_signal_selected;
35 void row_activated(
const Gtk::TreeModel::Path &path, Gtk::TreeViewColumn *column);