Max OS 0.3
Loading...
Searching...
No Matches
MaxOS::gui::widgets::ButtonReleasedEvent Class Reference

Event that is triggered when a button is released. More...

#include <button.h>

Inheritance diagram for MaxOS::gui::widgets::ButtonReleasedEvent:
MaxOS::common::Event< ButtonEvents >

Public Member Functions

 ButtonReleasedEvent (Button *)
 Construct a new Button Released Event object.
 
- Public Member Functions inherited from MaxOS::common::Event< ButtonEvents >
 Event (ButtonEvents type)
 Constructs a new Event object.
 

Public Attributes

Buttonsource
 The button that triggered the event.
 
- Public Attributes inherited from MaxOS::common::Event< ButtonEvents >
ButtonEvents type
 
uint8_tbuffer_value
 
uint32_t int_value
 
bool bool_value
 
union { 
 
   uint8_t *   buffer_value 
 
   uint32_t   int_value 
 
   bool   bool_value 
 
return_value 
 

Detailed Description

Event that is triggered when a button is released.

Definition at line 48 of file button.h.

Constructor & Destructor Documentation

◆ ButtonReleasedEvent()

ButtonReleasedEvent::ButtonReleasedEvent ( Button source)
explicit

Construct a new Button Released Event object.

Parameters
sourceThe button that triggered the event

Definition at line 196 of file button.cpp.

197: Event(ButtonEvents::RELEASED),
199{
200
201}
Used to store information about an event, has a type and a return value.
Button * source
The button that triggered the event.
Definition button.h:53

Member Data Documentation

◆ source

Button* MaxOS::gui::widgets::ButtonReleasedEvent::source

The button that triggered the event.

Definition at line 53 of file button.h.


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