15 #include "buttonMap.h"
28 if (_button_map.find(index) != _button_map.end()) {
34 bnode._raw = raw_button;
35 bnode._mapped = button;
37 _button_map[index] = bnode;
38 _buttons.push_back(&_button_map[index]);
47 output(ostream &out)
const {
57 write(ostream &out,
int indent_level)
const {
58 indent(out, indent_level)
62 for (it = _buttons.begin(); it != _buttons.end(); ++it) {
65 indent(out, indent_level + 2)
66 << bn->_raw <<
" -> " << bn->_mapped <<
" \"" << bn->_label <<
"\"\n";
This is our own Panda specialization on the default STL vector.
TypeHandle is the identifier used to differentiate C++ class types.