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

Export panel minimizes to a top bar, like a Call.

This commit is contained in:
John Preston
2018-06-20 01:02:36 +01:00
parent eaf3ea9289
commit 329db0d8e9
22 changed files with 437 additions and 127 deletions

View File

@@ -26,13 +26,6 @@ struct FormRequest;
class FormController;
} // namespace Passport
namespace Export {
class ControllerWrap;
namespace View {
class PanelController;
} // namespace View
} // namespace Export
namespace Window {
class LayerWidget;
@@ -215,8 +208,6 @@ public:
void showPassportForm(const Passport::FormRequest &request);
void clearPassportForm();
void startDataExport();
base::Variable<bool> &dialogsListFocused() {
return _dialogsListFocused;
}
@@ -260,13 +251,10 @@ private:
int dialogsWidth,
int thirdWidth,
int bodyWidth) const;
void clearDataExport();
not_null<MainWindow*> _window;
std::unique_ptr<Passport::FormController> _passportForm;
std::unique_ptr<Export::ControllerWrap> _export;
std::unique_ptr<Export::View::PanelController> _exportPanel;
GifPauseReasons _gifPauseReasons = 0;
base::Observable<void> _gifPauseLevelChanged;