adding.resizeNotify(adding, '0 0 0', c.size, '0 0 0', c.size);
c.addItem(c, adding, '0 0 0', '1 1 0', 1);
s.resizeNotify(s, '0 0 0', s.size, '0 0 0', s.size);
+ s.showNotify(s);
}
}
METHOD(XonoticGameSettingsTab, fill, void(entity this))
p.draw(p);
}
+METHOD(XonoticScrollPanel, showNotify, void(XonoticScrollPanel this))
+{
+ XonoticTab p = this.currentPanel;
+ p.showNotify(p);
+}
+
METHOD(XonoticScrollPanel, resizeNotify, void(XonoticScrollPanel this, vector relOrigin, vector relSize, vector absOrigin, vector absSize))
{
SUPER(XonoticScrollPanel).resizeNotify(this, relOrigin, relSize, absOrigin, absSize);
METHOD(XonoticScrollPanel, setSelected, void(XonoticScrollPanel this, int i)) { }
METHOD(XonoticScrollPanel, drawListBoxItem, void(XonoticScrollPanel this, int i, vector absSize, bool isSelected, bool isFocused));
+ METHOD(XonoticScrollPanel, showNotify, void(XonoticScrollPanel this));
METHOD(XonoticScrollPanel, resizeNotify, void(XonoticScrollPanel this, vector relOrigin, vector relSize, vector absOrigin, vector absSize));
ENDCLASS(XonoticScrollPanel)