mirror of
https://github.com/Qz3rK/tdesktop.git
synced 2026-07-03 14:15:08 +02:00
Added ability to count sections widths of slider from derived class.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user