mirror of
https://github.com/servo/servo.git
synced 2025-08-08 06:55:31 +01:00
UWP console: force white background
This commit is contained in:
parent
c76d1318f3
commit
1c2ac3f2a1
4 changed files with 15 additions and 14 deletions
|
@ -64,18 +64,19 @@ private:
|
|||
|
||||
struct ConsoleLog : ConsoleLogT<ConsoleLog> {
|
||||
public:
|
||||
ConsoleLog(Windows::UI::Color fg, Windows::UI::Color bg, hstring b, hstring s)
|
||||
ConsoleLog(Windows::UI::Color dot, Windows::UI::Color bg, hstring b,
|
||||
hstring s)
|
||||
: mSource(s), mBody(b) {
|
||||
mFgColor = UI::Xaml::Media::SolidColorBrush(fg);
|
||||
mDotColor = UI::Xaml::Media::SolidColorBrush(dot);
|
||||
mBgColor = UI::Xaml::Media::SolidColorBrush(bg);
|
||||
};
|
||||
SolidColorBrush FgColor() { return mFgColor; };
|
||||
SolidColorBrush DotColor() { return mDotColor; };
|
||||
SolidColorBrush BgColor() { return mBgColor; };
|
||||
hstring Source() { return mSource; };
|
||||
hstring Body() { return mBody; };
|
||||
|
||||
private:
|
||||
SolidColorBrush mFgColor;
|
||||
SolidColorBrush mDotColor;
|
||||
SolidColorBrush mBgColor;
|
||||
hstring mSource;
|
||||
hstring mBody;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue