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. --- cocoa/PlatCocoa.mm | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'cocoa') diff --git a/cocoa/PlatCocoa.mm b/cocoa/PlatCocoa.mm index 8e4323dca..d01c73da6 100644 --- a/cocoa/PlatCocoa.mm +++ b/cocoa/PlatCocoa.mm @@ -1680,6 +1680,7 @@ public: delegate = lbDelegate; } void SetList(const char *list, char separator, char typesep) override; + void SetOptions(ListOptions options_) override; // To clean up when closed void ReleaseViews(); @@ -1866,6 +1867,9 @@ void ListBoxImpl::SetList(const char *list, char separator, char typesep) { [table reloadData]; } +void ListBoxImpl::SetOptions(ListOptions) { +} + int ListBoxImpl::Length() { return ld.Length(); } -- cgit v1.2.3