* Added text input filter functionality.

* Cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18741 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2006-09-04 21:06:33 +00:00
parent 1f2d7e39bf
commit 309c11a716
2 changed files with 272 additions and 251 deletions
File diff suppressed because it is too large Load Diff
+6
View File
@@ -50,6 +50,10 @@ class BList;
class BTextControl;
class BWindow;
class BComboBox;
struct text_run_array;
typedef const char* (*text_input_filter_hook)(const char* inText, int32& length,
const text_run_array*& runs);
/*
// Abstract class provides an interface for BComboBox to access possible choices.
@@ -154,6 +158,8 @@ public:
virtual void SetModificationMessage(BMessage *message);
BMessage *ModificationMessage() const;
void SetFilter(text_input_filter_hook hook);
virtual void GetPreferredSize(float *width, float *height);
virtual void ResizeToPreferred();
virtual void FrameMoved(BPoint new_position);