Skip to content

Commit c64eda7

Browse files
committed
Add slot markers to skin parameters test.
1 parent 60b9d32 commit c64eda7

2 files changed

Lines changed: 23 additions & 5 deletions

File tree

Sources/NodeEngineTest/NodeEditorVisualTest.cpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -576,8 +576,8 @@ TEST (SkinParamsTest)
576576
BasicSkinParams skinParams (
577577
/*backgroundColor*/ NUIE::Color (250, 250, 250),
578578
/*connectionLinePen*/ NUIE::Pen (NUIE::Color (0, 0, 200), 5.0),
579-
/*connectionMarker*/ NUIE::SkinParams::ConnectionMarker::None,
580-
/*connectionMarkerSize*/ NUIE::Size (8.0, 8.0),
579+
/*connectionMarker*/ NUIE::SkinParams::ConnectionMarker::Circle,
580+
/*connectionMarkerSize*/ NUIE::Size (18.0, 18.0),
581581
/*nodePadding*/ 10.0,
582582
/*nodeBorderPen*/ NUIE::Pen (NUIE::Color (0, 200, 0), 5.0),
583583
/*nodeHeaderTextFont*/ NUIE::Font (L"Arial", 16.0),
@@ -590,9 +590,9 @@ TEST (SkinParamsTest)
590590
/*nodeContentBackgroundColor*/ NUIE::Color (180, 200, 180),
591591
/*slotTextColor*/ NUIE::Color (100, 100, 0),
592592
/*slotTextBackgroundColor*/ NUIE::Color (180, 250, 250),
593-
/*slotMarker*/ NUIE::SkinParams::SlotMarker::None,
594-
/*hiddenSlotMarker*/NUIE::SkinParams::HiddenSlotMarker::None,
595-
/*slotMarkerSize*/ NUIE::Size (8.0, 8.0),
593+
/*slotMarker*/ NUIE::SkinParams::SlotMarker::Circle,
594+
/*hiddenSlotMarker*/NUIE::SkinParams::HiddenSlotMarker::Arrow,
595+
/*slotMarkerSize*/ NUIE::Size (18.0, 18.0),
596596
/*selectionBlendColor*/ NUIE::BlendColor (NUIE::Color (0, 0, 255), 0.25),
597597
/*disabledBlendColor*/ NUIE::BlendColor (NUIE::Color (0, 138, 184), 0.2),
598598
/*selectionRectPen*/ NUIE::Pen (NUIE::Color (0, 0, 255), 5.0),

Sources/NodeEngineTest/VisualTestFiles/SkinParams_Basic.svg

Lines changed: 18 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)