mirror of
https://github.com/mudita/MuditaOS.git
synced 2026-05-03 21:33:57 -04:00
[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:
committed by
PrzeBrudny
parent
4ebfd8ebbb
commit
d0200de5d5
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user