* 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:
+266
-251
File diff suppressed because it is too large
Load Diff
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user