95 INLINE
ButtonEvent(
const std::wstring &candidate_string,
size_t highlight_start,
96 size_t highlight_end,
size_t cursor_pos);
101 INLINE
bool operator == (
const ButtonEvent &other)
const;
102 INLINE
bool operator != (
const ButtonEvent &other)
const;
103 INLINE
bool operator < (
const ButtonEvent &other)
const;
109 INLINE
int get_keycode()
const;
110 INLINE Type get_type()
const;
111 INLINE
double get_time()
const;
113 void output(std::ostream &out)
const;
115 void write_datagram(
Datagram &dg)
const;
119 MAKE_PROPERTY(button, get_button);
120 MAKE_PROPERTY(keycode, get_keycode);
121 MAKE_PROPERTY(type, get_type);
122 MAKE_PROPERTY(time, get_time);
133 std::wstring _candidate_string;
134 size_t _highlight_start;
135 size_t _highlight_end;
148INLINE std::ostream &operator << (std::ostream &out,
const ButtonEvent &be) {
static ClockObject * get_global_clock()
Returns a pointer to the global ClockObject.
A class to retrieve the individual data elements previously stored in a Datagram.
An ordered list of data elements, formatted in memory for transmission over a socket or writing to a ...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.