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

Forward bar and unread counter added to top bar in OneColumn layout.

This commit is contained in:
John Preston
2016-11-06 20:23:13 +03:00
parent d12177befd
commit b3d1602354
25 changed files with 164 additions and 30 deletions

View File

@@ -253,6 +253,7 @@ public:
return true;
}
void showAnimated(Window::SlideDirection direction, const Window::SectionSlideParams &params);
void showFast();
void step_show(float64 ms, bool timer);
void destroyData();
@@ -307,6 +308,7 @@ private:
void updateLockUnlockVisibility();
void updateControlsGeometry();
void updateMainMenuGeometry();
void updateForwardBar();
bool _dragInScroll = false;
bool _dragForward = false;
@@ -325,6 +327,7 @@ private:
mtpRequestId _dialogsRequest = 0;
mtpRequestId _contactsRequest = 0;
ChildWidget<Ui::IconButton> _forwardCancel = { nullptr };
ChildWidget<Ui::IconButton> _mainMenuToggle;
ChildWidget<Ui::DropdownMenu> _mainMenu = { nullptr };
ChildWidget<FlatInput> _filter;