Numworks Epsilon  1.4.1
Graphing Calculator Operating System
message_controller.cpp
Go to the documentation of this file.
1 #include "message_controller.h"
2 #include "../apps_container.h"
3 
4 MessageController::MessageController(I18n::Message * messages, KDColor * colors, uint8_t numberOfMessages) :
5  ViewController(nullptr),
6  m_messageViewWithSkip(messages, colors, numberOfMessages)
7 {
8 }
9 
11  if (event != Ion::Events::Back && event != Ion::Events::OnOff && event != Ion::Events::Home) {
13  return true;
14  }
15  return false;
16 }
constexpr Event Home
Definition: events.h:68
unsigned char uint8_t
Definition: stdint.h:4
constexpr Event Back
Definition: events.h:66
constexpr Event OnOff
Definition: events.h:69
Definition: color.h:6
bool handleEvent(Ion::Events::Event event) override
App * app()
Definition: responder.cpp:77
void dismissModalViewController()
Definition: app.cpp:93
MessageController(I18n::Message *messages, KDColor *colors, uint8_t numberOfMessages)