14 #ifndef MODIFIERBUTTONS_H 15 #define MODIFIERBUTTONS_H 51 INLINE
int get_num_buttons()
const;
53 MAKE_SEQ(get_buttons, get_num_buttons, get_button);
54 MAKE_SEQ_PROPERTY(buttons, get_num_buttons, get_button);
58 INLINE
void all_buttons_up();
61 INLINE
bool is_down(
int index)
const;
62 INLINE
bool is_any_down()
const;
64 std::string get_prefix()
const;
66 void output(std::ostream &out)
const;
67 void write(std::ostream &out)
const;
70 void modify_button_list();
73 typedef unsigned long BitmaskType;
77 INLINE std::ostream &operator << (std::ostream &out,
const ModifierButtons &mb) {
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.