-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1d692a6
commit d194fef
Showing
17 changed files
with
358 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,28 @@ | ||
#pragma once | ||
|
||
|
||
/* This file contains possible settings of pie */ | ||
#include "libs.hpp" | ||
|
||
/* The [Style] type records how a character should be | ||
* displayed. */ | ||
struct Style { | ||
/* foreground and background color */ | ||
QColor fg, bg; | ||
/* whether the character should be bold/italic */ | ||
bool bold, italic; | ||
/* underline: a line is drawn on the bottom of the character | ||
* strikethrough: a line is drawn on the middle of the character */ | ||
bool underline, strikethrough; | ||
|
||
bool operator==(const Style &) const; | ||
bool operator!=(const Style &) const; | ||
|
||
/* Builtin styles used by pie internally */ | ||
/* default style for characters */ | ||
static Style default_style; | ||
/* the style for the cursor */ | ||
static Style cursor_style; | ||
/* the style for selected chars other than the cursor */ | ||
static Style selection_style; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
Oops, something went wrong.