3 #include "common/common.hpp"
4 #include "util/changeable.hpp"
13 void set_work_layer(
int layer);
14 void force_work_layer_only(
bool force);
19 Gtk::ListBox *listbox =
nullptr;
23 Gtk::ToggleButton *expand_button =
nullptr;
24 Gtk::CheckButton *checkbutton =
nullptr;
25 std::map<int, Gtk::CheckButton *> layer_buttons;
26 Gtk::CheckButton *other_layer_checkbutton =
nullptr;
28 bool get_all_active();
29 bool expanded =
false;
33 std::map<ObjectType, Type> checkbuttons;
34 Gtk::Button *reset_button =
nullptr;
36 void set_all(
bool state);
37 void connect_doubleclick(Gtk::CheckButton *cb);
38 Gtk::CheckButton *add_layer_button(ObjectType type,
int layer,
int index,
bool active =
true);
40 Gtk::CheckButton *work_layer_only_cb =
nullptr;
41 void update_work_layer_only();
42 bool work_layer_only_before =
false;
43 bool work_layer_only =
false;
44 std::map<ObjectType, std::set<int>> saved;
47 bool work_layer_only_before_force =
false;