summaryrefslogtreecommitdiffstats
path: root/Panel.c
diff options
context:
space:
mode:
Diffstat (limited to 'Panel.c')
-rw-r--r--Panel.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/Panel.c b/Panel.c
index fc4fa3c2..348fd238 100644
--- a/Panel.c
+++ b/Panel.c
@@ -264,6 +264,14 @@ void Panel_setSelected(Panel* this, int selected) {
}
}
+void Panel_splice(Panel *this, Vector* from) {
+ assert (this != NULL);
+ assert (from != NULL);
+
+ Vector_splice(this->items, from);
+ this->needsRedraw = true;
+}
+
void Panel_draw(Panel* this, bool focus) {
assert (this != NULL);