23rd
aeb593dd77
Slightly refactored StickersBox class.
2023-08-30 14:50:00 +03:00
John Preston
39a80c6604
Improve sticker sets box design.
2023-08-10 18:19:00 +03:00
John Preston
65afa2c402
Detach ComposeControls from SessionController.
2023-05-17 15:51:52 +04:00
John Preston
fede1ff173
Simplify stickers inner API.
2022-08-15 11:34:22 +03:00
John Preston
e64190fb64
Fix crash in attached emoji preview.
2022-07-27 12:26:22 +03:00
John Preston
bb7249f280
Allow viewing emoji sets used in a message.
2022-07-26 20:12:12 +03:00
23rd
7bebe699f6
Moved special fields to separated folder.
2022-04-01 15:53:57 +04:00
23rd
5718789d53
Replaced Ui::InformBox and Ui::ConfirmBox with GenericBox.
2022-02-28 09:08:01 +03:00
John Preston
38ee57f852
Don't jump to top in StickersBox on stickersUpdated.
2021-12-31 16:50:43 +03:00
23rd
80461bd9fe
Moved ConfirmBox to Ui namespace.
2021-10-19 06:34:27 +03:00
John Preston
4276b6cce0
Use rpl for Window::Theme::Background updates.
2021-07-15 16:42:36 +03:00
23rd
e7104b5ebe
Added support for archived masks.
2021-07-06 12:13:05 +03:00
23rd
2d17bd02a3
Moved mask management to separate box.
2021-07-06 12:13:05 +03:00
23rd
70f92a7817
Added initial masks tab to manage stickers box.
2021-07-06 12:13:05 +03:00
John Preston
68b0a85369
Rename RPCError to MTP::Error.
2021-03-12 16:58:26 +04:00
John Preston
30c82bb2e0
Remove some MainWindow::sessionController() calls.
2020-06-23 21:53:44 +04:00
John Preston
0ad7dcaef9
Remove MTP::MainInstance() global access point.
2020-06-23 21:53:40 +04:00
John Preston
fc174f742a
Move stickers code to Data::Stickers class.
2020-06-23 21:53:38 +04:00
John Preston
ae9ed820ee
Fix sticker set icons display.
2020-06-01 18:09:33 +04:00
John Preston
803593cd8d
Change Stickers::Set from value to object type.
2020-06-01 18:09:33 +04:00
John Preston
33f4946242
Start using document bytes from DocumentMedia.
2020-06-01 18:09:30 +04:00
John Preston
e943264823
Pass MTP::Instance to MTP::Sender.
2019-11-29 15:36:05 +03:00
John Preston
a6c84c36c0
Use layers and boxes from lib_ui.
2019-10-19 12:27:52 +04:00
John Preston
849deb57e2
Move many widget classes to lib_ui.
2019-10-01 23:59:46 +03:00
John Preston
4bad642190
Remove some more Auth() calls.
2019-08-09 11:50:49 +01:00
John Preston
76630528f7
Show animated thumbnails in sets box.
2019-07-02 15:20:04 +02:00
John Preston
99bb09374d
Use new animations engine everywhere.
2019-04-02 14:33:53 +04:00
John Preston
a6e96f9a28
Use new animations engine in all Basic-s.
2019-04-02 14:33:53 +04:00
John Preston
4ba959e6e1
Use sticker set thumbnails in StickersBox.
2019-03-24 12:12:45 +04:00
23rd
f48d8538c0
Added ability to see attached stickers on photos.
2019-03-10 22:10:36 +04:00
John Preston
fe618bd652
Use crl::time/now instead of TimeMs/getms.
2019-02-19 11:06:33 +04:00
John Preston
839885910c
Pass FileOrigin in all file downloads.
2018-08-20 17:26:28 +03:00
John Preston
dd81f5d59f
Replace base::lambda with shorter term.
...
base::lambda -> Fn (type alias for std::function).
base::lambda_once -> FnMut (type alias for base::unique_function).
base::lambda_guarded -> crl::guard.
base::lambda_call_type_t -> crl::deduced_call_type.
2018-06-04 18:38:27 +03:00
John Preston
ea7441ae77
Use single LEGAL file with license and copyright.
2018-01-03 13:23:14 +03:00
John Preston
554eb3a342
Move stickers state variables to AuthSessionData.
...
Also allow to click on the selected set when choosing megagroup
sticker set and allow to paste a t.me link to the set there.
2017-11-16 07:59:09 +04:00
John Preston
d1687ab963
Improve info wrapping in section / layer.
...
Also move layerwidget to window/layer_widget.
Also replace ui/effects/widget_fade_wrap with ui/wrap/fade_wrap.
2017-11-16 07:59:05 +04:00
John Preston
c302219f9e
Use rpl in some widgets and effects.
2017-11-16 07:59:02 +04:00
John Preston
d46a5f693f
Remove unused lang phrases and some code.
2017-09-28 19:18:27 +03:00
John Preston
b3da99c302
Replace gsl::not_null<T*> with just not_null<T*>.
2017-08-30 19:15:41 +03:00
John Preston
0bea2620b5
Replace BoxContent::closeHook() with boxClosing.
2017-08-30 19:15:24 +03:00
John Preston
fa818407e6
Improve group sticker set setup box.
2017-08-25 14:39:25 +03:00
John Preston
f04b25ea26
Allow setting group stickers set.
2017-08-25 14:39:19 +03:00
John Preston
5444b8166c
Finalize rename / move of files.
2017-04-07 18:13:18 +03:00
John Preston
c207743338
Made base::lambda a copyable value type.
...
Now base::lambda can be copied and can wrap any immutable lambda.
For mutable lambdas there is base::lambda_once (which you're
supposed to call only once to pass data through lambda captures,
for example by using std::unique_ptr). Generally base::lambda is
passed by value and base::lambda_once is passed by rvalue reference.
2017-02-26 21:01:23 +03:00
John Preston
ffc557a0f9
Using standard library instead of std_ namespace.
...
Currently tested only in VS2015.
2017-02-21 16:45:56 +03:00
John Preston
25583fa813
Replace T_WIDGET macro with a template base class.
2017-02-11 14:24:37 +03:00
John Preston
7fb1463c43
Version 1.0 stable: bump copyright date to 2017.
2017-01-11 23:02:13 +04:00
John Preston
1d895cd953
Closed beta 10020004: stickers box fixed, manage admins box fixed.
2016-12-30 17:53:03 +04:00
John Preston
2436ad74bd
Boxes redesigned. Common groups moved to Shared Media.
...
Also transparent images sending fixed.
2016-12-30 17:52:56 +04:00
John Preston
47977009b8
Moved FloatAnimation->Animation, Animation->BasicAnimation.
2016-12-30 17:52:48 +04:00