Implemented light/default theme as well as refactored some code

This commit is contained in:
2019-03-14 19:23:47 +00:00
parent c557b2554b
commit d89b4fd824
4 changed files with 118 additions and 35 deletions
+6 -1
View File
@@ -1566,8 +1566,13 @@ Public Class frmMain
ResetGameInfo()
'Initialise theme engine
InitThemeEngine()
End Sub
Private Sub InitThemeEngine()
Dim oThemeEngine As New mgrThemeEngine
oThemeEngine.SetTheme(mgrThemeEngine.eTheme.Dark)
oThemeEngine.SetTheme(mgrThemeEngine.eBaseTheme.Light) 'Will ultimately be changable via UI
BackColor = oThemeEngine.colBase
gMonMainMenu.BackColor = oThemeEngine.colBase
gMonMainMenu.ForeColor = oThemeEngine.colHighlightAlt