Added BTextControl::TextLength() method.

This commit is contained in:
Axel Dörfler
2015-03-27 13:24:09 +01:00
parent d95c5011bd
commit 8bc3ecb054
2 changed files with 11 additions and 2 deletions
+3 -1
View File
@@ -1,5 +1,5 @@
/*
* Copyright 2006-2012, Haiku, Inc. All rights reserved.
* Copyright 2006-2015, Haiku, Inc. All rights reserved.
* Distributed under the terms of the MIT License.
*/
#ifndef _TEXT_CONTROL_H
@@ -40,6 +40,7 @@ public:
virtual void SetText(const char* text);
const char* Text() const;
int32 TextLength() const;
void MarkAsInvalid(bool invalid);
virtual void SetValue(int32 value);
@@ -145,4 +146,5 @@ private:
uint32 _reserved[8];
};
#endif // _TEXT_CONTROL_H