Description:
Correctly load current font in Options Window.
Commit status:
[Not Reviewed]
References:
Diff options:
Comments:
0 Commit comments
0 Inline Comments
Unresolved TODOs:
There are no unresolved TODOs
@@ -119,6 +119,9 | |||
|
119 | 119 | |
|
120 | 120 | debugWindow.setItalicFont(this.italicFont); |
|
121 | 121 | SendMessage(message); |
|
122 | ||
|
123 | OptionsWindow.setFont(message.fontName, | |
|
124 | message.fontSize); | |
|
122 | 125 | } |
|
123 | 126 | |
|
124 | 127 |
@@ -174,5 +174,13 | |||
|
174 | 174 | bridgeEngine.typeMessages.Add(new ToggleWindowTypeMessage{Window = Window.Options}); |
|
175 | 175 | } |
|
176 | 176 | } |
|
177 | ||
|
178 | ||
|
179 | public static void setFont(string fontName, int fontSize) | |
|
180 | { | |
|
181 | OptionsWindow.fontName = fontName; | |
|
182 | OptionsWindow.fontSize = fontSize; | |
|
183 | ||
|
184 | } | |
|
177 | 185 | } |
|
178 | 186 | } |
You need to be logged in to leave comments.
Login now