This commit is contained in:
Cary Sandvig 2001-01-18 21:49:03 +00:00
parent 83bc6d640d
commit 122d433432
2 changed files with 55 additions and 0 deletions

View File

@ -0,0 +1,7 @@
// Filename: guiListBox.I
// Created by: cary (18Jan01)
//
////////////////////////////////////////////////////////////////////
INLINE GuiListBox::GuiListBox(void) {}

View File

@ -0,0 +1,48 @@
// Filename: guiListBox.h
// Created by: cary (18Jan01)
//
////////////////////////////////////////////////////////////////////
#ifndef __GUILISTBOX_H__
#define __GUILISTBOX_H__
#include "guiItem.h"
#include <vector>
class EXPCL_PANDA GuiListBox : public GuiItem {
PUBLISHED:
GuiListBox(const string&);
~GuiListBox(void);
virtual void manage(GuiManager*, EventHandler&);
virtual void unmanage(void);
virtual void set_scale(float);
virtual void set_pos(const LVector3f&);
virtual void output(ostream&) const;
public:
// type interface
static TypeHandle get_class_type(void) {
return _type_handle;
}
static void init_type(void) {
GuiItem::init_type();
register_type(_type_handle, "GuiListBox",
GuiItem::get_class_type());
}
virtual TypeHandle get_type(void) const {
return get_class_type();
}
virtual TypeHandle force_init_type(void) {
init_type();
return get_class_type();
}
private:
static TypeHandle _type_handle;
};
#include "guiListBox.I"
#endif /* __GUILISTBOX_H__ */