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
Collaboration diagram for openmsx::WindowEvent:
Collaboration graph

Public Member Functions

 WindowEvent (const SDL_Event &e)
const SDL_WindowEvent & getSdlWindowEvent () const
bool isMainWindow () const
- 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 217 of file Event.hh.

Constructor & Destructor Documentation

◆ WindowEvent()

openmsx::WindowEvent::WindowEvent ( const SDL_Event &  e)

Definition at line 220 of file Event.hh.

Member Function Documentation

◆ getMainWindowId()

static uint32_t openmsx::WindowEvent::getMainWindowId ( )

Definition at line 227 of file Event.hh.

◆ getSdlWindowEvent()

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

Definition at line 222 of file Event.hh.

References openmsx::SdlEvent::evt.

Referenced by openmsx::operator==().

◆ isMainWindow() [1/2]

bool openmsx::WindowEvent::isMainWindow ( ) const

Definition at line 223 of file Event.hh.

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

Referenced by isMainWindow().

◆ isMainWindow() [2/2]

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

Definition at line 228 of file Event.hh.

◆ setMainWindowId()

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

Definition at line 226 of file Event.hh.

References id.

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

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