Files
MuditaOS/module-apps/application-call/windows/EnterNumberWindow.hpp
Alek-Mudita 1c6701ff2a Egd 516 enter number window (#89)
* EGD-516 fixed layout in enterwindow.
Gently refactor the code.
Minor enhancments.

* EGD-516 removed reinterpret casts from enterwindow

* EGD-516 added new contact icon

* EGD-516 added missing font and new Icon widget.

* EGD-516 fixed icon label alignment

* EGD-516 minor icon changes

* EGD-516 add CallAppStyle

* EGD-516 added icon styl to callappstyle
2019-11-27 14:15:40 +01:00

46 lines
1.0 KiB
C++

/*
* @file EnterNumberWindow.hpp
* @author Robert Borzecki (robert.borzecki@mudita.com)
* @date 1 lip 2019
* @brief
* @copyright Copyright (C) 2019 mudita.com
* @details
*/
#pragma once
#include "AppWindow.hpp"
#include "gui/widgets/Label.hpp"
#include "gui/widgets/Image.hpp"
#include "gui/widgets/Window.hpp"
#include "gui/widgets/BottomBar.hpp"
#include "gui/widgets/TopBar.hpp"
#include "../widgets/Icon.hpp"
namespace gui {
/*
*
*/
class EnterNumberWindow: public AppWindow {
protected:
gui::Label* numberLabel = nullptr;
gui::Icon * newContactIcon = nullptr;
void setNumberLabel(const std::string num);
public:
EnterNumberWindow() = delete;
EnterNumberWindow(app::Application *app, std::string windowName = "EnterNumberWindow");
virtual ~EnterNumberWindow();
bool onInput( const InputEvent& inputEvent ) override;
bool handleSwitchData( SwitchData* data ) override;
void rebuild() override;
void buildInterface() override;
void destroyInterface() override;
};
} /* namespace gui */