John Preston
8d3f5820ca
Allow TabbedSelector with only emoji.
2018-11-22 14:30:48 +04:00
John Preston
ef4f0168f8
Remove Qt MOC dependency for tabbed selector.
2018-11-22 10:50:41 +04:00
John Preston
595134cab5
Move image-related modules to ui/image/.
2018-11-04 15:51:37 +04:00
John Preston
c913c77fef
Refresh file references when sending stickers.
2018-08-20 17:26:28 +03:00
John Preston
6a9556d42c
Move non-settings session data to Data::Session.
...
Rename AuthSessionData to AuthSessionSettings, move data away.
2018-02-08 12:20:46 +03:00
John Preston
ea7441ae77
Use single LEGAL file with license and copyright.
2018-01-03 13:23:14 +03:00
John Preston
2569df9e5a
Rename some Ui methods.
...
myEnsureResized -> Ui::SendPendingMoveResizeEvents.
myGrab -> Ui::GrabWidget.
myGrabImage -> Ui::GrabWidgetToImage.
2017-12-26 19:20:08 +03:00
John Preston
8e45b09083
Use different indentation for rpl operators.
...
It works better with Visual Studio IDE.
2017-12-26 19:20:07 +03:00
John Preston
f6ba59ed14
Improve group stickers choose process.
...
Allow to choose from featured if used has no his own sets.
Allow to choose group sticker set from group info box.
2017-11-22 13:31:02 +04:00
John Preston
defa0ae4d0
Improve stickers list variable width support.
2017-11-16 07:59:12 +04:00
John Preston
0255d0c59e
Support any size in the tabbed selector.
2017-11-16 07:59:10 +04: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
5cc7cb1d85
Allow empty arg list in rpl next/error handlers.
2017-11-16 07:59:05 +04:00
John Preston
086e46c162
Add and use only rpl::start_with_*() methods.
2017-11-16 07:59:05 +04:00
John Preston
1a0e524b49
Optimize third column (create it only once).
...
Before historyPeer and historyPeerCanWrite were independent, so we
created a new Info section for both of them changing.
Now we use Data::CanWriteValue(peer) and rpl::flatten_latest().
2017-11-16 07:59:04 +04:00
John Preston
766e7dadb1
Use improved rpl::start().
2017-11-16 07:59:03 +04:00
John Preston
5e7aa4ff81
Move third column from HistoryWidget to MainWidget.
2017-11-16 07:59:03 +04:00
John Preston
c302219f9e
Use rpl in some widgets and effects.
2017-11-16 07:59:02 +04:00
John Preston
25ffaaaa2d
Replace t_assert() with Assert().
...
Also use this assertions for Expects(), Ensures() and Unexpected().
2017-08-30 19:15:42 +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
ab35829358
Remove App::app(), App::uploader(), App::api().
...
Also use Auth() instead of AuthSession::Current*().
2017-08-25 14:39:18 +03:00
John Preston
cb5b6d0cb8
Add megagroup stickerset to StickersListWidget.
2017-08-25 14:39:13 +03:00
John Preston
667eb288d7
Add faved stickers set loading and saving.
...
Also move stickers loading methods to ApiWrap.
2017-08-25 12:58:13 +03:00
John Preston
9bf40c927e
Improve emoji suggestions and replace on send.
...
Bring recent emoji up in suggestions.
Apply saved skin color to emoji suggestions.
Write to recents when choosing emoji suggestion.
2017-07-26 15:55:04 +03:00
John Preston
2f816942b8
Use objects instead of pointers for corners.
...
Also don't change mask corner images when color theme is changed.
This prevents race condition in mask corner images access, because
the GIF frame readers access mask corner images from other threads.
2017-07-13 17:42:46 +03:00
John Preston
401bc86f27
Closed beta 1001007002: New channel rights.
...
Also fix build in Xcode.
2017-06-30 09:21:41 +03:00
John Preston
5c0a1bafe2
Add supergroup restriction placeholders / labels.
2017-06-29 11:40:13 +03:00
John Preston
110e7c8074
Finalize rename / move.
2017-06-29 11:39:38 +03:00
John Preston
25587d7e8e
Replace different side enums with RectPart.
...
Including Ui::Shadow::Side, App::RectPart and ImportantTooltip::Side.
2017-05-24 16:25:20 +03:00
John Preston
18195f9c4e
Rename EmojiPanelTab to ChatHelpers::SelectorTab.
2017-05-24 16:25:18 +03:00
John Preston
b7550f63c9
Add a floating player for round video messages.
2017-05-24 16:25:15 +03:00
John Preston
bf0f956325
Preserve panels state through visibility toggles.
...
Emoji/Stickers/GIFs panel saves all the state between activations.
2017-05-18 00:02:31 +03:00
John Preston
d4af14041c
Fix build for OS X 10.6-10.7.
...
Qt 5.3.2 doesn't support QTimer::singleShot(delay, lambda).
2017-04-11 18:44:11 +03:00
John Preston
0e2c282476
Don't stop GIFs when TabbedSection is opened.
...
Also improve the appearance of Stickers and GIFs tabs with no items.
2017-04-11 17:03:47 +03:00
John Preston
891d200e2d
Add TabbedSection which uses the TabbedSelector.
2017-04-10 12:08:56 +03:00
John Preston
647ea44881
Extract TabbedSelector from TabbedPanel.
...
Now we can use TabbedSelector separately, not only inside the panel.
2017-04-10 12:08:55 +03:00