mirror of
https://github.com/mudita/MuditaOS.git
synced 2026-07-04 13:17:08 -04:00
* 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
46 lines
1.0 KiB
C++
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 */
|
|
|