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;
31 bool work_layer_only_enabled =
false;
34 std::map<ObjectType, Type> checkbuttons;
35 Gtk::Button *reset_button =
nullptr;
37 void set_all(
bool state);
38 void connect_doubleclick(Gtk::CheckButton *cb);
39 Gtk::CheckButton *add_layer_button(ObjectType type,
int layer,
int index,
bool active =
true);
41 Gtk::CheckButton *work_layer_only_cb =
nullptr;
42 void update_work_layer_only();
43 bool work_layer_only_before =
false;
44 bool work_layer_only =
false;
45 std::map<ObjectType, std::set<int>> saved;
48 bool work_layer_only_before_force =
false;
Definition: changeable.hpp:5
Definition: selection_filter_dialog.hpp:8
Definition: selection_filter.hpp:6