2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 14:38:15 +00:00

Removed some duplicated code from chart line view context.

This commit is contained in:
23rd
2023-07-27 01:10:24 +03:00
committed by John Preston
parent 1209bd35c5
commit 788a81df6c
6 changed files with 13 additions and 195 deletions

View File

@@ -20,7 +20,7 @@ namespace Statistic {
class RpMouseWidget;
class PointDetailsWidget;
class ChartLinesFilterWidget;
class LinearChartPainter;
class LinearChartView;
class ChartWidget : public Ui::RpWidget {
public:
@@ -134,9 +134,9 @@ private:
ChartLineViewContext _animatedChartLines;
struct {
std::unique_ptr<LinearChartPainter> main;
std::unique_ptr<LinearChartPainter> footer;
} _linearChartPainter;
std::unique_ptr<LinearChartView> main;
std::unique_ptr<LinearChartView> footer;
} _linearChartView;
struct {
base::unique_qptr<PointDetailsWidget> widget;