[EGD-5398] Added onBoarding application first version

Created first version of onBoarding application. Added welcome
window, configuration start window and adopted language
window. Small Icon GUI refactor. AppManager language copy removed.
This commit is contained in:
Przemyslaw Brudny
2021-02-08 15:38:13 +01:00
committed by PrzeBrudny
parent 4ebfd8ebbb
commit d0200de5d5
30 changed files with 490 additions and 143 deletions

View File

@@ -19,6 +19,7 @@
#include <module-apps/windows/OptionWindow.hpp>
#include <module-apps/windows/Dialog.hpp>
#include <module-services/service-db/service-db/DBNotificationMessage.hpp>
#include <utility>
namespace app
{
@@ -28,7 +29,7 @@ namespace app
} // namespace
ApplicationNotes::ApplicationNotes(std::string name, std::string parent, StartInBackground startInBackground)
: Application(name, parent, startInBackground, NotesStackSize)
: Application(std::move(name), std::move(parent), startInBackground, NotesStackSize)
{
bus.channels.push_back(sys::BusChannel::ServiceDBNotifications);
}
@@ -43,8 +44,7 @@ namespace app
}
if (msgl->messageType == MessageType::DBServiceNotification) {
auto msg = dynamic_cast<db::NotificationMessage *>(msgl);
if (msg != nullptr) {
if (auto msg = dynamic_cast<db::NotificationMessage *>(msgl); msg != nullptr) {
// window-specific actions
if (msg->interface == db::Interface::Name::Notes) {
for (auto &[name, window] : windowsStack) {