libultraship
Reimplementations of libultra (N64 SDK) functions for modern hardware
Loading...
Searching...
No Matches
Fast::WindowEvent Union Reference

Platform-agnostic wrapper around a window system event. More...

#include <WindowEvent.h>

Public Attributes

struct { 
 
   void *   Handle 
 HWND. More...
 
   int   Msg 
 Windows message ID. More...
 
   int   Param1 
 WPARAM. More...
 
   int   Param2 
 LPARAM. More...
 
Win32 
 
struct { 
 
   void *   Event 
 SDL_Event*. More...
 
Sdl 
 
struct { 
 
   void *   Input 
 GX2 input structure pointer. More...
 
Gx2 
 

Detailed Description

Platform-agnostic wrapper around a window system event.

Constructed by the Fast3D backends (gfx_sdl2, gfx_dxgi) and passed to Fast3dGui::HandleWindowEvents() so that the ImGui backend can process input events without the ship layer depending on any Fast3D or platform-specific type.

Member Data Documentation

◆ Event

void* Fast::WindowEvent::Event

SDL_Event*.

◆ [struct]

struct { ... } Fast::WindowEvent::Gx2

◆ Handle

void* Fast::WindowEvent::Handle

HWND.

◆ Input

void* Fast::WindowEvent::Input

GX2 input structure pointer.

◆ Msg

int Fast::WindowEvent::Msg

Windows message ID.

◆ Param1

int Fast::WindowEvent::Param1

WPARAM.

◆ Param2

int Fast::WindowEvent::Param2

LPARAM.

◆ [struct]

struct { ... } Fast::WindowEvent::Sdl

◆ [struct]

struct { ... } Fast::WindowEvent::Win32

The documentation for this union was generated from the following file: