From bac6aef730e569c6b4bcda7026bf1c1db3e827b6 Mon Sep 17 00:00:00 2001 From: Neil Date: Thu, 18 Mar 2021 17:38:38 +1100 Subject: ListBox options API. ListOptions is currently empty but may contain list item colours in the future. --- src/Platform.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src') diff --git a/src/Platform.h b/src/Platform.h index 3b5b991b0..33116999c 100644 --- a/src/Platform.h +++ b/src/Platform.h @@ -269,6 +269,9 @@ public: virtual void ListNotify(ListBoxEvent *plbe)=0; }; +struct ListOptions { +}; + class ListBox : public Window { public: ListBox() noexcept; @@ -294,6 +297,7 @@ public: virtual void ClearRegisteredImages()=0; virtual void SetDelegate(IListBoxDelegate *lbDelegate)=0; virtual void SetList(const char* list, char separator, char typesep)=0; + virtual void SetOptions(ListOptions options_)=0; }; /** -- cgit v1.2.3