lxgui
input_source.cpp
1 #include "lxgui/input_source.hpp"
2 
3 namespace lxgui::input {
4 
6  return keyboard_;
7 }
8 
10  return mouse_;
11 }
12 
14  return window_dimensions_;
15 }
16 
18  return 1.0f;
19 }
20 
21 } // namespace lxgui::input
const gui::vector2ui & get_window_dimensions() const
Get the window size (in pixels)
gui::vector2ui window_dimensions_
const mouse_state & get_mouse_state() const
Returns the mouse state of this input source.
Definition: input_source.cpp:9
virtual float get_interface_scaling_factor_hint() const
Return the interface scaling factor suggested by the operating system.
const key_state & get_key_state() const
Returns the keyboard state of this input source.
Definition: input_source.cpp:5