18 INLINE
int WinGraphicsWindow::
19 translate_mouse(
int pos)
const {
34 INLINE
void WinGraphicsWindow::
35 set_cursor_in_window() {
36 if (_cursor_window !=
this) {
37 update_cursor_window(
this);
49 INLINE
void WinGraphicsWindow::
50 set_cursor_out_of_window() {
51 if (_cursor_window ==
this) {
52 update_cursor_window(
nullptr);
61 INLINE
double WinGraphicsWindow::
63 DWORD now_ticks = GetTickCount();
65 DWORD elapsed_ticks = now_ticks - GetMessageTime();
66 return now_time - (double)elapsed_ticks / 1000.0;
83 INLINE WinGraphicsWindow::WindowClass::
95 INLINE
bool WinGraphicsWindow::WindowClass::
96 operator < (
const WinGraphicsWindow::WindowClass &other)
const {
97 return _icon < other._icon;
static ClockObject * get_global_clock()
Returns a pointer to the global ClockObject.
has_icon_filename
Returns true if set_icon_filename() has been specified.
HWND get_ime_hwnd()
Return the IME_window handle if open.
A container for the various kinds of properties we might ask to have on a graphics window before we o...
get_icon_filename
Returns the icon filename associated with the window.
get_real_time
Returns the actual number of seconds elapsed since the ClockObject was created, or since it was last ...