mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-15 13:47:05 +02:00
Added ability to count sections widths of slider from derived class.
This commit is contained in:
parent
76b1288f77
commit
3699439506
1 changed files with 2 additions and 1 deletions
|
@ -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 §ion);
|
||||
|
||||
void resizeSections(int newWidth);
|
||||
std::vector<float64> countSectionsWidths(int newWidth) const;
|
||||
|
||||
const style::SettingsSlider &_st;
|
||||
std::optional<Ui::RoundRect> _bar;
|
||||
|
|
Loading…
Add table
Reference in a new issue