OpenEnroth 73e68f7
Loading...
Searching...
No Matches
Public Member Functions | Private Member Functions | Private Attributes | List of all members
OverlayEventHandler Class Reference

#include <OverlayEventHandler.h>

Inheritance diagram for OverlayEventHandler:
PlatformEventFilter

Public Member Functions

 OverlayEventHandler ()
 
- Public Member Functions inherited from PlatformEventFilter
 PlatformEventFilter (std::initializer_list< PlatformEventType > eventTypes)
 
 PlatformEventFilter (PlatformEventWildcard eventTypes)
 
virtual bool event (const PlatformEvent *event)
 
const std::vector< PlatformEventTypeeventTypes () const
 

Private Member Functions

virtual bool keyPressEvent (const PlatformKeyEvent *event) override
 
virtual bool keyReleaseEvent (const PlatformKeyEvent *event) override
 
virtual bool mousePressEvent (const PlatformMouseEvent *event) override
 
virtual bool mouseReleaseEvent (const PlatformMouseEvent *event) override
 
virtual bool wheelEvent (const PlatformWheelEvent *event) override
 
virtual bool nativeEvent (const PlatformNativeEvent *event) override
 
bool keyEvent (PlatformKey key, PlatformModifiers mods, bool down)
 
bool mouseEvent (PlatformMouseButton button, const Pointi &pos, bool down)
 

Private Attributes

struct nk_context * _context
 

Additional Inherited Members

- Protected Member Functions inherited from PlatformEventFilter
virtual bool keyPressEvent (const PlatformKeyEvent *event)
 
virtual bool keyReleaseEvent (const PlatformKeyEvent *event)
 
virtual bool mouseMoveEvent (const PlatformMouseEvent *event)
 
virtual bool mousePressEvent (const PlatformMouseEvent *event)
 
virtual bool mouseReleaseEvent (const PlatformMouseEvent *event)
 
virtual bool wheelEvent (const PlatformWheelEvent *event)
 
virtual bool moveEvent (const PlatformMoveEvent *event)
 
virtual bool resizeEvent (const PlatformResizeEvent *event)
 
virtual bool activationEvent (const PlatformWindowEvent *event)
 
virtual bool closeEvent (const PlatformWindowEvent *event)
 
virtual bool gamepadConnectionEvent (const PlatformGamepadEvent *event)
 
virtual bool gamepadKeyPressEvent (const PlatformGamepadKeyEvent *event)
 
virtual bool gamepadKeyReleaseEvent (const PlatformGamepadKeyEvent *event)
 
virtual bool gamepadAxisEvent (const PlatformGamepadAxisEvent *event)
 
virtual bool nativeEvent (const PlatformNativeEvent *event)
 
virtual bool textInputEvent (const PlatformTextInputEvent *event)
 

Constructor & Destructor Documentation

◆ OverlayEventHandler()

OverlayEventHandler::OverlayEventHandler ( )

Member Function Documentation

◆ keyEvent()

bool OverlayEventHandler::keyEvent ( PlatformKey  key,
PlatformModifiers  mods,
bool  down 
)
private

◆ keyPressEvent()

bool OverlayEventHandler::keyPressEvent ( const PlatformKeyEvent event)
overrideprivatevirtual

Reimplemented from PlatformEventFilter.

◆ keyReleaseEvent()

bool OverlayEventHandler::keyReleaseEvent ( const PlatformKeyEvent event)
overrideprivatevirtual

Reimplemented from PlatformEventFilter.

◆ mouseEvent()

bool OverlayEventHandler::mouseEvent ( PlatformMouseButton  button,
const Pointi pos,
bool  down 
)
private

◆ mousePressEvent()

bool OverlayEventHandler::mousePressEvent ( const PlatformMouseEvent event)
overrideprivatevirtual

Reimplemented from PlatformEventFilter.

◆ mouseReleaseEvent()

bool OverlayEventHandler::mouseReleaseEvent ( const PlatformMouseEvent event)
overrideprivatevirtual

Reimplemented from PlatformEventFilter.

◆ nativeEvent()

bool OverlayEventHandler::nativeEvent ( const PlatformNativeEvent event)
overrideprivatevirtual

Reimplemented from PlatformEventFilter.

◆ wheelEvent()

bool OverlayEventHandler::wheelEvent ( const PlatformWheelEvent event)
overrideprivatevirtual

Reimplemented from PlatformEventFilter.

Member Data Documentation

◆ _context

struct nk_context* OverlayEventHandler::_context
private

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