Commit graph

317 commits

Author SHA1 Message Date
John Lewin
819d7ef453 Improve guards for theme loading 2018-10-22 14:16:27 -07:00
John Lewin
367c3b67eb Draw x64 image in Agg 2018-10-22 14:16:27 -07:00
John Lewin
6134dd1efa Revise CheckMark 2018-10-22 14:16:27 -07:00
John Lewin
a0ff0cfe5b Add ThemeID property 2018-10-22 14:16:27 -07:00
John Lewin
5635c7678c Simplify property name 2018-10-22 14:16:27 -07:00
John Lewin
645f20e8ee Set default theme color on load 2018-10-22 14:16:27 -07:00
John Lewin
fcf6f03916 Remove SourceColor from theme 2018-10-22 14:16:27 -07:00
John Lewin
490a3a4068 Move SetAccentColor to themeset 2018-10-22 14:16:27 -07:00
John Lewin
ef234d7d5e Rename Modes to ThemeNames for clarity 2018-10-22 14:16:27 -07:00
John Lewin
71dc4f9e90 Remove DefaultMode from IColorTheme 2018-10-22 14:16:27 -07:00
John Lewin
182dffffd8 Improve visibility of plus tab button 2018-10-22 14:16:27 -07:00
John Lewin
f0cc4afc0c Use theme colors on terminal widget scrollbars, adjust spacings 2018-10-22 14:16:27 -07:00
John Lewin
1abaea4632 Revise ActiveTheme styling on Settings page 2018-10-22 14:16:27 -07:00
John Lewin
819fb5fb81 Apply theme styles to sliders 2018-10-22 14:16:27 -07:00
John Lewin
3468bf952f Use theme slider style 2018-10-22 14:16:27 -07:00
John Lewin
97dd579d4b Use AccentMinimalOverlay menu hover color for DropLists 2018-10-22 14:16:27 -07:00
John Lewin
272e7f52b1 Set MenuTheme accent colors on SetThemeAccentColor 2018-10-22 14:16:27 -07:00
John Lewin
5824e8dfe8 Remove dead code 2018-10-22 14:16:26 -07:00
John Lewin
ea7fb0e684 Remove DropList menu theme, use common menu theme 2018-10-22 14:16:26 -07:00
John Lewin
286c7d8291 Remove Colors from ThemeProvider 2018-10-22 14:16:26 -07:00
John Lewin
22041cfc16 Load themes from StaticData 2018-10-22 14:16:26 -07:00
John Lewin
b0709cc8c3 Restore color button preview 2018-10-22 14:16:26 -07:00
John Lewin
73c11b5d2d Adjust padding and control name 2018-10-22 14:16:26 -07:00
John Lewin
45b9da7cf6 Switch around colors to match styling on main form 2018-10-22 14:16:26 -07:00
John Lewin
b85a95dfb4 Remove ThemeMode from UserSettings/db persistence 2018-10-22 14:16:26 -07:00
John Lewin
53e3cbc7d4 Update and ignore non-declarative themes 2018-10-22 14:16:26 -07:00
John Lewin
13736cb067 Revise IColorTheme for declarative themes 2018-10-22 14:16:26 -07:00
John Lewin
8c3516c137 Prototype for theme loading
- Move to backend at later date for server delivered themes doc
2018-10-22 14:16:26 -07:00
John Lewin
5fde89295c Add theme widget back into main menu 2018-10-22 14:16:26 -07:00
John Lewin
fc9099139a Move theme accent buttons to SectionWidget heading 2018-10-22 14:16:26 -07:00
John Lewin
1fda1e231d Switch from dropdown to horizontal theme list, per theme accent colors 2018-10-22 14:16:26 -07:00
John Lewin
d0f2862650 Remove dead code 2018-10-22 14:16:26 -07:00
John Lewin
c070b1107d Add ThemeContractResolver for writable only & non-default colors 2018-10-22 14:16:25 -07:00
John Lewin
2d4e63986c Add reusable method to set background color to theme value 2018-10-22 14:16:25 -07:00
John Lewin
b7a77b94f4 Add icon option to CreateMenuItem 2018-10-22 14:16:25 -07:00
John Lewin
b0af37d732 Improve theme support for DropLists 2018-10-22 14:16:25 -07:00
John Lewin
60512a45e6 Remove OnDraw override allowing standard background 2018-10-22 14:16:25 -07:00
John Lewin
ddb8e94474 Update themes 2018-10-22 14:16:25 -07:00
John Lewin
d50672d2fc Add SectionBackgroundColor for theme control of SectionWidgets 2018-10-22 14:16:25 -07:00
John Lewin
e4c6ba9507 Fix serialization failure 2018-10-22 14:16:25 -07:00
John Lewin
4433abb774 Add theme driven MHDropDownList 2018-10-22 14:16:25 -07:00
John Lewin
1ec24789c7 Tune colors 2018-10-22 14:16:25 -07:00
John Lewin
5c61e46c9a Fix serialization failure 2018-10-22 14:16:25 -07:00
John Lewin
39c42743cc Remove custom alpha constructor 2018-10-22 14:16:25 -07:00
John Lewin
fd793e076a Use Border override 2018-10-22 14:16:25 -07:00
John Lewin
4f0f790f56 Create specialized border fields 2018-10-22 14:16:25 -07:00
John Lewin
87ebb0f215 Improve Affinity 2018-10-22 14:16:25 -07:00
John Lewin
34708054ee Add support for themed text/number edit fields 2018-10-22 14:16:24 -07:00
John Lewin
151e753db2 Move PrimaryAccentColor to parent 2018-10-22 14:16:24 -07:00
Lars Brubaker
a34e104773 Ensure we exhaust the command buffer before we switch E positions
Marlin firmware explicitly does not run out the command queue when switching e
this means we potentially have queue instructions with the wrong e position
2018-10-22 09:00:48 -07:00