2 #include "core/core_board.hpp" 3 #include "imp_layer.hpp" 8 ImpBoard(
const std::string &board_filename,
const std::string &block_filename,
const std::string &via_dir,
11 const std::map<int, Layer> &get_layers();
12 void update_highlights()
override;
14 std::map<ObjectType, SelectionFilterInfo> get_selection_filter_info()
const override;
17 void construct()
override;
18 bool handle_broadcast(
const json &j)
override;
19 void handle_maybe_drag()
override;
20 void update_action_sensitivity()
override;
21 void apply_preferences()
override;
23 ActionCatalogItem::Availability get_editor_type_for_action()
const override 25 return ActionCatalogItem::AVAILABLE_IN_BOARD;
27 ObjectType get_editor_type()
const override 29 return ObjectType::BOARD;
32 std::string get_hud_text(std::set<SelectableRef> &sel)
override;
33 std::pair<ActionID, ToolID> get_doubleclick_action(ObjectType type,
const UUID &uu)
override;
36 void canvas_update()
override;
37 void handle_selection_cross_probe();
40 const std::string project_dir;
47 bool cross_probing_enabled =
false;
49 Coordf cursor_pos_drag_begin;
56 std::map<UUID, UUID> text_owners;
57 void update_text_owners();
58 void update_text_owner_annotation();
62 int get_schematic_pid();
Definition: annotation.hpp:7
Definition: 3d_view.hpp:9
Definition: imp_board.hpp:6
a class to store JSON values
Definition: json.hpp:161
Definition: fab_output_window.hpp:11
Definition: imp_layer.hpp:5
Definition: step_export_window.hpp:7
Definition: tuning_window.hpp:9
This class encapsulates a UUID and allows it to be uses as a value type.
Definition: uuid.hpp:16
Definition: action.hpp:106
Definition: pdf_export_window.hpp:12
Definition: core_board.hpp:11