// Copyright (c) 2017-2021, Mudita Sp. z.o.o. All rights reserved. // For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md #pragma once #include #include #include namespace gui { class CustomCheckBoxWithLabel : public ListItem { private: gui::CheckBoxWithLabel *checkBoxWithLabel = nullptr; bool initialState = false; public: CustomCheckBoxWithLabel(const std::string &description, bool initialState, const std::function &navBarTemporaryMode = nullptr, const std::function &navBarRestoreFromTemporaryMode = nullptr); bool isChecked(); }; } // namespace gui