mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-13 04:38:24 +00:00
Forward resetColor() et al to the underlying stream.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187947 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -129,6 +129,27 @@ public:
|
|||||||
|
|
||||||
/// getLine - Return the line number
|
/// getLine - Return the line number
|
||||||
unsigned getLine() { return Position.second; }
|
unsigned getLine() { return Position.second; }
|
||||||
|
|
||||||
|
raw_ostream &resetColor() {
|
||||||
|
TheStream->resetColor();
|
||||||
|
return *this;
|
||||||
|
}
|
||||||
|
|
||||||
|
raw_ostream &reverseColor() {
|
||||||
|
TheStream->reverseColor();
|
||||||
|
return *this;
|
||||||
|
}
|
||||||
|
|
||||||
|
raw_ostream &changeColor(enum Colors Color,
|
||||||
|
bool Bold,
|
||||||
|
bool BG) {
|
||||||
|
TheStream->changeColor(Color, Bold, BG);
|
||||||
|
return *this;
|
||||||
|
}
|
||||||
|
|
||||||
|
bool is_displayed() const {
|
||||||
|
return TheStream->is_displayed();
|
||||||
|
}
|
||||||
|
|
||||||
private:
|
private:
|
||||||
void releaseStream() {
|
void releaseStream() {
|
||||||
|
Reference in New Issue
Block a user