Blame view

emulateur/epsilon-nofrendo/apps/usb/usb_connected_controller.cpp 732 Bytes
6663b6c9   adorian   projet complet av...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
  #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)
  {
  }
  
  }