diff options
author | Andrzej Rybczak <electricityispower@gmail.com> | 2009-01-22 16:08:09 +0100 |
---|---|---|
committer | Andrzej Rybczak <electricityispower@gmail.com> | 2009-01-22 16:08:09 +0100 |
commit | 237e494b084924dec693aee5a606b38c24209016 (patch) | |
tree | ba97e93ffcf4584b9ce0baab08ebb06cca90bef6 /src/scrollpad.h | |
parent | 1244223919d196fcad3d21fc3c9eb0179f5e1c83 (diff) |
color artist's info loaded from a file
Diffstat (limited to 'src/scrollpad.h')
-rw-r--r-- | src/scrollpad.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/scrollpad.h b/src/scrollpad.h index c1daa71c..8199db11 100644 --- a/src/scrollpad.h +++ b/src/scrollpad.h @@ -32,6 +32,7 @@ class Scrollpad: public Window virtual ~Scrollpad() { } void Flush(); + void SetFormatting(short, const std::basic_string<my_char_t> &, short, bool for_each = 1); std::basic_string<my_char_t> Content() { return itsBuffer.Str(); } virtual void Refresh(); @@ -50,6 +51,7 @@ class Scrollpad: public Window Scrollpad &operator<<(std::ostream &(*os)(std::ostream &)); # ifdef _UTF8 + void SetFormatting(short vb, const std::string &s, short ve, bool for_each = 1) { SetFormatting(vb, ToWString(s), ve, for_each); } Scrollpad &operator<<(const char *s); Scrollpad &operator<<(const std::string &s); # endif // _UTF8 |