2023-07-26 12:24:18 +02:00
|
|
|
#include "./start_screen.hpp"
|
|
|
|
|
|
|
|
#include "./main_screen.hpp"
|
|
|
|
|
|
|
|
#include <memory>
|
|
|
|
|
|
|
|
StartScreen::StartScreen(void) {
|
|
|
|
}
|
|
|
|
|
|
|
|
Screen* StartScreen::poll(bool&) {
|
|
|
|
|
|
|
|
// TODO: imgui tox profile selector?
|
2023-07-26 12:55:50 +02:00
|
|
|
// +----------------------------
|
|
|
|
// | |*tox profile*| plugins |
|
2023-07-26 12:24:18 +02:00
|
|
|
// | +------+ +--------
|
|
|
|
// | | ICON | | fileselector/dropdown?
|
|
|
|
// | | | | password input
|
|
|
|
// | +------+ +--------
|
2023-07-26 12:55:50 +02:00
|
|
|
// +----------------------------
|
2023-07-26 12:24:18 +02:00
|
|
|
|
|
|
|
auto new_screen = std::make_unique<MainScreen>("tomato.tox");
|
|
|
|
return new_screen.release();
|
|
|
|
}
|
|
|
|
|