~aleteoryx/muditaos

ref: 3f29c30bed7884c6b4a10a0a0d13fc2cb2cccc7d muditaos/module-services/service-gui/messages/DrawMessage.cpp -rw-r--r-- 459 bytes
3f29c30b — Piotr Tański [EGD-4968] Change GUI service to optimize flow and memory management 5 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Copyright (c) 2017-2020, Mudita Sp. z.o.o. All rights reserved.
// For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md

#include "DrawMessage.hpp"
#include "GUIMessage.hpp"
#include <Common.hpp>
#include <DrawCommand.hpp>

namespace service::gui
{
    DrawMessage::DrawMessage(std::list<::gui::Command> commands, ::gui::RefreshModes mode)
        : GUIMessage(), mode(mode), commands(std::move(commands))
    {}
} // namespace service::gui