2 #include "../apps_container.h"     7 UpdateController::MessageViewWithSkip::MessageViewWithSkip(I18n::Message * messages, 
KDColor * colors, 
uint8_t numberOfMessages) :
     9   m_skipView(
KDText::FontSize::Small, 
I18n::Message::Skip, 1.0f, 0.5f),
    14 int UpdateController::MessageViewWithSkip::numberOfSubviews()
 const {
    18 View * UpdateController::MessageViewWithSkip::subviewAtIndex(
int index) {
    20   if (index < numberOfMainMessages) {
    23   if (index == numberOfMainMessages) {
    26   if (index == numberOfMainMessages + 1) {
    33 void UpdateController::MessageViewWithSkip::layoutSubviews() {
    40   KDSize okSize = m_okView.minimalSizeForOptimalDisplay();
    41   m_skipView.setFrame(
KDRect(0, height-k_bottomMargin-textHeight, width-okSize.
width()-k_okMargin-k_skipMargin, textHeight));
    42   m_okView.setFrame(
KDRect(width - okSize.
width()-k_okMargin, height-okSize.
height()-k_okMargin, okSize));
    45 static I18n::Message sOnBoardingMessages[] = {
    46   I18n::Message::UpdateAvailable,
    47   I18n::Message::UpdateMessage1,
    48   I18n::Message::UpdateMessage2,
    49   I18n::Message::BlankMessage,
    50   I18n::Message::UpdateMessage3,
    51   I18n::Message::UpdateMessage4};
    53 static KDColor sOnBoardingColors[] = {
    63   m_messageViewWithSkip(sOnBoardingMessages, sOnBoardingColors, 6)
 bool handleEvent(Ion::Events::Event event) override
 
static constexpr KDColor YellowDark
 
int numberOfSubviews() const override
 
virtual App::Snapshot * appSnapshotAtIndex(int index)=0
 
void switchTo(App::Snapshot *snapshot) override
 
constexpr KDCoordinate width() const
 
View * subviewAtIndex(int index) override
 
constexpr KDColor KDColorWhite
 
App::Snapshot * onBoardingAppSnapshot()
 
constexpr KDColor KDColorBlack
 
const Container * container() const
 
void layoutSubviews() override
 
static constexpr KDSize charSize(FontSize size=FontSize::Large)
 
void refreshPreferences()
 
void dismissModalViewController()
 
constexpr KDCoordinate height() const