From f3a226257d61fc7e23ddcb853ff828009d309bbd Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Tue, 18 Apr 2000 13:23:58 +0000 Subject: Removed use of PropSet in Accessor to avoid linkage. Added indenting and horizontal scroll bar messages. --- include/WindowAccessor.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'include/WindowAccessor.h') diff --git a/include/WindowAccessor.h b/include/WindowAccessor.h index 567c47894..89a542e82 100644 --- a/include/WindowAccessor.h +++ b/include/WindowAccessor.h @@ -33,7 +33,9 @@ public: void Flush(); int GetLineState(int line); int SetLineState(int line, int state); - PropSet &GetPropSet() { return props; } + int GetPropertyInt(const char *key, int defaultValue=0) { + return props.GetInt(key, defaultValue); + } void StartAt(unsigned int start, char chMask=31); void SetFlags(char chFlags_, char chWhile_) {chFlags = chFlags_; chWhile = chWhile_; }; -- cgit v1.2.3