ECSTASY
All in the name
Loading...
Searching...
No Matches
ecstasy::integration::event::MouseButtonReleasedEvent Struct Reference

Event describing when a mouse button is released. More...

#include <MouseButtonReleasedEvent.hpp>

Inheritance diagram for ecstasy::integration::event::MouseButtonReleasedEvent:
Collaboration diagram for ecstasy::integration::event::MouseButtonReleasedEvent:

Public Member Functions

constexpr MouseButtonReleasedEvent (Mouse::Button pButton) noexcept
 Construct a new MouseButtonReleasedEvent object.
 
- Public Member Functions inherited from ecstasy::integration::event::MouseButtonEvent
constexpr MouseButtonEvent (Mouse::Button pButton=Mouse::Button::Count, bool pPressed=true) noexcept
 Construct a new MouseButtonEvent object.
 

Additional Inherited Members

- Public Attributes inherited from ecstasy::integration::event::MouseButtonEvent
Mouse::Button button
 target button.
 
bool pressed
 Whether it was pressed or released.
 

Detailed Description

Event describing when a mouse button is released.

Author
Andréas Leroux (andre.nosp@m.as.l.nosp@m.eroux.nosp@m.@epi.nosp@m.tech..nosp@m.eu)
Since
1.0.0 (2022-11-06)

Definition at line 25 of file MouseButtonReleasedEvent.hpp.

Constructor & Destructor Documentation

◆ MouseButtonReleasedEvent()

constexpr ecstasy::integration::event::MouseButtonReleasedEvent::MouseButtonReleasedEvent ( Mouse::Button  pButton)
inlineconstexprnoexcept

Construct a new MouseButtonReleasedEvent object.

Parameters
[in]pButtonTargeted button.
Author
Andréas Leroux (andre.nosp@m.as.l.nosp@m.eroux.nosp@m.@epi.nosp@m.tech..nosp@m.eu)
Since
1.0.0 (2022-11-06)

Definition at line 34 of file MouseButtonReleasedEvent.hpp.

34 : MouseButtonEvent(pButton, false)
35 {
36 }
constexpr MouseButtonEvent(Mouse::Button pButton=Mouse::Button::Count, bool pPressed=true) noexcept
Construct a new MouseButtonEvent object.

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