forked from Green-Sky/tomato
screen concept
This commit is contained in:
23
src/start_screen.cpp
Normal file
23
src/start_screen.cpp
Normal file
@ -0,0 +1,23 @@
|
||||
#include "./start_screen.hpp"
|
||||
|
||||
#include "./main_screen.hpp"
|
||||
|
||||
#include <memory>
|
||||
|
||||
StartScreen::StartScreen(void) {
|
||||
}
|
||||
|
||||
Screen* StartScreen::poll(bool&) {
|
||||
|
||||
// TODO: imgui tox profile selector?
|
||||
// +------------------------
|
||||
// | +------+ +--------
|
||||
// | | ICON | | fileselector/dropdown?
|
||||
// | | | | password input
|
||||
// | +------+ +--------
|
||||
// +------------------------
|
||||
|
||||
auto new_screen = std::make_unique<MainScreen>("tomato.tox");
|
||||
return new_screen.release();
|
||||
}
|
||||
|
Reference in New Issue
Block a user