NeoMatrix
NeoMatrix copied to clipboard
Add text color customization to Day, Date, Message, and Clock settings
Description: This PR introduces the ability to customize text color for the Day, Date, Message, and Clock settings in the GUI. The following changes have been made:
Issue: #32
New Options Added: ->ui_day_textColor: Custom text color for the Day setting. ->ui_date_textColor: Custom text color for the Date setting. ->ui_message_textColor: Custom text color for the Message setting. ->ui_clock_textColor: Custom text color for the Clock setting.
GUI Updates: -> Day Section: Added a color picker for textColor and conditional logic to only call updateMask when ui_day_preserveColor is not checked. -> Date Section: Added a color picker for textColor and conditional logic to only call updateMask when ui_day_preserveColor is not checked. -> Message Section: Added a color picker for textColor and conditional logic to only call updateMask when ui_day_preserveColor is not checked. -> Clock Section: Added a color picker for textColor and conditional logic to only call updateMask when ui_day_preserveColor is not checked.
Preserve Color Option: Introduced ui_day_preserveColor option across all sections to control whether the updateMask function should be triggered based on color preservation state.
Testing: 1)Verify Text Color Changes: ->Navigate to the Day, Date, Message, and Clock settings in the GUI. ->Use the color picker to change the text color and ensure the updates are reflected in the UI when Preserve Day Color is unchecked. ->Check the behavior when Preserve Day Color is checked to ensure the color does not change and updateMask is not triggered.
2)Position and Scale Adjustments: ->Test the position and scale sliders in each section to ensure they work correctly and trigger updateMask appropriately based on the Preserve Day Color state.
3)General Functionality: ->Ensure all other functionalities remain unaffected by the new changes.
Notes: ->The PR aims to enhance user customization capabilities, improving the overall user experience. ->Please review the conditional logic for updateMask to confirm it aligns with the desired behavior when Preserve Day Color is checked or unchecked. Thank you for reviewing this PR. Looking forward to your feedback.