make Window::{Bold,Reverse,AltCharset} protected
they should be called only within member funcions, because they ignore stacked values, that are set by Window::operator<<(Format)
This commit is contained in:
@@ -119,9 +119,6 @@ namespace NCurses
|
||||
void DeleteHistory();
|
||||
|
||||
void Hide(char = 32) const;
|
||||
void Bold(bool) const;
|
||||
void Reverse(bool) const;
|
||||
void AltCharset(bool) const;
|
||||
|
||||
void Display();
|
||||
virtual void Refresh();
|
||||
@@ -164,6 +161,10 @@ namespace NCurses
|
||||
|
||||
class BadSize { };
|
||||
|
||||
void Bold(bool) const;
|
||||
void Reverse(bool) const;
|
||||
void AltCharset(bool) const;
|
||||
|
||||
void ShowBorder() const;
|
||||
void AdjustDimensions(size_t &, size_t &);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user