diff --git a/icons/pid_symbols/dark/arrow.svg b/icons/pid_symbols/dark/arrow.svg new file mode 100644 index 0000000000000000000000000000000000000000..704c660a9825e3d3db3dd85bca2c95e675ea854f --- /dev/null +++ b/icons/pid_symbols/dark/arrow.svg @@ -0,0 +1,19 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<svg + width="4" + height="4" + version="1.1" + id="svg1" + xmlns="http://www.w3.org/2000/svg" + xmlns:svg="http://www.w3.org/2000/svg"> + <defs + id="defs1" /> + <path + id="path1" + d="M 0.7,2 l 2.6,-1.5 v 3 z" + style="fill:#ffffff;stroke:#ffffff;stroke-opacity:1;stroke-width:0.2;stroke-dasharray:none;stroke-linejoin:round;fill-opacity:1" /> + <path + id="path2" + d="M 0,2 h 4" + style="stroke:#ffffff;stroke-opacity:1;fill:none;stroke-width:0.2;stroke-dasharray:none" /> +</svg> diff --git a/icons/pid_symbols/dark/burst_disk.svg b/icons/pid_symbols/dark/burst_disk.svg new file mode 100644 index 0000000000000000000000000000000000000000..436826c9945a24a0df16a45f377432cf3ebe56e6 --- /dev/null +++ b/icons/pid_symbols/dark/burst_disk.svg @@ -0,0 +1,27 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<svg + width="4" + height="6" + version="1.1" + id="svg1" + xmlns="http://www.w3.org/2000/svg" + xmlns:svg="http://www.w3.org/2000/svg"> + <defs + id="defs1" /> + <path + style="fill:none;stroke:#ffffff;stroke-width:0.2;stroke-linejoin:round" + d="M 0.5,0 V 6" + id="path1" /> + <path + style="fill:none;stroke:#ffffff;stroke-width:0.2;stroke-linejoin:round" + d="m 1.5,0 v 1 a 2,2 0 1 1 0,4 v 1" + id="path2" /> + <path + style="fill:none;stroke:#ffffff;stroke-width:0.2;stroke-linejoin:round" + d="m 0,3 h 0.5" + id="path3" /> + <path + style="fill:none;stroke:#ffffff;stroke-width:0.2;stroke-linejoin:round" + d="m 3.5,3 h 0.5" + id="path4" /> +</svg> diff --git a/icons/pid_symbols/dark/check_valve.svg b/icons/pid_symbols/dark/check_valve.svg new file mode 100644 index 0000000000000000000000000000000000000000..abe1c9c9e831df5c07b75356da01c79065b88d1e --- /dev/null +++ b/icons/pid_symbols/dark/check_valve.svg @@ -0,0 +1,35 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<svg + width="10" + height="5" + version="1.1" + id="svg1" + xmlns="http://www.w3.org/2000/svg" + xmlns:svg="http://www.w3.org/2000/svg"> + <defs + id="defs1" /> + <circle + style="fill:#ffffff;stroke:none" + id="path2" + cx="1" + cy="4.5" + r="0.5" /> + <path + fill="none" + stroke="#ffffff" + d="m 9,2.5 h 1 z" + id="path1-5-2" + style="stroke-width:0.2;stroke-dasharray:none" /> + <path + fill="none" + stroke="#ffffff" + d="M 0,2.5 H 1 Z" + id="path1-5" + style="stroke-width:0.2;stroke-dasharray:none" /> + <path + fill="none" + stroke="#ffffff" + d="m 1,0.5 v 4 l 8,-4 v 4" + id="path1" + style="stroke-width:0.2;stroke-dasharray:none;stroke-linejoin:round" /> +</svg> diff --git a/icons/pid_symbols/dark/flexible_connection.svg b/icons/pid_symbols/dark/flexible_connection.svg new file mode 100644 index 0000000000000000000000000000000000000000..3811057224ac66268aea0b1658ac778491224917 --- /dev/null +++ b/icons/pid_symbols/dark/flexible_connection.svg @@ -0,0 +1,31 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<svg + width="10" + height="6" + version="1.1" + id="svg1" + xmlns="http://www.w3.org/2000/svg" + xmlns:svg="http://www.w3.org/2000/svg"> + <defs + id="defs1" /> + <path + id="path1" + d="M 0,3 H 1" + style="fill:none;stroke:#ffffff;stroke-width:0.2;stroke-dasharray:none;stroke-opacity:1" /> + <path + id="path2" + d="m 9,3 h 1" + style="fill:none;stroke:#ffffff;stroke-width:0.2;stroke-dasharray:none;stroke-opacity:1" /> + <path + id="path3" + d="M 1,0 V 6 M 2,6 V 0" + style="fill:none;stroke:#ffffff;stroke-width:0.2;stroke-dasharray:none;stroke-opacity:1" /> + <path + id="path4" + d="M 8,0 V 6 M 9,0 v 6" + style="fill:none;stroke:#ffffff;stroke-width:0.2;stroke-dasharray:none;stroke-opacity:1" /> + <path + id="path5" + d="M 2,3 H 3 A 2,2 0 1 1 7,3 H 8" + style="fill:none;stroke:#ffffff;stroke-width:0.2;stroke-dasharray:none;stroke-opacity:1" /> +</svg> diff --git a/icons/pid_symbols/dark/manual_valve.svg b/icons/pid_symbols/dark/manual_valve.svg new file mode 100644 index 0000000000000000000000000000000000000000..d942a790529c6d391955a5729c635a4c94617ddf --- /dev/null +++ b/icons/pid_symbols/dark/manual_valve.svg @@ -0,0 +1,29 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<svg + width="10" + height="5" + version="1.1" + id="svg1" + xmlns="http://www.w3.org/2000/svg" + xmlns:svg="http://www.w3.org/2000/svg"> + <defs + id="defs1" /> + <path + fill="none" + stroke="#ffffff" + d="M 0,2.5 H 1" + id="path2" + style="stroke-width:0.2" /> + <path + fill="none" + stroke="#ffffff" + d="m 9,2.5 h 1" + id="path3" + style="stroke-width:0.2" /> + <path + fill="none" + stroke="#ffffff" + d="m 1,0.5 v 4 l 8,-4 v 4 z" + id="path1" + style="stroke-width:0.2;stroke-linejoin:round" /> +</svg> diff --git a/icons/pid_symbols/dark/motor_valve.svg b/icons/pid_symbols/dark/motor_valve.svg new file mode 100644 index 0000000000000000000000000000000000000000..94f0dd9648821b42a0727c77ddb885b2a057f84d --- /dev/null +++ b/icons/pid_symbols/dark/motor_valve.svg @@ -0,0 +1,45 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<svg + width="10" + height="8" + version="1.1" + id="svg1" + xmlns="http://www.w3.org/2000/svg" + xmlns:svg="http://www.w3.org/2000/svg"> + <defs + id="defs1" /> + <path + fill="none" + stroke="#ffffff" + d="M 1,3 V 7 L 9,3 v 4 z" + id="path1" + style="stroke-width:0.2;stroke-linejoin:round" /> + <path + fill="none" + stroke="#ffffff" + d="M 0,5 H 1" + id="path2" + style="stroke-width:0.2" /> + <path + fill="none" + stroke="#ffffff" + d="M 5,2.5 V 5" + id="path3" + style="stroke-width:0.2" /> + <path + fill="none" + stroke="#ffffff" + d="m 9,5 h 1" + id="path4" + style="stroke-width:0.2" /> + <circle + style="fill:none;stroke:#ffffff;stroke-width:0.2" + id="circle1" + cx="5" + cy="1.5" + r="1" /> + <path + style="fill:#ffffff;stroke:#ffffff;stroke-opacity:1;stroke-width:0.05;stroke-dasharray:none;stroke-linejoin:round" + d="M 4.5,2 L 4.5,1 L 4.7,1 L 5,1.9 L 5.3,1 L 5.5,1 L 5.5,2 L 5.4,2 L 5.4,1.1 L 5.1,2 L 4.9,2 L 4.6,1.1 L 4.6,2 Z" + id="text1" /> +</svg> diff --git a/icons/pid_symbols/dark/pressure_gauge.svg b/icons/pid_symbols/dark/pressure_gauge.svg new file mode 100644 index 0000000000000000000000000000000000000000..501d98ce9545e7faf45682009d3d151b4d77937b --- /dev/null +++ b/icons/pid_symbols/dark/pressure_gauge.svg @@ -0,0 +1,29 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<svg + width="7" + height="7" + version="1.1" + id="svg1" + xmlns="http://www.w3.org/2000/svg" + xmlns:svg="http://www.w3.org/2000/svg"> + <defs + id="defs1" /> + <path + id="path1" + d="m 3.5,6.5 v 0.5" + style="fill:none;stroke:#ffffff;stroke-width:0.2;stroke-dasharray:none;stroke-opacity:1" /> + <path + id="path2" + d="M 1.73,5.43 2.43,4.56 M 1,3.5 H 2 M 1.73,1.73 2.43,2.43 M 3.5,1 V 2 M 5.27,1.73 4.56,2.43 M 6,3.5 H 5 M 5.27,5.27 4.56,4.56" + style="fill:none;stroke:#ffffff;stroke-width:0.2;stroke-dasharray:none;stroke-opacity:1" /> + <circle + style="fill:none;stroke:#ffffff;stroke-width:0.2;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1" + id="circle1" + cx="3.5" + cy="3.5" + r="3" /> + <path + style="fill:none;stroke:#ffffff;stroke-width:0.2;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1" + d="M 2.7,6.3 3.5,3.5 4.3,6.3" + id="path3" /> +</svg> diff --git a/icons/pid_symbols/dark/pressure_regulator.svg b/icons/pid_symbols/dark/pressure_regulator.svg new file mode 100644 index 0000000000000000000000000000000000000000..e1e7f414c302c5f89f73e4e5a433d2ce4372293b --- /dev/null +++ b/icons/pid_symbols/dark/pressure_regulator.svg @@ -0,0 +1,41 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<svg + width="10" + height="10" + version="1.1" + id="svg1" + xmlns="http://www.w3.org/2000/svg" + xmlns:svg="http://www.w3.org/2000/svg"> + <defs + id="defs1" /> + <path + fill="none" + stroke="#ffffff" + d="M 0,7 H 1" + id="path2" + style="stroke-width:0.2" /> + <path + fill="none" + stroke="#ffffff" + d="m 9,7 h 1" + id="path3" + style="stroke-width:0.2" /> + <path + fill="none" + stroke="#ffffff" + d="M 1,5 V 9 L 9,5 v 4 z" + id="path1" + style="stroke-width:0.2;stroke-linejoin:round" /> + <path + style="fill:none;stroke:#ffffff;stroke-width:0.2;stroke-linejoin:round" + d="M 5,7 V 4" + id="path4" /> + <path + style="fill:none;stroke:#ffffff;stroke-width:0.2;stroke-linejoin:round" + d="M 5,7 8,4 V 1 H 5 v 1" + id="path5" /> + <path + style="fill:none;stroke:#ffffff;stroke-width:0.2;stroke-linejoin:round" + id="path6" + d="M 3,4 A 2,2 0 0 1 5,2 2,2 0 0 1 7,4 H 5 Z" /> +</svg> diff --git a/icons/pid_symbols/dark/pressure_transducer.svg b/icons/pid_symbols/dark/pressure_transducer.svg new file mode 100644 index 0000000000000000000000000000000000000000..6a9883e49728c75e2318b94017dd3fac458381b9 --- /dev/null +++ b/icons/pid_symbols/dark/pressure_transducer.svg @@ -0,0 +1,29 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<svg + width="7" + height="7" + version="1.1" + id="svg1" + xmlns="http://www.w3.org/2000/svg" + xmlns:svg="http://www.w3.org/2000/svg"> + <defs + id="defs1" /> + <path + id="path1" + d="M 3.5,6.5 V 7" + style="fill:none;stroke:#ffffff;stroke-width:0.2;stroke-dasharray:none;stroke-opacity:1" /> + <path + id="path3" + d="M 2,4.2 V 1.5 H 2.5 A 0.75,0.75 0 1 1 2.5,3 H 2 M 4,4 H 5 M 4.5,4 V 1.5 M 4,1.5 h 1" + style="fill:none;stroke:#ffffff;stroke-width:0.4;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1" /> + <path + id="path2" + d="M 0.7,4.5 H 6.3" + style="fill:none;stroke:#ffffff;stroke-width:0.2;stroke-dasharray:none;stroke-opacity:1" /> + <circle + style="fill:none;stroke:#ffffff;stroke-width:0.2;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1" + id="circle1" + cx="3.5" + cy="3.5" + r="3" /> +</svg> diff --git a/icons/pid_symbols/dark/quick_connector.svg b/icons/pid_symbols/dark/quick_connector.svg new file mode 100644 index 0000000000000000000000000000000000000000..679e517e01f4e54f6d61e79eb68a0cda1899dcf4 --- /dev/null +++ b/icons/pid_symbols/dark/quick_connector.svg @@ -0,0 +1,27 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<svg + width="6" + height="5" + version="1.1" + id="svg1" + xmlns="http://www.w3.org/2000/svg" + xmlns:svg="http://www.w3.org/2000/svg"> + <defs + id="defs1" /> + <path + style="fill:none;stroke:#ffffff;stroke-width:0.2;stroke-linejoin:round" + d="m 1,0.5 v 4 h 4 v -4 z" + id="path1" /> + <path + style="fill:none;stroke:#ffffff;stroke-width:0.2;stroke-linejoin:round" + d="M 0,2.5 H 1" + id="path3" /> + <path + style="fill:none;stroke:#ffffff;stroke-width:0.2;stroke-linejoin:round" + d="M 5,2.5 H 6" + id="path4" /> + <path + style="fill:none;stroke:#ffffff;stroke-width:0.4;stroke-linejoin:round;stroke-dasharray:none" + d="M 3,0 V 5" + id="path5" /> +</svg> diff --git a/icons/pid_symbols/dark/relief_valve.svg b/icons/pid_symbols/dark/relief_valve.svg new file mode 100644 index 0000000000000000000000000000000000000000..5b1e2b0bcc294d855300e10e6c2befe97af8aa6f --- /dev/null +++ b/icons/pid_symbols/dark/relief_valve.svg @@ -0,0 +1,40 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<svg + width="6" + height="10" + version="1.1" + id="svg1" + xmlns="http://www.w3.org/2000/svg" + xmlns:svg="http://www.w3.org/2000/svg"> + <defs + id="defs1" /> + <path + d="M 3,6 1.5,8.6 h 3 z" + stroke-width="0,1" + id="path1" + style="fill:none;stroke:#ffffff;stroke-width:0.2;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1" /> + <path + style="fill:none;stroke:#ffffff;stroke-width:0.2;stroke-dasharray:none;stroke-opacity:1" + d="M 3,8.6 V 10" + id="path2" /> + <path + style="fill:none;stroke:#ffffff;stroke-width:0.4;stroke-dasharray:none;stroke-opacity:1" + d="M 4.8,4.4 V 7.6" + id="path3" /> + <path + d="M 3,6 V 5 L 2,4.5 4,3.5 2,2.5 4,1.5 3,1 V 0" + stroke-width="1.13386" + style="fill:none;stroke:#ffffff;stroke-width:0.2;stroke-linecap:butt;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1;paint-order:markers fill stroke" + id="path4" /> + <path + d="m 3,6 2.6,1.5 v -3 z" + stroke-width="0,1" + id="path5" + style="fill:none;stroke:#ffffff;stroke-width:0.2;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1" /> + <circle + cx="3" + cy="6" + fill="#ffffff" + id="circle1" + r="0.5" /> +</svg> diff --git a/icons/pid_symbols/dark/three_way_valve.svg b/icons/pid_symbols/dark/three_way_valve.svg new file mode 100644 index 0000000000000000000000000000000000000000..6b738f7450c050c47baed3a6cbf5359173f477d3 --- /dev/null +++ b/icons/pid_symbols/dark/three_way_valve.svg @@ -0,0 +1,37 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<svg + width="10" + height="8" + version="1.1" + id="svg1" + xmlns="http://www.w3.org/2000/svg" + xmlns:svg="http://www.w3.org/2000/svg"> + <defs + id="defs1" /> + <path + fill="none" + stroke="#ffffff" + d="M 0,3 H 1" + id="path2" + style="stroke-width:0.2" /> + <path + fill="none" + stroke="#ffffff" + d="m 9,3 h 1" + id="path3" + style="stroke-width:0.2" /> + <path + fill="none" + stroke="#ffffff" + d="M 1,1 V 5 L 9,1 v 4 z" + id="path1" + style="stroke-width:0.2;stroke-linejoin:round" /> + <path + style="fill:none;stroke:#ffffff;stroke-width:0.2;stroke-linejoin:round;stroke-dasharray:none" + d="M 5,3 7,7 H 3 Z" + id="path4" /> + <path + style="fill:none;stroke:#ffffff;stroke-width:0.2;stroke-linejoin:round;stroke-dasharray:none" + d="M 5,7 v 1" + id="path5" /> +</svg> diff --git a/icons/pid_symbols/dark/vessel.svg b/icons/pid_symbols/dark/vessel.svg new file mode 100644 index 0000000000000000000000000000000000000000..2034f174f9fb4043cf2b0af80ec37d5b6bab164d --- /dev/null +++ b/icons/pid_symbols/dark/vessel.svg @@ -0,0 +1,18 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<svg + width="8.1999998" + height="15.2" + version="1.1" + id="svg1" + xmlns="http://www.w3.org/2000/svg" + xmlns:svg="http://www.w3.org/2000/svg"> + <defs + id="defs1" /> + <path + id="path1" + d="" /> + <path + style="fill:none;stroke:#ffffff;stroke-width:0.2;stroke-linejoin:round" + d="m 0.1,13.6 a 4,1.5 0 0 0 8,0 v -12 a 4,1.5 0 0 0 -8,0 z" + id="path2" /> +</svg> diff --git a/src/ui/panes/pid_drawing_tool/symbols.rs b/src/ui/panes/pid_drawing_tool/symbols.rs index 4587f09e9ab9bf08bbf55dbf656982840c3fe111..1ebaab1076cd096b01a9a9506e1c613d2b14e908 100644 --- a/src/ui/panes/pid_drawing_tool/symbols.rs +++ b/src/ui/panes/pid_drawing_tool/symbols.rs @@ -27,79 +27,79 @@ impl Symbol { egui::include_image!("../../../../icons/pid_symbols/light/arrow.svg") } (Symbol::Arrow, Theme::Dark) => { - egui::include_image!("../../../../icons/pid_symbols/light/arrow.svg") + egui::include_image!("../../../../icons/pid_symbols/dark/arrow.svg") } (Symbol::BurstDisk, Theme::Light) => { egui::include_image!("../../../../icons/pid_symbols/light/burst_disk.svg") } (Symbol::BurstDisk, Theme::Dark) => { - egui::include_image!("../../../../icons/pid_symbols/light/burst_disk.svg") + egui::include_image!("../../../../icons/pid_symbols/dark/burst_disk.svg") } (Symbol::ManualValve, Theme::Light) => { egui::include_image!("../../../../icons/pid_symbols/light/manual_valve.svg") } (Symbol::ManualValve, Theme::Dark) => { - egui::include_image!("../../../../icons/pid_symbols/light/manual_valve.svg") + egui::include_image!("../../../../icons/pid_symbols/dark/manual_valve.svg") } (Symbol::CheckValve, Theme::Light) => { egui::include_image!("../../../../icons/pid_symbols/light/check_valve.svg") } (Symbol::CheckValve, Theme::Dark) => { - egui::include_image!("../../../../icons/pid_symbols/light/check_valve.svg") + egui::include_image!("../../../../icons/pid_symbols/dark/check_valve.svg") } (Symbol::ReliefValve, Theme::Light) => { egui::include_image!("../../../../icons/pid_symbols/light/relief_valve.svg") } (Symbol::ReliefValve, Theme::Dark) => { - egui::include_image!("../../../../icons/pid_symbols/light/relief_valve.svg") + egui::include_image!("../../../../icons/pid_symbols/dark/relief_valve.svg") } (Symbol::MotorValve, Theme::Light) => { egui::include_image!("../../../../icons/pid_symbols/light/motor_valve.svg") } (Symbol::MotorValve, Theme::Dark) => { - egui::include_image!("../../../../icons/pid_symbols/light/motor_valve.svg") + egui::include_image!("../../../../icons/pid_symbols/dark/motor_valve.svg") } (Symbol::ThreeWayValve, Theme::Light) => { egui::include_image!("../../../../icons/pid_symbols/light/three_way_valve.svg") } (Symbol::ThreeWayValve, Theme::Dark) => { - egui::include_image!("../../../../icons/pid_symbols/light/three_way_valve.svg") + egui::include_image!("../../../../icons/pid_symbols/dark/three_way_valve.svg") } (Symbol::PressureRegulator, Theme::Light) => { egui::include_image!("../../../../icons/pid_symbols/light/pressure_regulator.svg") } (Symbol::PressureRegulator, Theme::Dark) => { - egui::include_image!("../../../../icons/pid_symbols/light/pressure_regulator.svg") + egui::include_image!("../../../../icons/pid_symbols/dark/pressure_regulator.svg") } (Symbol::QuickConnector, Theme::Light) => { egui::include_image!("../../../../icons/pid_symbols/light/quick_connector.svg") } (Symbol::QuickConnector, Theme::Dark) => { - egui::include_image!("../../../../icons/pid_symbols/light/quick_connector.svg") + egui::include_image!("../../../../icons/pid_symbols/dark/quick_connector.svg") } (Symbol::PressureTransducer, Theme::Light) => { egui::include_image!("../../../../icons/pid_symbols/light/pressure_transducer.svg") } (Symbol::PressureTransducer, Theme::Dark) => { - egui::include_image!("../../../../icons/pid_symbols/light/pressure_transducer.svg") + egui::include_image!("../../../../icons/pid_symbols/dark/pressure_transducer.svg") } (Symbol::PressureGauge, Theme::Light) => { egui::include_image!("../../../../icons/pid_symbols/light/pressure_gauge.svg") } (Symbol::PressureGauge, Theme::Dark) => { - egui::include_image!("../../../../icons/pid_symbols/light/pressure_gauge.svg") + egui::include_image!("../../../../icons/pid_symbols/dark/pressure_gauge.svg") } (Symbol::FlexibleConnection, Theme::Light) => { egui::include_image!("../../../../icons/pid_symbols/light/flexible_connection.svg") } (Symbol::FlexibleConnection, Theme::Dark) => { - egui::include_image!("../../../../icons/pid_symbols/light/flexible_connection.svg") + egui::include_image!("../../../../icons/pid_symbols/dark/flexible_connection.svg") } (Symbol::Vessel, Theme::Light) => { egui::include_image!("../../../../icons/pid_symbols/light/vessel.svg") } (Symbol::Vessel, Theme::Dark) => { - egui::include_image!("../../../../icons/pid_symbols/light/vessel.svg") + egui::include_image!("../../../../icons/pid_symbols/dark/vessel.svg") } } }