enum EE::Window::InputEvent::WindowEventType

Overview

#include <inputevent.hpp>

enum WindowEventType {
    WindowShown,
    WindowHidden,
    WindowExposed,
    WindowMoved,
    WindowResized,
    WindowSizeChanged,
    WindowMinimized,
    WindowMaximized,
    WindowRestored,
    WindowMouseEnter,
    WindowMouseLeave,
    WindowKeyboardFocusGain,
    WindowKeyboardFocusLost,
    WindowClose,
    WindowTakeFocus,
    WindowHitTest,
};

Detailed Documentation

Enum Values

WindowShown

Window has been shown

WindowHidden

Window has been hidden

WindowExposed

Window has been exposed and should be redrawn

WindowMoved

Window has been moved to data1, data2

WindowResized

Window has been resized to data1xdata2

WindowSizeChanged

The window size has changed, either as a result of an API call or through the system or user changing the window size.

WindowMinimized

Window has been minimized

WindowMaximized

Window has been maximized

WindowRestored

Window has been restored to normal size and position

WindowMouseEnter

Window has gained mouse focus

WindowMouseLeave

Window has lost mouse focus

WindowKeyboardFocusGain

Window has gained keyboard focus

WindowKeyboardFocusLost

Window has lost keyboard focus

WindowClose

The window manager requests that the window be closed

WindowTakeFocus

Window is being offered a focus (should SetWindowInputFocus() on itself or a subwindow, or ignore)

WindowHitTest

Window had a hit test that wasn’t SDL_HITTEST_NORMAL.