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. --- gtk/PlatGTK.cxx | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'gtk') diff --git a/gtk/PlatGTK.cxx b/gtk/PlatGTK.cxx index 2f37cf62d..45564df78 100755 --- a/gtk/PlatGTK.cxx +++ b/gtk/PlatGTK.cxx @@ -1232,6 +1232,7 @@ public: void ClearRegisteredImages() override; void SetDelegate(IListBoxDelegate *lbDelegate) override; void SetList(const char *listText, char separator, char typesep) override; + void SetOptions(ListOptions options_) override; }; std::unique_ptr ListBox::Allocate() { @@ -1878,6 +1879,9 @@ void ListBoxX::SetList(const char *listText, char separator, char typesep) { } } +void ListBoxX::SetOptions(ListOptions) { +} + Menu::Menu() noexcept : mid(nullptr) {} void Menu::CreatePopUp() { -- cgit v1.2.3