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:
@@ -133,7 +133,7 @@ void Clock::Update()
|
||||
next[k] = 0;
|
||||
for (int s = 1; s >= 0; --s)
|
||||
{
|
||||
w->Reverse(s);
|
||||
*w << (s ? fmtReverse : fmtReverseEnd);
|
||||
for (int i = 0; i < 6; ++i)
|
||||
{
|
||||
long a = (newer[i] ^ older[i]) & (s ? newer : older)[i];
|
||||
|
||||
@@ -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