summaryrefslogtreecommitdiff
path: root/plugingui/listbox.cc
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2013-04-19 22:57:02 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2013-04-19 22:57:02 +0200
commitabc0caf95536a4001615f863860a091d6bc55973 (patch)
treeb3f79d1c92bc8e48df7d20375050808a945ca7e6 /plugingui/listbox.cc
parent615c1f1544cabbe7ed4b33a1bde10b1b2ab71d2e (diff)
New listbox widgets and scrollbar.
Diffstat (limited to 'plugingui/listbox.cc')
-rw-r--r--plugingui/listbox.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/plugingui/listbox.cc b/plugingui/listbox.cc
index 6c6c6e7..3647753 100644
--- a/plugingui/listbox.cc
+++ b/plugingui/listbox.cc
@@ -57,6 +57,11 @@ void GUI::ListBox::addItem(std::string name, std::string value)
basic->addItem(name, value);
}
+void GUI::ListBox::addItems(std::vector<ListBoxBasic::Item> &items)
+{
+ basic->addItems(items);
+}
+
void GUI::ListBox::clear()
{
basic->clear();