Files
bobbycar-boardcomputer-firm…/main/guihelpers/bobbydisplaywithtitle.cpp
T
2022-12-25 03:22:28 +01:00

35 lines
803 B
C++

#include "bobbydisplaywithtitle.h"
// local includes
#include "bobbybuttons.h"
namespace bobby {
void BobbyDisplayWithTitle::rawButtonPressed(uint8_t button)
{
//Base::rawButtonPressed(button);
if (const auto translated = translateRawButton(button))
buttonPressed(*translated);
}
void BobbyDisplayWithTitle::rawButtonReleased(uint8_t button)
{
//Base::rawButtonReleased(button);
if (const auto translated = translateRawButton(button))
buttonReleased(*translated);
}
void BobbyDisplayWithTitle::buttonPressed(espgui::Button button)
{
//Base::buttonPressed(button);
buttonPressedCommon(button);
}
void BobbyDisplayWithTitle::buttonReleased(espgui::Button button)
{
//Base::buttonReleased(button);
buttonReleasedCommon(button);
}
} // namespace bobby