// Copyright (c) 2017-2022, Mudita Sp. z.o.o. All rights reserved. // For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md #pragma once #include "BellBaseLayout.hpp" #include "BellSideListItemStyle.hpp" #include namespace gui { class TextFixedSize; class BellSideListItem : public ListItem { public: void setBottomDescriptionText(const std::string &description); protected: BellSideListItem(); void setupBottomTextBox(const std::string &description); void setupTopTextBox(const std::string &description); BellBaseLayout *body = nullptr; TextFixedSize *bottomText = nullptr; private: void setupTextBox(TextFixedSize *textBox, const std::string &fontName, const std::string &description); }; } /* namespace gui */