mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-30 16:58:40 -04:00
whee
This commit is contained in:
parent
83bc6d640d
commit
122d433432
7
panda/src/gui/guiListBox.I
Normal file
7
panda/src/gui/guiListBox.I
Normal file
@ -0,0 +1,7 @@
|
||||
// Filename: guiListBox.I
|
||||
// Created by: cary (18Jan01)
|
||||
//
|
||||
////////////////////////////////////////////////////////////////////
|
||||
|
||||
INLINE GuiListBox::GuiListBox(void) {}
|
||||
|
48
panda/src/gui/guiListBox.h
Normal file
48
panda/src/gui/guiListBox.h
Normal 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__ */
|
Loading…
x
Reference in New Issue
Block a user