Implemented light/default theme as well as refactored some code
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user