openMSX
Public Member Functions | Static Public Member Functions | List of all members
openmsx::WindowEvent Class Reference

#include <Event.hh>

Inheritance diagram for openmsx::WindowEvent:
Inheritance graph
[legend]
Collaboration diagram for openmsx::WindowEvent:
Collaboration graph
[legend]

Public Member Functions

const SDL_WindowEvent & getSdlWindowEvent () const
 
bool isMainWindow () const
 
 SdlEvent (const SDL_Event &e)
 
- Public Member Functions inherited from openmsx::SdlEvent
 SdlEvent (const SDL_Event &e)
 
const SDL_Event & getSdlEvent () const
 
const SDL_CommonEvent & getCommonSdlEvent () const
 

Static Public Member Functions

static void setMainWindowId (uint32_t id)
 
static uint32_t getMainWindowId ()
 
static bool isMainWindow (unsigned id)
 

Additional Inherited Members

- Protected Attributes inherited from openmsx::SdlEvent
SDL_Event evt
 

Detailed Description

Definition at line 208 of file Event.hh.

Member Function Documentation

◆ getMainWindowId()

static uint32_t openmsx::WindowEvent::getMainWindowId ( )
inlinestatic

Definition at line 218 of file Event.hh.

◆ getSdlWindowEvent()

const SDL_WindowEvent & openmsx::WindowEvent::getSdlWindowEvent ( ) const
inline

Definition at line 213 of file Event.hh.

References openmsx::SdlEvent::evt.

Referenced by openmsx::operator==().

◆ isMainWindow() [1/2]

bool openmsx::WindowEvent::isMainWindow ( ) const
inline

Definition at line 214 of file Event.hh.

References openmsx::SdlEvent::evt, and isMainWindow().

Referenced by isMainWindow().

◆ isMainWindow() [2/2]

static bool openmsx::WindowEvent::isMainWindow ( unsigned  id)
inlinestatic

Definition at line 219 of file Event.hh.

◆ SdlEvent()

openmsx::SdlEvent::SdlEvent ( const SDL_Event &  e)
inlineexplicit

Definition at line 32 of file Event.hh.

◆ setMainWindowId()

static void openmsx::WindowEvent::setMainWindowId ( uint32_t  id)
inlinestatic

Definition at line 217 of file Event.hh.

References id.

Referenced by openmsx::VisibleSurface::VisibleSurface().


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