From 41f00d3b6b3b64439d7d641fcee144a889fbc71a Mon Sep 17 00:00:00 2001 From: Andrew Belt Date: Fri, 22 Oct 2021 16:07:25 -0400 Subject: [PATCH] Add CKSSThreeHorizontal. --- include/componentlibrary.hpp | 8 ++++ .../CKSSThreeHorizontal_0.svg | 42 +++++++++++++++++++ .../CKSSThreeHorizontal_1.svg | 42 +++++++++++++++++++ .../CKSSThreeHorizontal_2.svg | 41 ++++++++++++++++++ 4 files changed, 133 insertions(+) create mode 100644 res/ComponentLibrary/CKSSThreeHorizontal_0.svg create mode 100644 res/ComponentLibrary/CKSSThreeHorizontal_1.svg create mode 100644 res/ComponentLibrary/CKSSThreeHorizontal_2.svg diff --git a/include/componentlibrary.hpp b/include/componentlibrary.hpp index 23dc3e56..0f104bcd 100644 --- a/include/componentlibrary.hpp +++ b/include/componentlibrary.hpp @@ -770,6 +770,14 @@ struct CKSSThree : app::SvgSwitch { } }; +struct CKSSThreeHorizontal : app::SvgSwitch { + CKSSThreeHorizontal() { + addFrame(Svg::load(asset::system("res/ComponentLibrary/CKSSThreeHorizontal_0.svg"))); + addFrame(Svg::load(asset::system("res/ComponentLibrary/CKSSThreeHorizontal_1.svg"))); + addFrame(Svg::load(asset::system("res/ComponentLibrary/CKSSThreeHorizontal_2.svg"))); + } +}; + struct CKD6 : app::SvgSwitch { CKD6() { momentary = true; diff --git a/res/ComponentLibrary/CKSSThreeHorizontal_0.svg b/res/ComponentLibrary/CKSSThreeHorizontal_0.svg new file mode 100644 index 00000000..c9d2d696 --- /dev/null +++ b/res/ComponentLibrary/CKSSThreeHorizontal_0.svg @@ -0,0 +1,42 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/res/ComponentLibrary/CKSSThreeHorizontal_1.svg b/res/ComponentLibrary/CKSSThreeHorizontal_1.svg new file mode 100644 index 00000000..17e6cab3 --- /dev/null +++ b/res/ComponentLibrary/CKSSThreeHorizontal_1.svg @@ -0,0 +1,42 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/res/ComponentLibrary/CKSSThreeHorizontal_2.svg b/res/ComponentLibrary/CKSSThreeHorizontal_2.svg new file mode 100644 index 00000000..f085c7a7 --- /dev/null +++ b/res/ComponentLibrary/CKSSThreeHorizontal_2.svg @@ -0,0 +1,41 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + +