23rd
cf0cde6e83
Added ability to show song cover in EditCaptionBox and SendFilesBox.
2021-01-11 22:46:56 +03:00
John Preston
a614ccad97
Correctly check media when editing files.
2020-10-30 18:32:19 +03:00
John Preston
b3b11bd9e7
Move PreparedFile/PreparedList to td_ui.
2020-10-30 18:32:18 +03:00
23rd
4eaba39a7c
Added drag'n'drop area to EditCaptionBox.
2020-07-20 21:44:07 +03:00
23rd
c46b96f252
Moved edit captions from EditCaptionBox to api_editing.
2020-07-17 18:22:38 +03:00
John Preston
0ad7dcaef9
Remove MTP::MainInstance() global access point.
2020-06-23 21:53:40 +04:00
John Preston
e1d36cfd50
Fix crash in the EditCaptionBox.
2020-06-04 17:26:11 +04:00
John Preston
6513422e40
Remove legacy image-related code.
2020-06-01 18:09:33 +04:00
John Preston
e27d2bc2d5
Move photo data to Data::PhotoMedia.
2020-06-01 18:09:32 +04:00
John Preston
581a21dbd9
Use Media::Streaming in EditCaptionBox.
2020-06-01 18:09:31 +04:00
John Preston
956c3af0ae
Start DocumentData::thumbnail move to DocumentMedia.
2020-06-01 18:09:30 +04:00
John Preston
33f4946242
Start using document bytes from DocumentMedia.
2020-06-01 18:09:30 +04:00
John Preston
cfe12f773f
Move some modules to lib_mtproto.
2019-11-18 12:28:14 +03:00
John Preston
2577bedeac
Remove mtproto/facade.h from main pch.
2019-11-13 11:31:12 +03:00
John Preston
1eb62579e2
Support building OS X 10.10/10.11 version.
2019-11-05 14:27:42 +03:00
23rd
4be178c75f
Added SpellingHighlighter to InputField in HistoryWidget and some boxes.
2019-10-20 21:11:38 +04: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
0c713a930a
Remove app.h / facades.h from precompiled header.
2019-10-01 23:59:46 +03:00
John Preston
4951eeac98
Allow creating desktop part of multi-theme.
2019-09-06 19:31:07 +03:00
John Preston
2162aa8df0
Rename Text to Ui::Text::String.
2019-06-21 11:06:46 +02:00
John Preston
a547f80ae9
Rename Window::Controller to Window::SessionController.
2019-06-06 13:21:40 +03:00
23rd
92d10fd34c
Redesigned edit media button. Slightly refactored.
...
- Added minimal height of thumbs.
- Removed unused _statusw.
2019-04-04 20:51:00 +04:00
23rd
5d8888bb8b
Refactored code.
...
- Refactored passing message id to edit media.
- Removed get/setEditMedia from mainwidget.
- Combined onEditMedia and onSendFileConfirm in single method.
- Added argument in FileLoadTask to pass message id to edit media.
- Renamed flags in apiwrap.
- Added check for allowing edit media when use clipboard.
- Removed unused fileIsValidForAlbum.
- Removed LOGs.
- Replaced _isNotAlbum with _isAlbum.
- Removed _viaRemoteContent.
- Removed _newMediaPath.
- Added empty() to MessageGroupId.
2019-04-02 18:14:12 +04:00
23rd
4988d21819
Added ability to edit media via clipboard and remoteContent.
...
- Moved thumb updating to updateEditPreview() method.
- Added _viaRemoteContent var to check when we use remoteContent.
- Added setMimeDataHook to handle clipboard content.
2019-04-02 18:14:12 +04:00
23rd
6e69069ba2
Added Ctrl+E and Ctrl+O shortcut to edit media.
2019-04-02 18:14:12 +04:00
23rd
89e1291d86
Added confirming only images and videos when edit album item.
...
- Added hiding of checkbox when edit album item.
2019-04-02 18:14:12 +04:00
23rd
25e3674819
Added allowsEditMedia() to Media. Slightly refactored.
2019-04-02 18:14:12 +04:00
23rd
820c7ba84e
Added checkbox to send photo as file for edit media.
2019-04-02 18:14:12 +04:00
23rd
6735605f21
Added animated gif preview when users edits media.
2019-04-02 18:14:12 +04:00
23rd
d5a2daa8c9
Refactored edit_caption_box.
2019-04-02 18:14:12 +04:00
23rd
be58e23775
Init edit media.
2019-04-02 18:14:11 +04:00
23rd
59c73a4814
Fixed drawing of custom thumbnails in edit_caption_box.
2019-03-22 13:36:47 +04:00
John Preston
a1baa23a52
Use both thumbnails in photos and documents.
...
Fixes #5602 .
2019-01-28 13:10:45 +03:00
John Preston
0a754b8982
Adding emoji in SendFilesBox and EditCaptionBox.
2018-11-22 16:48:50 +04:00
John Preston
1c5e91c9a8
Refresh EditCaptionBox thumbnail when loaded.
2018-08-02 17:46:49 +03:00
John Preston
d0e854e9d8
Allow showing boxes in passport panel.
2018-06-03 23:16:35 +03:00
John Preston
07d8dafa5e
Allow inserting links with custom text.
...
Fixes #4737 .
2018-05-26 18:07:51 +03:00
John Preston
30dd8fe070
Unite InputField and InputArea.
...
Also support and use instant replaces in InputField-s.
2018-05-20 23:37:59 +03:00
John Preston
950126865e
Handle item view refresh, fix groups.
2018-02-08 12:20:49 +03:00
John Preston
7425e80f05
Use HistoryMedia as view, add Data::Media.
2018-02-08 12:20:48 +03:00
John Preston
97a9089ebf
Move draw / getState code to HistoryView::Message.
...
Item dimensions broken for now.
Also remove history.h from pch.
2018-02-08 12:20:48 +03:00
John Preston
ea7441ae77
Use single LEGAL file with license and copyright.
2018-01-03 13:23:14 +03:00
John Preston
5f8143e6a4
Fix build in Xcode.
2017-12-26 19:20:08 +03:00
John Preston
44014e62ba
Move EditCaptionBox to a separate module.
2017-12-26 19:20:06 +03:00