2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 06:35:14 +00:00

Unite InputField and InputArea.

Also support and use instant replaces in InputField-s.
This commit is contained in:
John Preston
2018-05-20 20:42:30 +03:00
parent 8e442563f2
commit 30dd8fe070
22 changed files with 771 additions and 1271 deletions

View File

@@ -13,7 +13,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
namespace Ui {
class IconButton;
class RoundButton;
class InputArea;
class InputField;
} // namespace Ui
namespace Window {
@@ -233,7 +233,7 @@ private:
object_ptr<Ui::IconButton> _close;
object_ptr<Ui::RoundButton> _reply;
object_ptr<Background> _background = { nullptr };
object_ptr<Ui::InputArea> _replyArea = { nullptr };
object_ptr<Ui::InputField> _replyArea = { nullptr };
object_ptr<Ui::IconButton> _replySend = { nullptr };
bool _waitingForInput = true;