From 7bc08cce00adf4ddc6cd225e4219b625ed7147a0 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Thu, 21 Nov 2002 12:35:51 +0000 Subject: Patch from Biswa to add icons to autocompletion lists. --- include/Platform.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'include/Platform.h') diff --git a/include/Platform.h b/include/Platform.h index 7e521d63b..53b1dfecc 100644 --- a/include/Platform.h +++ b/include/Platform.h @@ -377,6 +377,7 @@ private: WindowID list; WindowID scroller; int current; + void *pixhash; #endif int desiredVisibleRows; unsigned int maxItemCharacters; @@ -393,13 +394,14 @@ public: void SetVisibleRows(int rows); PRectangle GetDesiredRect(); void Clear(); - void Append(char *s); + void Append(char *s, int type = -1); int Length(); void Select(int n); int GetSelection(); int Find(const char *prefix); void GetValue(int n, char *value, int len); void Sort(); + void SetTypeXpm(int type, const char **xpm_data); void SetDoubleClickAction(CallBackAction action, void *data) { doubleClickAction = action; doubleClickActionData = data; -- cgit v1.2.3