#include <WindowImplAndroid.hpp>
|
float | MapCenteredAxis (AInputEvent *event, int32_t axis) |
|
int32_t | HandleInput (lug::Window::Event &event, AInputEvent *androidEvent) |
|
void | setWindowDecorations (Style style) |
|
bool | shouldIgnoreRepeated (XEvent &xEvent) |
| This functions filters event depending on the value of _keyRepeat. More...
|
|
void | processWindowEvents (UINT message, WPARAM wParam, LPARAM lParam) |
|
void | registerWindow () const |
|
bool | activateFullscreen () |
|
Keyboard::Key | getKeyCode (WPARAM wParam, LPARAM lParam) |
|
void | configKeyEvent (KeyEvent &key, WPARAM wParam, LPARAM lParam) |
|
void | configMouseEvent (MouseEvent &mouse, WPARAM wParam, LPARAM lParam) |
|
void | getMouseEventModifier (MouseEvent &mouse, WPARAM wParam) |
|
void | getMouseCoord (MouseEvent &mouse, LPARAM lParam) |
|
void | configMouseButtonEvent (MouseEvent &mouse, UINT message, WPARAM wParam, LPARAM lParam) |
|
void | configMouseWheelEvent (MouseEvent &mouse, UINT message, WPARAM wParam) |
|
|
static LRESULT CALLBACK | onEvent (HWND handle, UINT message, WPARAM wParam, LPARAM lParam) |
|
Definition at line 15 of file WindowImplAndroid.hpp.
◆ WindowImpl() [1/7]
lug::Window::priv::WindowImpl::WindowImpl |
( |
Window * |
win | ) |
|
◆ ~WindowImpl() [1/3]
lug::Window::priv::WindowImpl::~WindowImpl |
( |
| ) |
|
|
default |
◆ WindowImpl() [2/7]
lug::Window::priv::WindowImpl::WindowImpl |
( |
Window * |
| ) |
|
◆ ~WindowImpl() [2/3]
lug::Window::priv::WindowImpl::~WindowImpl |
( |
| ) |
|
|
default |
◆ WindowImpl() [3/7]
lug::Window::priv::WindowImpl::WindowImpl |
( |
const WindowImpl & |
| ) |
|
|
delete |
◆ WindowImpl() [4/7]
lug::Window::priv::WindowImpl::WindowImpl |
( |
WindowImpl && |
| ) |
|
|
delete |
◆ WindowImpl() [5/7]
lug::Window::priv::WindowImpl::WindowImpl |
( |
Window * |
| ) |
|
◆ ~WindowImpl() [3/3]
lug::Window::priv::WindowImpl::~WindowImpl |
( |
| ) |
|
◆ WindowImpl() [6/7]
lug::Window::priv::WindowImpl::WindowImpl |
( |
const WindowImpl & |
| ) |
|
|
delete |
◆ WindowImpl() [7/7]
lug::Window::priv::WindowImpl::WindowImpl |
( |
WindowImpl && |
| ) |
|
|
delete |
◆ init() [1/3]
◆ close() [1/3]
void lug::Window::priv::WindowImpl::close |
( |
| ) |
|
◆ pollEvent() [1/3]
◆ setKeyRepeat() [1/3]
void lug::Window::priv::WindowImpl::setKeyRepeat |
( |
bool |
state | ) |
|
◆ setMouseCursorVisible() [1/3]
void lug::Window::priv::WindowImpl::setMouseCursorVisible |
( |
bool |
visible | ) |
|
◆ setMousePos() [1/3]
void lug::Window::priv::WindowImpl::setMousePos |
( |
const Math::Vec2i & |
mousePosition | ) |
|
◆ getWindow() [1/2]
ANativeWindow * lug::Window::priv::WindowImpl::getWindow |
( |
| ) |
|
◆ MapCenteredAxis()
float lug::Window::priv::WindowImpl::MapCenteredAxis |
( |
AInputEvent * |
event, |
|
|
int32_t |
axis |
|
) |
| |
|
private |
◆ HandleInput()
int32_t lug::Window::priv::WindowImpl::HandleInput |
( |
lug::Window::Event & |
event, |
|
|
AInputEvent * |
androidEvent |
|
) |
| |
|
private |
◆ operator=() [1/4]
◆ operator=() [2/4]
◆ init() [2/3]
◆ close() [2/3]
void lug::Window::priv::WindowImpl::close |
( |
| ) |
|
◆ pollEvent() [2/3]
◆ setKeyRepeat() [2/3]
void lug::Window::priv::WindowImpl::setKeyRepeat |
( |
bool |
state | ) |
|
◆ setMouseCursorVisible() [2/3]
void lug::Window::priv::WindowImpl::setMouseCursorVisible |
( |
bool |
visible | ) |
|
◆ setMousePos() [2/3]
void lug::Window::priv::WindowImpl::setMousePos |
( |
const Math::Vec2i & |
mousePosition | ) |
|
◆ getDisplay()
Display * lug::Window::priv::WindowImpl::getDisplay |
( |
| ) |
const |
◆ getWindow() [2/2]
Window lug::Window::priv::WindowImpl::getWindow |
( |
| ) |
const |
◆ setWindowDecorations()
void lug::Window::priv::WindowImpl::setWindowDecorations |
( |
Style |
style | ) |
|
|
private |
◆ shouldIgnoreRepeated()
bool lug::Window::priv::WindowImpl::shouldIgnoreRepeated |
( |
XEvent & |
xEvent | ) |
|
|
private |
This functions filters event depending on the value of _keyRepeat.
- Parameters
-
xEvent | The x event to filter. |
- Returns
- True if the event should be ignored, False if it should be keeped.
Definition at line 363 of file WindowImplX11.cpp.
◆ operator=() [3/4]
◆ operator=() [4/4]
◆ init() [3/3]
◆ close() [3/3]
void lug::Window::priv::WindowImpl::close |
( |
| ) |
|
◆ pollEvent() [3/3]
◆ setKeyRepeat() [3/3]
void lug::Window::priv::WindowImpl::setKeyRepeat |
( |
bool |
state | ) |
|
◆ setMouseCursorVisible() [3/3]
void lug::Window::priv::WindowImpl::setMouseCursorVisible |
( |
bool |
visible | ) |
|
◆ setMousePos() [3/3]
void lug::Window::priv::WindowImpl::setMousePos |
( |
const Math::Vec2i & |
mousePosition | ) |
|
◆ getHandle()
HWND lug::Window::priv::WindowImpl::getHandle |
( |
| ) |
const |
◆ getHinstance()
HINSTANCE lug::Window::priv::WindowImpl::getHinstance |
( |
| ) |
const |
◆ processWindowEvents()
void lug::Window::priv::WindowImpl::processWindowEvents |
( |
UINT |
message, |
|
|
WPARAM |
wParam, |
|
|
LPARAM |
lParam |
|
) |
| |
|
private |
◆ registerWindow()
void lug::Window::priv::WindowImpl::registerWindow |
( |
| ) |
const |
|
private |
◆ activateFullscreen()
bool lug::Window::priv::WindowImpl::activateFullscreen |
( |
| ) |
|
|
private |
◆ getKeyCode()
Keyboard::Key lug::Window::priv::WindowImpl::getKeyCode |
( |
WPARAM |
wParam, |
|
|
LPARAM |
lParam |
|
) |
| |
|
private |
◆ configKeyEvent()
void lug::Window::priv::WindowImpl::configKeyEvent |
( |
KeyEvent & |
key, |
|
|
WPARAM |
wParam, |
|
|
LPARAM |
lParam |
|
) |
| |
|
private |
◆ configMouseEvent()
void lug::Window::priv::WindowImpl::configMouseEvent |
( |
MouseEvent & |
mouse, |
|
|
WPARAM |
wParam, |
|
|
LPARAM |
lParam |
|
) |
| |
|
private |
◆ getMouseEventModifier()
void lug::Window::priv::WindowImpl::getMouseEventModifier |
( |
MouseEvent & |
mouse, |
|
|
WPARAM |
wParam |
|
) |
| |
|
private |
◆ getMouseCoord()
void lug::Window::priv::WindowImpl::getMouseCoord |
( |
MouseEvent & |
mouse, |
|
|
LPARAM |
lParam |
|
) |
| |
|
private |
◆ configMouseButtonEvent()
void lug::Window::priv::WindowImpl::configMouseButtonEvent |
( |
MouseEvent & |
mouse, |
|
|
UINT |
message, |
|
|
WPARAM |
wParam, |
|
|
LPARAM |
lParam |
|
) |
| |
|
private |
◆ configMouseWheelEvent()
void lug::Window::priv::WindowImpl::configMouseWheelEvent |
( |
MouseEvent & |
mouse, |
|
|
UINT |
message, |
|
|
WPARAM |
wParam |
|
) |
| |
|
private |
◆ onEvent()
LRESULT CALLBACK lug::Window::priv::WindowImpl::onEvent |
( |
HWND |
handle, |
|
|
UINT |
message, |
|
|
WPARAM |
wParam, |
|
|
LPARAM |
lParam |
|
) |
| |
|
staticprivate |
◆ events
◆ inputQueue
AInputQueue * lug::Window::priv::WindowImpl::inputQueue = nullptr |
|
static |
◆ nativeWindow
ANativeWindow * lug::Window::priv::WindowImpl::nativeWindow = nullptr |
|
static |
◆ activity
ANativeActivity * lug::Window::priv::WindowImpl::activity = nullptr |
|
static |
◆ androidMutex
std::mutex lug::Window::priv::WindowImpl::androidMutex |
|
static |
◆ cv
std::condition_variable lug::Window::priv::WindowImpl::cv |
|
static |
◆ _parent
Window * lug::Window::priv::WindowImpl::_parent {nullptr} |
|
private |
◆ doubletap_detector_
◆ pinch_detector_
◆ drag_detector_
◆ _display
Display* lug::Window::priv::WindowImpl::_display {nullptr} |
|
private |
◆ _window
::Window lug::Window::priv::WindowImpl::_window {0} |
|
private |
◆ _wmProtocols
Atom lug::Window::priv::WindowImpl::_wmProtocols |
|
private |
◆ _wmDeleteWindow
Atom lug::Window::priv::WindowImpl::_wmDeleteWindow |
|
private |
◆ _wmHints
Atom lug::Window::priv::WindowImpl::_wmHints |
|
private |
◆ _hiddenCursor
Cursor lug::Window::priv::WindowImpl::_hiddenCursor {0} |
|
private |
◆ _keyRepeat
bool lug::Window::priv::WindowImpl::_keyRepeat {true} |
|
private |
◆ className
const wchar_t* lug::Window::priv::WindowImpl::className {L"LUG_Window"} |
|
private |
◆ _events
◆ _handle
HWND lug::Window::priv::WindowImpl::_handle {nullptr} |
|
private |
◆ _hinstance
HINSTANCE lug::Window::priv::WindowImpl::_hinstance {nullptr} |
|
private |
◆ _callback
LONG_PTR lug::Window::priv::WindowImpl::_callback {0} |
|
private |
Stores the original event callback function of the control.
Definition at line 59 of file WindowImplWin32.hpp.
◆ _cursor
HCURSOR lug::Window::priv::WindowImpl::_cursor {nullptr} |
|
private |
◆ _icon
HICON lug::Window::priv::WindowImpl::_icon {nullptr} |
|
private |
◆ _fullscreen
bool lug::Window::priv::WindowImpl::_fullscreen {false} |
|
private |
◆ _windowCount
uint8_t lug::Window::priv::WindowImpl::_windowCount = 0 |
|
staticprivate |
◆ _fullscreenWindow
WindowImpl * lug::Window::priv::WindowImpl::_fullscreenWindow = nullptr |
|
staticprivate |
◆ _mouseIsIn
bool lug::Window::priv::WindowImpl::_mouseIsIn {false} |
|
private |
Boolean used to know if the mouse is in or out of the screen.
Definition at line 68 of file WindowImplWin32.hpp.
The documentation for this class was generated from the following files: