Cary Sandvig 25 năm trước cách đây
mục cha
commit
0efa072008
1 tập tin đã thay đổi với 45 bổ sung0 xóa
  1. 45 0
      panda/src/gui/guiListBox.cxx

+ 45 - 0
panda/src/gui/guiListBox.cxx

@@ -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;
+}