|
KiCad PCB EDA Suite
|
Color theme. More...
#include <diff_scene.h>
Public Attributes | |
| KIGFX::COLOR4D | added = KIGFX::COLOR4D( 0.20, 0.65, 0.20, 1.0 ) |
| KIGFX::COLOR4D | removed = KIGFX::COLOR4D( 0.80, 0.20, 0.20, 1.0 ) |
| KIGFX::COLOR4D | modified = KIGFX::COLOR4D( 0.85, 0.65, 0.10, 1.0 ) |
| KIGFX::COLOR4D | conflict = KIGFX::COLOR4D( 0.65, 0.20, 0.70, 1.0 ) |
| KIGFX::COLOR4D | background = KIGFX::COLOR4D( 0.97, 0.97, 0.97, 1.0 ) |
| KIGFX::COLOR4D | foreground = KIGFX::COLOR4D( 0.10, 0.10, 0.10, 1.0 ) |
| KIGFX::COLOR4D | reference = KIGFX::COLOR4D( 0.38, 0.38, 0.38, 0.55 ) |
| Default color for source-document context geometry. | |
| KIGFX::COLOR4D | comparison = KIGFX::COLOR4D( 0.38, 0.38, 0.38, 0.55 ) |
Color theme.
Defaults are tuned for light backgrounds; the interactive widget overrides per the user's theme.
Definition at line 275 of file diff_scene.h.
| KIGFX::COLOR4D KICAD_DIFF::DIFF_COLOR_THEME::added = KIGFX::COLOR4D( 0.20, 0.65, 0.20, 1.0 ) |
Definition at line 277 of file diff_scene.h.
Referenced by BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), KICAD_DIFF::ConfigureSymDiffCanvasContext(), and KICAD_DIFF::ThemeColorFor().
| KIGFX::COLOR4D KICAD_DIFF::DIFF_COLOR_THEME::background = KIGFX::COLOR4D( 0.97, 0.97, 0.97, 1.0 ) |
Definition at line 281 of file diff_scene.h.
Referenced by KICAD_DIFF::RenderSceneToPng().
| KIGFX::COLOR4D KICAD_DIFF::DIFF_COLOR_THEME::comparison = KIGFX::COLOR4D( 0.38, 0.38, 0.38, 0.55 ) |
Definition at line 288 of file diff_scene.h.
Referenced by SCH_INSPECTION_TOOL::CompareSchematicWithHistory(), KICAD_DIFF::EmitDiffResult(), EESCHEMA_JOBS_HANDLER::OpenDiffDialog(), PCBNEW_JOBS_HANDLER::OpenDiffDialog(), PCBNEW_JOBS_HANDLER::runPcbMerge(), EESCHEMA_JOBS_HANDLER::runSchMerge(), and SCH_INSPECTION_TOOL::showSchematicComparison().
| KIGFX::COLOR4D KICAD_DIFF::DIFF_COLOR_THEME::conflict = KIGFX::COLOR4D( 0.65, 0.20, 0.70, 1.0 ) |
Definition at line 280 of file diff_scene.h.
Referenced by BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), and KICAD_DIFF::ThemeColorFor().
| KIGFX::COLOR4D KICAD_DIFF::DIFF_COLOR_THEME::foreground = KIGFX::COLOR4D( 0.10, 0.10, 0.10, 1.0 ) |
Definition at line 282 of file diff_scene.h.
| KIGFX::COLOR4D KICAD_DIFF::DIFF_COLOR_THEME::modified = KIGFX::COLOR4D( 0.85, 0.65, 0.10, 1.0 ) |
Definition at line 279 of file diff_scene.h.
Referenced by BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), KICAD_DIFF::ConfigureSymDiffCanvasContext(), WIDGET_DIFF_CANVAS::HighlightChange(), and KICAD_DIFF::ThemeColorFor().
| KIGFX::COLOR4D KICAD_DIFF::DIFF_COLOR_THEME::reference = KIGFX::COLOR4D( 0.38, 0.38, 0.38, 0.55 ) |
Default color for source-document context geometry.
Both sides share this neutral grey so common board elements recede behind colored added/removed/modified overlays.
Definition at line 287 of file diff_scene.h.
Referenced by SCH_INSPECTION_TOOL::CompareSchematicWithHistory(), KICAD_DIFF::ConfigureSymDiffCanvasContext(), KICAD_DIFF::EmitDiffResult(), EESCHEMA_JOBS_HANDLER::OpenDiffDialog(), PCBNEW_JOBS_HANDLER::OpenDiffDialog(), PCBNEW_JOBS_HANDLER::runPcbMerge(), EESCHEMA_JOBS_HANDLER::runSchMerge(), and SCH_INSPECTION_TOOL::showSchematicComparison().
| KIGFX::COLOR4D KICAD_DIFF::DIFF_COLOR_THEME::removed = KIGFX::COLOR4D( 0.80, 0.20, 0.20, 1.0 ) |
Definition at line 278 of file diff_scene.h.
Referenced by BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), KICAD_DIFF::ConfigureSymDiffCanvasContext(), and KICAD_DIFF::ThemeColorFor().