summaryrefslogtreecommitdiffstats
path: root/Panel.c
diff options
context:
space:
mode:
authorNathan Scott <nathans@redhat.com>2020-08-26 10:15:00 +1000
committerNathan Scott <nathans@redhat.com>2020-08-26 10:39:43 +1000
commit728b04bbb5667291f1e56058240fcd7e03cbfe74 (patch)
treead199ce3a3303e723eb9332aa6cb847b9530084a /Panel.c
parentd0f31ede5624ed2f35ca25043f6a28adfe3bc171 (diff)
Merge branch 'ci-hwloc-job' of https://github.com/bertwesarg/htop into bertwesarg-ci-hwloc-job
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);

© 2014-2024 Faster IT GmbH | imprint | privacy policy