~aleteoryx/muditaos

ref: 90a10cd2657d8cc2e357dabcc432d4083da0637f muditaos/module-services/service-gui/messages/DrawMessage.cpp -rw-r--r-- 477 bytes
90a10cd2 — Maciej Gibowicz [MOS-360] Fix battery charger stack overflow 3 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Copyright (c) 2017-2021, Mudita Sp. z.o.o. All rights reserved.
// For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md

#include <messages/DrawMessage.hpp>
#include <messages/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