25class GHOST_EventWindow;
111 const bool exclusive =
false,
112 const bool is_dialog =
false,
224 void putClipboard(
const char *buffer,
bool selection)
const override;
258 const char *help_label,
259 const char *continue_label,
358 UINT type,
GHOST_WindowWin32 *window, WPARAM wParam, LPARAM lParam,
bool &eventhandled);
392 RAWINPUT
const &raw);
437#ifdef WITH_INPUT_NDOF
445 bool processNDOF(RAWINPUT
const &raw);
466 static LRESULT WINAPI
s_wndProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam);
508 if (s != -1 && (s & 0x600) == 0x600) {
GHOST_TConsoleWindowState
unsigned long long int uint64_t
GHOST_TKey hardKey(RAWINPUT const &raw, bool *r_key_down)
void setTabletAPI(GHOST_TTabletAPI api) override
GHOST_TSuccess putClipboardImage(uint *rgba, int width, int height) const override
GHOST_IWindow * createWindow(const char *title, int32_t left, int32_t top, uint32_t width, uint32_t height, GHOST_TWindowState state, GHOST_GPUSettings gpu_settings, const bool exclusive=false, const bool is_dialog=false, const GHOST_IWindow *parent_window=nullptr) override
GHOST_TKey processSpecialKey(short vKey, short scanCode) const
GHOST_TKey convertKey(short vKey, short ScanCode, short extend) const
GHOST_TSuccess setCursorPosition(int32_t x, int32_t y) override
int wheel_delta_accum_horizontal_
GHOST_TSuccess showMessageBox(const char *title, const char *message, const char *help_label, const char *continue_label, const char *link, GHOST_DialogOptions dialog_options) const override
static void processWheelEventHorizontal(GHOST_WindowWin32 *window, WPARAM wParam, LPARAM lParam)
void getMainDisplayDimensions(uint32_t &width, uint32_t &height) const override
static GHOST_ContextD3D * createOffscreenContextD3D()
static GHOST_TSuccess disposeContextD3D(GHOST_ContextD3D *context)
GHOST_TSuccess hasClipboardImage() const override
static void processWintabEvent(GHOST_WindowWin32 *window)
bool has_performance_counter_
uint64_t performanceCounterToMillis(__int64 perf_ticks) const
static std::unique_ptr< GHOST_EventButton > processButtonEvent(GHOST_TEventType type, GHOST_WindowWin32 *window, GHOST_TButton mask)
uint * getClipboardImage(int *r_width, int *r_height) const override
GHOST_TCapabilityFlag getCapabilities() const override
void initDebug(GHOST_Debug debug) override
char * getClipboard(bool selection) const override
GHOST_TSuccess getCursorPosition(int32_t &x, int32_t &y) const override
uint8_t getNumDisplays() const override
static std::unique_ptr< GHOST_Event > processWindowEvent(GHOST_TEventType type, GHOST_WindowWin32 *window)
GHOST_TSuccess getModifierKeys(GHOST_ModifierKeys &keys) const override
static void processMinMaxInfo(MINMAXINFO *minmax)
static void processWheelEventVertical(GHOST_WindowWin32 *window, WPARAM wParam, LPARAM lParam)
void putClipboard(const char *buffer, bool selection) const override
static std::unique_ptr< GHOST_EventCursor > processCursorEvent(GHOST_WindowWin32 *window, const int32_t screen_co[2])
uint32_t getCursorPreferredLogicalSize() const override
static std::unique_ptr< GHOST_EventKey > processKeyEvent(GHOST_WindowWin32 *window, RAWINPUT const &raw)
void getAllDisplayDimensions(uint32_t &width, uint32_t &height) const override
GHOST_TSuccess init() override
bool setConsoleWindowState(GHOST_TConsoleWindowState action) override
GHOST_TSuccess exit() override
bool processEvents(bool waitForEvent) override
static void processPointerEvent(UINT type, GHOST_WindowWin32 *window, WPARAM wParam, LPARAM lParam, bool &eventhandled)
uint64_t getMilliSeconds() const override
void handleKeyboardChange()
int wheel_delta_accum_vertical_
GHOST_IWindow * getWindowUnderCursor(int32_t, int32_t) override
GHOST_TSuccess getPixelAtCursor(float r_color[3]) const override
static LRESULT WINAPI s_wndProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam)
static std::unique_ptr< GHOST_Event > processWindowSizeEvent(GHOST_WindowWin32 *window)
static GHOST_TSuccess pushDragDropEvent(GHOST_TEventType eventType, GHOST_TDragnDropTypes draggedObjectType, GHOST_WindowWin32 *window, int mouseX, int mouseY, void *data)
GHOST_TSuccess getButtons(GHOST_Buttons &buttons) const override
GHOST_TSuccess disposeContext(GHOST_IContext *context) override
GHOST_IContext * createOffscreenContext(GHOST_GPUSettings gpu_settings) override
ccl_device_inline float2 mask(const MaskType mask, const float2 a)