mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-01 09:23:03 -04:00
whee
This commit is contained in:
parent
122d433432
commit
0efa072008
45
panda/src/gui/guiListBox.cxx
Normal file
45
panda/src/gui/guiListBox.cxx
Normal file
@ -0,0 +1,45 @@
|
||||
// Filename: guiListBox.cxx
|
||||
// Created by: cary (18Jan01)
|
||||
//
|
||||
////////////////////////////////////////////////////////////////////
|
||||
|
||||
#include "guiListBox.h"
|
||||
|
||||
TypeHandle GuiListBox::_type_handle;
|
||||
|
||||
void GuiListBox::recompute_frame(void) {
|
||||
GuiItem::recompute_frame();
|
||||
}
|
||||
|
||||
GuiListBox::GuiListBox(const string& name) : GuiItem(name) {
|
||||
}
|
||||
|
||||
GuiListBox::~GuiListBox(void) {
|
||||
this->unmanage();
|
||||
}
|
||||
|
||||
void GuiListBox::manage(GuiManager* mgr, EventHandler& eh) {
|
||||
if (_mgr == (GuiManager*)0L)
|
||||
GuiItem::manage(mgr, eh);
|
||||
else
|
||||
gui_cat->warning() << "tried to manage listbox (0x" << (void*)this
|
||||
<< ") that is already managed" << endl;
|
||||
}
|
||||
|
||||
void GuiListBox::unmanage(void) {
|
||||
GuiItem::unmanage();
|
||||
}
|
||||
|
||||
void GuiListBox::set_scale(float f) {
|
||||
GuiItem::set_scale(f);
|
||||
}
|
||||
|
||||
void GuiListBox::set_pos(const LVector3f& p) {
|
||||
GuiItem::set_pos(p);
|
||||
}
|
||||
|
||||
void GuiListBox::output(ostream& os) const {
|
||||
GuiItem::output(os);
|
||||
os << " Listbox data:" << endl;
|
||||
os << " none" << endl;
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user