2 #include "core/core_board.hpp"
3 #include "imp_layer.hpp"
4 #include "search/searcher_board.hpp"
9 ImpBoard(
const std::string &board_filename,
const std::string &block_filename,
const std::string &via_dir,
10 const std::string &pictures_dir,
const PoolParams ¶ms);
12 const std::map<int, Layer> &get_layers();
13 void update_highlights()
override;
15 std::map<ObjectType, SelectionFilterInfo> get_selection_filter_info()
const override;
20 void construct()
override;
21 bool handle_broadcast(
const json &j)
override;
22 void handle_maybe_drag()
override;
23 void update_action_sensitivity()
override;
24 void apply_preferences()
override;
26 ActionCatalogItem::Availability get_editor_type_for_action()
const override
28 return ActionCatalogItem::AVAILABLE_IN_BOARD;
31 std::string get_hud_text(std::set<SelectableRef> &sel)
override;
32 ActionToolID get_doubleclick_action(ObjectType type,
const UUID &uu)
override;
34 void get_save_meta(
json &j)
override;
35 std::vector<std::string> get_view_hints()
override;
37 Searcher *get_searcher_ptr()
override
42 ToolID get_tool_for_drag_move(
bool ctrl,
const std::set<SelectableRef> &sel)
const override;
45 void canvas_update()
override;
46 void handle_selection_cross_probe();
49 const std::string project_dir;
61 bool cross_probing_enabled =
false;
63 Coordf cursor_pos_drag_begin;
70 std::map<UUID, UUID> text_owners;
71 void update_text_owners();
72 void update_text_owner_annotation();
77 void update_unplaced();
79 void update_airwires();
81 int get_schematic_pid();
84 void update_airwire_annotation();
85 void update_net_colors();
86 void apply_net_colors();
87 std::map<UUID, uint8_t> net_color_map;
89 Gtk::Popover *reload_netlist_popover =
nullptr;
90 sigc::connection reload_netlist_delay_conn;