Panel_new: reorder arguments

Reorder owner and type so they match the order of Panel_init
This commit is contained in:
Christian Göttsche
2021-01-02 23:51:53 +01:00
committed by cgzones
parent badeaf9e82
commit ce9e7fd14f
6 changed files with 7 additions and 7 deletions

View File

@ -26,7 +26,7 @@ InfoScreen* InfoScreen_init(InfoScreen* this, const Process* process, FunctionBa
if (!bar) {
bar = FunctionBar_new(InfoScreenFunctions, InfoScreenKeys, InfoScreenEvents);
}
this->display = Panel_new(0, 1, COLS, height, false, Class(ListItem), bar);
this->display = Panel_new(0, 1, COLS, height, Class(ListItem), false, bar);
this->inc = IncSet_new(bar);
this->lines = Vector_new(this->display->items->type, true, DEFAULT_SIZE);
Panel_setHeader(this->display, panelHeader);