@@ -13,59 +13,59 @@ public enum ChangelogViews : byte
1313
1414 public partial class CRChangelog : UserControl
1515 {
16- private IconStore _icons = new IconStore ( ) ;
17- private ChangelogViews _view = ChangelogViews . Module ;
18- private string _moduleTextRaw = "Loading..." ;
19- private string _launcherTextRaw = "Loading..." ;
20- private string _moduleText = "Loading..." ;
21- private string _launcherText = "Loading..." ;
16+ private IconStore m_icons = new IconStore ( ) ;
17+ private ChangelogViews m_view = ChangelogViews . Module ;
18+ private string m_moduleTextRaw = "Loading..." ;
19+ private string m_launcherTextRaw = "Loading..." ;
20+ private string m_moduleText = "Loading..." ;
21+ private string m_launcherText = "Loading..." ;
2222
2323 public ControlTheme ControlType
2424 {
25- get { return _icons . Control ; }
26- set { _icons . Control = value ; UpdateTheme ( ) ; }
25+ get { return m_icons . Control ; }
26+ set { m_icons . Control = value ; UpdateTheme ( ) ; }
2727 }
2828
2929 public IconTheme IconType
3030 {
31- get { return _icons . Theme ; }
32- set { _icons . Theme = value ; UpdateTheme ( ) ; }
31+ get { return m_icons . Theme ; }
32+ set { m_icons . Theme = value ; UpdateTheme ( ) ; }
3333 }
3434
3535 public ChangelogViews DisplayType
3636 {
37- get { return _view ; }
38- set { _view = value ; UpdateTheme ( ) ; }
37+ get { return m_view ; }
38+ set { m_view = value ; UpdateTheme ( ) ; }
3939 }
4040
4141 public Image IconWhite
4242 {
43- get { return _icons . GetIcon ( IconTheme . White ) ; }
44- set { _icons . SetIcon ( IconTheme . White , value ) ; UpdateTheme ( ) ; }
43+ get { return m_icons . GetIcon ( IconTheme . White ) ; }
44+ set { m_icons . SetIcon ( IconTheme . White , value ) ; UpdateTheme ( ) ; }
4545 }
4646
4747 public Image IconBlack
4848 {
49- get { return _icons . GetIcon ( IconTheme . Black ) ; }
50- set { _icons . SetIcon ( IconTheme . Black , value ) ; UpdateTheme ( ) ; }
49+ get { return m_icons . GetIcon ( IconTheme . Black ) ; }
50+ set { m_icons . SetIcon ( IconTheme . Black , value ) ; UpdateTheme ( ) ; }
5151 }
5252
5353 public Image IconRed
5454 {
55- get { return _icons . GetIcon ( IconTheme . Red ) ; }
56- set { _icons . SetIcon ( IconTheme . Red , value ) ; UpdateTheme ( ) ; }
55+ get { return m_icons . GetIcon ( IconTheme . Red ) ; }
56+ set { m_icons . SetIcon ( IconTheme . Red , value ) ; UpdateTheme ( ) ; }
5757 }
5858
5959 public Image IconPurple
6060 {
61- get { return _icons . GetIcon ( IconTheme . Purple ) ; }
62- set { _icons . SetIcon ( IconTheme . Purple , value ) ; UpdateTheme ( ) ; }
61+ get { return m_icons . GetIcon ( IconTheme . Purple ) ; }
62+ set { m_icons . SetIcon ( IconTheme . Purple , value ) ; UpdateTheme ( ) ; }
6363 }
6464
6565 public Image IconBlue
6666 {
67- get { return _icons . GetIcon ( IconTheme . Blue ) ; }
68- set { _icons . SetIcon ( IconTheme . Blue , value ) ; UpdateTheme ( ) ; }
67+ get { return m_icons . GetIcon ( IconTheme . Blue ) ; }
68+ set { m_icons . SetIcon ( IconTheme . Blue , value ) ; UpdateTheme ( ) ; }
6969 }
7070
7171 public Font TitleFont
@@ -82,14 +82,14 @@ public Font DescriptionFont
8282
8383 public string ModuleText
8484 {
85- get { return _moduleTextRaw ; }
86- set { _moduleText = Format ( value ) ; UpdateTheme ( ) ; }
85+ get { return m_moduleTextRaw ; }
86+ set { m_moduleText = Format ( value ) ; UpdateTheme ( ) ; }
8787 }
8888
8989 public string LauncherText
9090 {
91- get { return _launcherTextRaw ; }
92- set { _launcherText = Format ( value ) ; UpdateTheme ( ) ; }
91+ get { return m_launcherTextRaw ; }
92+ set { m_launcherText = Format ( value ) ; UpdateTheme ( ) ; }
9393 }
9494
9595 public CRChangelog ( )
@@ -115,13 +115,13 @@ private void UpdateTheme()
115115 if ( DisplayType == ChangelogViews . Module )
116116 {
117117 TitleLbl . Text = "Module Changelog" ;
118- DescriptionLbl . Text = _moduleText ;
118+ DescriptionLbl . Text = m_moduleText ;
119119 DescriptionLbl . TextAlign = ContentAlignment . MiddleLeft ;
120120 }
121121 else if ( DisplayType == ChangelogViews . Launcher )
122122 {
123123 TitleLbl . Text = "Launcher Changelog" ;
124- DescriptionLbl . Text = _launcherText ;
124+ DescriptionLbl . Text = m_launcherText ;
125125 DescriptionLbl . TextAlign = ContentAlignment . MiddleLeft ;
126126 }
127127 else if ( DisplayType == ChangelogViews . Offline )
@@ -144,7 +144,7 @@ private void UpdateTheme()
144144 DescriptionLbl . ForeColor = GPalette . Black ;
145145 }
146146
147- TitleImg . BackgroundImage = _icons . GetThemeIcon ( ) ;
147+ TitleImg . BackgroundImage = m_icons . GetThemeIcon ( ) ;
148148 Invalidate ( ) ;
149149 }
150150
0 commit comments