/*********************************************************************************/
/********** THIS FILE IS GENERATED BY TOUCHGFX DESIGNER, DO NOT MODIFY ***********/
/*********************************************************************************/
#ifndef RUNPAGEVIEWBASE_HPP
#define RUNPAGEVIEWBASE_HPP

#include <gui/common/FrontendApplication.hpp>
#include <mvp/View.hpp>
#include <gui/runpage_screen/RunPagePresenter.hpp>
#include <touchgfx/widgets/TiledImage.hpp>
#include <touchgfx/widgets/TextArea.hpp>
#include <touchgfx/widgets/ButtonWithLabel.hpp>

class RunPageViewBase : public touchgfx::View<RunPagePresenter>
{
public:
    RunPageViewBase();
    virtual ~RunPageViewBase() {}
    virtual void setupScreen();

protected:
    FrontendApplication& application() {
        return *static_cast<FrontendApplication*>(touchgfx::Application::getInstance());
    }

    /*
     * Member Declarations
     */
    touchgfx::TiledImage StartPage;
    touchgfx::TextArea textArea1;
    touchgfx::ButtonWithLabel buttonWithLabel1;

private:

    /*
     * Callback Declarations
     */
    touchgfx::Callback<RunPageViewBase, const touchgfx::AbstractButton&> buttonCallback;

    /*
     * Callback Handler Declarations
     */
    void buttonCallbackHandler(const touchgfx::AbstractButton& src);

};

#endif // RUNPAGEVIEWBASE_HPP
