new feature for parser, coordinates reader

This commit is contained in:
unK
2008-09-13 20:39:13 +02:00
parent 831f9ab405
commit 369bbf6b96
2 changed files with 39 additions and 2 deletions

View File

@@ -49,6 +49,7 @@ enum Where { wUp, wDown, wPageUp, wPageDown, wHome, wEnd };
typedef void (*GetStringHelper)();
typedef std::pair<Color, Color> ColorPair;
typedef std::pair<int, int> Coordinates;
char * ToString(const wchar_t *);
wchar_t * ToWString(const char *);
@@ -126,6 +127,7 @@ class Window
virtual void Add(string str) { Write(str); } // for Scrollpad class
static void EnableColors();
static Coordinates IntoCoordinates(const string &);
static bool IsValidColor(const string &);
static string OmitBBCodes(const string &);