usb_connected_controller.cpp
732 Bytes
#include "usb_connected_controller.h"
#include "../i18n.h"
namespace USB {
static I18n::Message sUSBConnectedMessages[] = {
I18n::Message::USBConnected,
I18n::Message::ConnectedMessage1,
I18n::Message::ConnectedMessage2,
I18n::Message::ConnectedMessage3,
I18n::Message::BlankMessage,
I18n::Message::ConnectedMessage4,
I18n::Message::ConnectedMessage5,
I18n::Message::ConnectedMessage6};
static KDColor sUSBConnectedColors[] = {
KDColorBlack,
KDColorBlack,
KDColorBlack,
Palette::YellowDark,
KDColorWhite,
KDColorBlack,
KDColorBlack,
KDColorBlack};
USBConnectedController::USBConnectedController() :
ViewController(nullptr),
m_messageView(sUSBConnectedMessages, sUSBConnectedColors, 8)
{
}
}