-
-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#453 all themes are now based on theme builder.
- Loading branch information
Showing
16 changed files
with
530 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
<TcMenuPlugin name="%theme.cool.blue.modern.name" id="1947F585-9D36-448C-8A80-B425686107BD" | ||
subsystem="THEME" requiresDesigner="2.0" | ||
xmlns="https://www.thecoderscorner.com/libraries/tcmenuPluginItem" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="https://www.thecoderscorner.com/libraries/tcmenuPluginItem https://www.thecoderscorner.com/products/arduino-libraries/libraries/tcmenu-plugin-item.xsd"> | ||
<SupportedPlatforms> | ||
<All/> | ||
</SupportedPlatforms> | ||
<Description>%theme.cool.blue.modern.desc</Description> | ||
<Documentation link="https://www.thecoderscorner.com/products/arduino-libraries/tc-menu/themes/monochrome-themes-for-oled-5110/"/> | ||
<RequiredLibraries/> | ||
<ImageFile>theme-cool-blue-modern.jpg</ImageFile> | ||
|
||
<Properties> | ||
<Property id="ITEM_FONT" name="%theme.item.font" initial="def:,1" desc="%theme.item.font.desc" type="font"/> | ||
<Property id="TITLE_FONT" name="%theme.title.font" initial="def:,1" desc="%theme.title.font.desc" type="font"/> | ||
<Property id="BORDER_FOR_ACTIONS" name="%theme.border.for.action" initial="0" desc="%theme.border.for.action.desc" type="int" min="0" max="3"/> | ||
<Property id="TITLE_SHOW_MODE" name="%theme.title.show.mode" initial="TITLE_FIRST_ROW" desc="%theme.title.show.mode.desc" type="choice"> | ||
<Choices> | ||
<Choice desc="%theme.title.none">NO_TITLE</Choice> | ||
<Choice desc="%theme.title.first.row">TITLE_FIRST_ROW</Choice> | ||
<Choice desc="%theme.title.always">TITLE_ALWAYS</Choice> | ||
</Choices> | ||
</Property> | ||
<Property id="USE_TC_UNICODE" name="%theme.use.tcunicode" initial="false" type="boolean" desc="%theme.use.tcunicode.desc"/> | ||
<Property id="USE_SLIDER_ANALOG" name="%theme.use.sliders" initial="true" desc="%theme.use.sliders.desc" type="boolean"/> | ||
<Property id="NEED_EDITING_ICONS" name="%theme.need.edit.icons" initial="false" desc="theme.need.edit.icons.desc" type="boolean"/> | ||
</Properties> | ||
|
||
<ApplicabilityDefs/> | ||
|
||
<SourceFiles> | ||
<Replacement find="USE_SLIDER_FOR_ANALOG 1" replace="USE_SLIDER_FOR_ANALOG ${USE_SLIDER_ANALOG}"/> | ||
<Replacement find="ACTION_BORDER_WIDTH 0" replace="ACTION_BORDER_WIDTH ${BORDER_FOR_ACTIONS}"/> | ||
<SourceFile name="coolBlue/ThemeCoolBlueModernBuilder.h" overwrite="false"/> | ||
</SourceFiles> | ||
|
||
<IncludeFiles> | ||
<Header name="${SRC_DIR_OFFSET}ThemeCoolBlueModernBuilder.h" inSource="cppSrc"/> | ||
<Header name="tcUnicodeHelper.h" inSource="false" priority="high" whenProperty="USE_TC_UNICODE" isValue="true" /> | ||
<Header name="${ITEM_FONT}" inSource="font"/> | ||
<Header name="${TITLE_FONT}" inSource="font"/> | ||
</IncludeFiles> | ||
|
||
<GlobalVariables> | ||
<Variable name="${ITEM_FONT}" export="font" whenProperty="ITEM_FONT" matches="ad[al]:.*" /> | ||
<Variable name="${TITLE_FONT}" export="font" whenProperty="ITEM_FONT" matches="ad[al]:.*" /> | ||
</GlobalVariables> | ||
|
||
<SetupFunctions> | ||
<Function name="installDarkModeModernTheme"> | ||
<Param value="renderer"/> | ||
<Param font="${ITEM_FONT}"/> | ||
<Param font="${TITLE_FONT}"/> | ||
<Param value="${NEED_EDITING_ICONS}"/> | ||
<Param name="BaseGraphicalRenderer::${TITLE_SHOW_MODE}"/> | ||
<Param name="${USE_TC_UNICODE}"/> | ||
</Function> | ||
</SetupFunctions> | ||
</TcMenuPlugin> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
<TcMenuPlugin name="%theme.cool.blue.traditional.name" id="57945787-0A04-447B-BBA2-6461FC505397" | ||
subsystem="THEME" requiresDesigner="2.0" | ||
xmlns="https://www.thecoderscorner.com/libraries/tcmenuPluginItem" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="https://www.thecoderscorner.com/libraries/tcmenuPluginItem https://www.thecoderscorner.com/products/arduino-libraries/libraries/tcmenu-plugin-item.xsd"> | ||
<SupportedPlatforms> | ||
<All/> | ||
</SupportedPlatforms> | ||
<Description>%theme.cool.blue.traditional.desc</Description> | ||
<Documentation link="https://www.thecoderscorner.com/products/arduino-libraries/tc-menu/themes/color-themes-for-all-display-sizes/"/> | ||
<RequiredLibraries/> | ||
<ImageFile>theme-cool-blue-traditional.jpg</ImageFile> | ||
|
||
<Properties> | ||
<Property id="ITEM_FONT" name="%theme.item.font" initial="def:,1" desc="%theme.item.font.desc" type="font"/> | ||
<Property id="TITLE_FONT" name="%theme.title.font" initial="def:,1" desc="%theme.title.font.desc" type="font"/> | ||
<Property id="TITLE_SHOW_MODE" name="%theme.title.show.mode" initial="TITLE_FIRST_ROW" desc="%theme.title.show.mode.desc" type="choice"> | ||
<Choices> | ||
<Choice desc="%theme.title.none">NO_TITLE</Choice> | ||
<Choice desc="%theme.title.first.row">TITLE_FIRST_ROW</Choice> | ||
<Choice desc="%theme.title.always">TITLE_ALWAYS</Choice> | ||
</Choices> | ||
</Property> | ||
<Property id="USE_TC_UNICODE" name="%theme.use.tcunicode" initial="false" type="boolean" desc="%theme.use.tcunicode.desc"/> | ||
<Property id="NEED_EDITING_ICONS" name="%theme.need.edit.icons" initial="false" desc="theme.need.edit.icons.desc" type="boolean"/> | ||
</Properties> | ||
|
||
<ApplicabilityDefs/> | ||
|
||
<SourceFiles> | ||
<SourceFile name="coolBlue/ThemeCoolBlueTraditionalBuilder.h" overwrite="false"/> | ||
</SourceFiles> | ||
|
||
<IncludeFiles> | ||
<Header name="${SRC_DIR_OFFSET}ThemeCoolBlueTraditionalBuilder.h" inSource="cppSrc"/> | ||
<Header name="tcUnicodeHelper.h" inSource="false" priority="high" whenProperty="USE_TC_UNICODE" isValue="true" /> | ||
<Header name="${ITEM_FONT}" inSource="font"/> | ||
<Header name="${TITLE_FONT}" inSource="font"/> | ||
</IncludeFiles> | ||
|
||
<GlobalVariables> | ||
<Variable name="${ITEM_FONT}" export="font" whenProperty="ITEM_FONT" matches="ad[al]:.*" /> | ||
<Variable name="${TITLE_FONT}" export="font" whenProperty="ITEM_FONT" matches="ad[al]:.*" /> | ||
</GlobalVariables> | ||
|
||
<SetupFunctions> | ||
<Function name="installCoolBlueTraditionalTheme"> | ||
<Param value="renderer"/> | ||
<Param font="${ITEM_FONT}"/> | ||
<Param font="${TITLE_FONT}"/> | ||
<Param value="${NEED_EDITING_ICONS}"/> | ||
<Param name="BaseGraphicalRenderer::${TITLE_SHOW_MODE}"/> | ||
<Param name="${USE_TC_UNICODE}"/> | ||
</Function> | ||
</SetupFunctions> | ||
</TcMenuPlugin> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
<TcMenuPlugin name="%theme.dark.modern.name" id="94D05CB2-952F-4E0C-A402-9F51CAFBD99E" | ||
subsystem="THEME" requiresDesigner="2.0" | ||
xmlns="https://www.thecoderscorner.com/libraries/tcmenuPluginItem" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="https://www.thecoderscorner.com/libraries/tcmenuPluginItem https://www.thecoderscorner.com/products/arduino-libraries/libraries/tcmenu-plugin-item.xsd"> | ||
<SupportedPlatforms> | ||
<All/> | ||
</SupportedPlatforms> | ||
<Description>%theme.dark.modern.desc</Description> | ||
<Documentation link="https://www.thecoderscorner.com/products/arduino-libraries/tc-menu/themes/dark-themes-for-all-display-sizes/"/> | ||
<RequiredLibraries/> | ||
<ImageFile>theme-dark-mode-modern.jpg</ImageFile> | ||
|
||
<Properties> | ||
<Property id="ITEM_FONT" name="%theme.item.font" initial="def:,1" desc="%theme.item.font.desc" type="font"/> | ||
<Property id="TITLE_FONT" name="%theme.title.font" initial="def:,1" desc="%theme.title.font.desc" type="font"/> | ||
<Property id="BORDER_FOR_ACTIONS" name="%theme.border.for.action" initial="0" desc="%theme.border.for.action.desc" type="int" min="0" max="3"/> | ||
<Property id="TITLE_SHOW_MODE" name="%theme.title.show.mode" initial="TITLE_FIRST_ROW" desc="%theme.title.show.mode.desc" type="choice"> | ||
<Choices> | ||
<Choice desc="%theme.title.none">NO_TITLE</Choice> | ||
<Choice desc="%theme.title.first.row">TITLE_FIRST_ROW</Choice> | ||
<Choice desc="%theme.title.always">TITLE_ALWAYS</Choice> | ||
</Choices> | ||
</Property> | ||
<Property id="USE_TC_UNICODE" name="%theme.use.tcunicode" initial="false" type="boolean" desc="%theme.use.tcunicode.desc"/> | ||
<Property id="USE_SLIDER_ANALOG" name="%theme.use.sliders" initial="true" desc="%theme.use.sliders.desc" type="boolean"/> | ||
<Property id="NEED_EDITING_ICONS" name="%theme.need.edit.icons" initial="false" desc="theme.need.edit.icons.desc" type="boolean"/> | ||
</Properties> | ||
|
||
<ApplicabilityDefs/> | ||
|
||
<SourceFiles> | ||
<Replacement find="USE_SLIDER_FOR_ANALOG 1" replace="USE_SLIDER_FOR_ANALOG ${USE_SLIDER_ANALOG}"/> | ||
<Replacement find="ACTION_BORDER_WIDTH 0" replace="ACTION_BORDER_WIDTH ${BORDER_FOR_ACTIONS}"/> | ||
<SourceFile name="darkMode/ThemeDarkModeModernBuilder.h" overwrite="false"/> | ||
</SourceFiles> | ||
|
||
<IncludeFiles> | ||
<Header name="${SRC_DIR_OFFSET}ThemeDarkModeModernBuilder.h" inSource="cppSrc"/> | ||
<Header name="tcUnicodeHelper.h" inSource="false" priority="high" whenProperty="USE_TC_UNICODE" isValue="true" /> | ||
<Header name="${ITEM_FONT}" inSource="font"/> | ||
<Header name="${TITLE_FONT}" inSource="font"/> | ||
</IncludeFiles> | ||
|
||
<GlobalVariables> | ||
<Variable name="${ITEM_FONT}" export="font" whenProperty="ITEM_FONT" matches="ad[al]:.*" /> | ||
<Variable name="${TITLE_FONT}" export="font" whenProperty="ITEM_FONT" matches="ad[al]:.*" /> | ||
</GlobalVariables> | ||
|
||
<SetupFunctions> | ||
<Function name="installDarkModeModernTheme"> | ||
<Param value="renderer"/> | ||
<Param font="${ITEM_FONT}"/> | ||
<Param font="${TITLE_FONT}"/> | ||
<Param value="${NEED_EDITING_ICONS}"/> | ||
<Param name="BaseGraphicalRenderer::${TITLE_SHOW_MODE}"/> | ||
<Param name="${USE_TC_UNICODE}"/> | ||
</Function> | ||
</SetupFunctions> | ||
</TcMenuPlugin> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
<TcMenuPlugin name="%theme.dark.traditional.name" id="2F1EAB1E-0469-42C8-A222-BE2DF96D6D81" | ||
subsystem="THEME" requiresDesigner="2.0" | ||
xmlns="https://www.thecoderscorner.com/libraries/tcmenuPluginItem" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="https://www.thecoderscorner.com/libraries/tcmenuPluginItem https://www.thecoderscorner.com/products/arduino-libraries/libraries/tcmenu-plugin-item.xsd"> | ||
<SupportedPlatforms> | ||
<All/> | ||
</SupportedPlatforms> | ||
<Description>%theme.dark.traditional.desc</Description> | ||
<Documentation link="https://www.thecoderscorner.com/products/arduino-libraries/tc-menu/themes/dark-themes-for-all-display-sizes/"/> | ||
<RequiredLibraries/> | ||
<ImageFile>theme-dark-mode-traditional.jpg</ImageFile> | ||
|
||
<Properties> | ||
<Property id="ITEM_FONT" name="%theme.item.font" initial="def:,1" desc="%theme.item.font.desc" type="font"/> | ||
<Property id="TITLE_FONT" name="%theme.title.font" initial="def:,1" desc="%theme.title.font.desc" type="font"/> | ||
<Property id="TITLE_SHOW_MODE" name="%theme.title.show.mode" initial="TITLE_FIRST_ROW" desc="%theme.title.show.mode.desc" type="choice"> | ||
<Choices> | ||
<Choice desc="%theme.title.none">NO_TITLE</Choice> | ||
<Choice desc="%theme.title.first.row">TITLE_FIRST_ROW</Choice> | ||
<Choice desc="%theme.title.always">TITLE_ALWAYS</Choice> | ||
</Choices> | ||
</Property> | ||
<Property id="USE_TC_UNICODE" name="%theme.use.tcunicode" initial="false" type="boolean" desc="%theme.use.tcunicode.desc"/> | ||
<Property id="NEED_EDITING_ICONS" name="%theme.need.edit.icons" initial="false" desc="theme.need.edit.icons.desc" type="boolean"/> </Properties> | ||
|
||
<ApplicabilityDefs/> | ||
|
||
<SourceFiles> | ||
<SourceFile name="darkMode/ThemeDarkModeTraditionalBuilder.h" overwrite="false"/> | ||
</SourceFiles> | ||
|
||
<IncludeFiles> | ||
<Header name="${SRC_DIR_OFFSET}ThemeDarkModeTraditionalBuilder.h" inSource="cppSrc"/> | ||
<Header name="tcUnicodeHelper.h" inSource="false" priority="high" whenProperty="USE_TC_UNICODE" isValue="true" /> | ||
<Header name="${ITEM_FONT}" inSource="font"/> | ||
<Header name="${TITLE_FONT}" inSource="font"/> | ||
</IncludeFiles> | ||
|
||
<GlobalVariables> | ||
<Variable name="${ITEM_FONT}" export="font" whenProperty="ITEM_FONT" matches="ad[al]:.*" /> | ||
<Variable name="${TITLE_FONT}" export="font" whenProperty="ITEM_FONT" matches="ad[al]:.*" /> | ||
</GlobalVariables> | ||
|
||
<SetupFunctions> | ||
<Function name="installDarkModeTraditionalTheme"> | ||
<Param value="renderer"/> | ||
<Param font="${ITEM_FONT}"/> | ||
<Param font="${TITLE_FONT}"/> | ||
<Param value="${NEED_EDITING_ICONS}"/> | ||
<Param name="BaseGraphicalRenderer::${TITLE_SHOW_MODE}"/> | ||
<Param name="${USE_TC_UNICODE}"/> | ||
</Function> | ||
</SetupFunctions> | ||
</TcMenuPlugin> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.