Added ability to count sections widths of slider from derived class.

This commit is contained in:
23rd 2024-10-31 08:36:06 +03:00
parent 76b1288f77
commit 3699439506

View file

@ -127,13 +127,14 @@ protected:
void startRipple(int sectionIndex) override;
std::vector<float64> countSectionsWidths(int newWidth) const;
private:
const style::TextStyle &getLabelStyle() const override;
int getAnimationDuration() const override;
QImage prepareRippleMask(int sectionIndex, const Section &section);
void resizeSections(int newWidth);
std::vector<float64> countSectionsWidths(int newWidth) const;
const style::SettingsSlider &_st;
std::optional<Ui::RoundRect> _bar;