3 #include "core/core_schematic.hpp" 10 ImpSchematic(
const std::string &schematic_filename,
const std::string &block_filename,
const PoolParams ¶ms);
11 void update_highlights()
override;
14 void construct()
override;
15 bool handle_broadcast(
const json &j)
override;
16 void handle_maybe_drag()
override;
17 void update_action_sensitivity()
override;
19 ActionCatalogItem::Availability get_editor_type_for_action()
const override 21 return ActionCatalogItem::AVAILABLE_IN_SCHEMATIC;
23 ObjectType get_editor_type()
const override 25 return ObjectType::SCHEMATIC;
28 std::string get_hud_text(std::set<SelectableRef> &sel)
override;
30 std::pair<ActionID, ToolID> get_doubleclick_action(ObjectType type,
const UUID &uu)
override;
33 void canvas_update()
override;
35 const std::string project_dir;
37 int handle_ask_net_merge(
class Net *net,
class Net *into);
38 int handle_ask_delete_component(
class Component *comp);
39 void handle_select_sheet(
Sheet *sh);
40 void handle_remove_sheet(
Sheet *sh);
41 void handle_core_rebuilt();
42 void handle_tool_change(ToolID
id)
override;
45 std::string last_pdf_filename;
47 std::map<UUID, std::pair<float, Coordf>> sheet_views;
49 void handle_selection_cross_probe();
50 bool cross_probing_enabled =
false;
52 Coordf cursor_pos_drag_begin;
a class to store JSON values
Definition: json.hpp:161
A Component is an instanced Entity in a Block.
Definition: component.hpp:39
Definition: imp_schematic.hpp:6
Definition: imp_interface.hpp:7
Definition: sheet_box.hpp:6
This class encapsulates a UUID and allows it to be uses as a value type.
Definition: uuid.hpp:16
Definition: action.hpp:106
Definition: bom_export_window.hpp:13
Definition: core_schematic.hpp:11
Your typical coordinate class.
Definition: common.hpp:72
Definition: pdf_export_window.hpp:12