/* This file is part of Kotatogram Desktop, the unofficial app based on Telegram Desktop. For license and copyright information please follow this link: https://github.com/kotatogram/kotatogram-desktop/blob/dev/LEGAL */ #pragma once #include "ui/layers/box_content.h" namespace Ui { class VerticalLayout; class Checkbox; class InputField; class LabelSimple; class MediaSlider; } // namespace Ui class RpFontListView; class FontsBox : public Ui::BoxContent { public: FontsBox(QWidget* parent); protected: void prepare() override; void setInnerFocus() override; private: void save(); void resetToDefault(); object_ptr _owned; not_null _content; QPointer _semiboldIsBold; QPointer _monospacedFontName; QPointer _monospacedFontList; QPointer _fontSizeLabel; QPointer _fontSizeSlider; int _fontSize; };