diff options
| author | nyamatongwe <devnull@localhost> | 2000-07-12 07:21:46 +0000 | 
|---|---|---|
| committer | nyamatongwe <devnull@localhost> | 2000-07-12 07:21:46 +0000 | 
| commit | a4cde497e296ebdeedeafe2519e75a09c6fd9488 (patch) | |
| tree | ad2682d1284348952c3f35cb03eb8a1d24ff9f46 /include/Platform.h | |
| parent | 9bde3adbd08a9f706655f0e0fe1c9adf685408a0 (diff) | |
| download | scintilla-mirror-a4cde497e296ebdeedeafe2519e75a09c6fd9488.tar.gz | |
Added John's autocompletion changes and fiddled to make autocompletion list
size better.
Diffstat (limited to 'include/Platform.h')
| -rw-r--r-- | include/Platform.h | 13 | 
1 files changed, 8 insertions, 5 deletions
| diff --git a/include/Platform.h b/include/Platform.h index 785bc8923..6fff59afa 100644 --- a/include/Platform.h +++ b/include/Platform.h @@ -328,7 +328,7 @@ public:  	void Show(bool show=true);  	void InvalidateAll();  	void InvalidateRectangle(PRectangle rc); -	void SetFont(Font &font); +	virtual void SetFont(Font &font);  	enum Cursor { cursorText, cursorArrow, cursorUp, cursorWait, cursorHoriz, cursorVert, cursorReverseArrow };  	void SetCursor(Cursor curs);  	void SetTitle(const char *s); @@ -345,14 +345,17 @@ class ListBox : public Window {  	WindowID scroller;  	int current;  #endif +	int desiredVisibleRows; +    size_t maxItemCharacters; +	unsigned int aveCharWidth;  public:  	ListBox();  	virtual ~ListBox(); -	ListBox &operator=(WindowID id_) { -		id = id_; -		return *this; -	}  	void Create(Window &parent, int ctrlID); +	virtual void SetFont(Font &font); +	void SetAverageCharWidth(int width); +	void SetVisibleRows(int rows); +	PRectangle GetDesiredRect();  	void Clear();  	void Append(char *s);  	int Length(); | 
