yeah, make sure to apply things down the tree

This commit is contained in:
Cary Sandvig 2001-04-11 20:23:31 +00:00
parent 2fe7fe3206
commit 9b01837f3e

View File

@ -235,14 +235,20 @@ void GuiChooser::unmanage(void) {
}
void GuiChooser::set_scale(float f) {
for (ItemVector::iterator i=_items.begin(); i!=_items.end(); ++i)
(*i)->set_scale(f);
GuiBehavior::set_scale(f);
}
void GuiChooser::set_scale(float x, float y, float z) {
for (ItemVector::iterator i=_items.begin(); i!=_items.end(); ++i)
(*i)->set_scale(x, y, z);
GuiBehavior::set_scale(x, y, z);
}
void GuiChooser::set_pos(const LVector3f& p) {
for (ItemVector::iterator i=_items.begin(); i!=_items.end(); ++i)
(*i)->set_pos(p);
GuiBehavior::set_pos(p);
}