| 357 | } |
| 358 | |
| 359 | void ViewStyle::ResetDefaultStyle() { |
| 360 | styles[STYLE_DEFAULT].Clear(ColourDesired(0,0,0), |
| 361 | ColourDesired(0xff,0xff,0xff), |
| 362 | Platform::DefaultFontSize() * SC_FONT_SIZE_MULTIPLIER, fontNames.Save(Platform::DefaultFont()), |
| 363 | SC_CHARSET_DEFAULT, |
| 364 | SC_WEIGHT_NORMAL, false, false, false, Style::caseMixed, true, true, false); |
| 365 | } |
| 366 | |
| 367 | void ViewStyle::ClearStyles() { |
| 368 | // Reset all styles to be like the default style |
no test coverage detected