mirror of
https://github.com/mudita/MuditaOS.git
synced 2026-07-04 05:06:58 -04:00
44 lines
1.1 KiB
C++
44 lines
1.1 KiB
C++
/*
|
|
* @file EnterNumberWindow.hpp
|
|
* @author Robert Borzecki (robert.borzecki@mudita.com)
|
|
* @date 1 lip 2019
|
|
* @brief
|
|
* @copyright Copyright (C) 2019 mudita.com
|
|
* @details
|
|
*/
|
|
#ifndef MODULE_APPS_APPLICATION_CALL_WINDOWS_ENTERNUMBERWINDOW_HPP_
|
|
#define MODULE_APPS_APPLICATION_CALL_WINDOWS_ENTERNUMBERWINDOW_HPP_
|
|
|
|
#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"
|
|
|
|
namespace gui {
|
|
|
|
/*
|
|
*
|
|
*/
|
|
class EnterNumberWindow: public AppWindow {
|
|
protected:
|
|
gui::Label* numberLabel = nullptr;
|
|
|
|
void updateBottomBar();
|
|
public:
|
|
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 */
|
|
|
|
#endif /* MODULE_APPS_APPLICATION_CALL_WINDOWS_ENTERNUMBERWINDOW_HPP_ */
|