John Preston
06ed7b8eaf
Some more ripple animations. Now only anim::value (float64).
...
Also each FloatAnimation now stops MTP responses.
Also slide animations done by FloatAnimation.
Closed beta 10019012.
2016-12-30 17:52:46 +04:00
John Preston
b0f14d1856
Closed beta 10019011: various style improvements.
2016-12-30 17:52:39 +04:00
John Preston
8958ae0377
Typing animations from android.
2016-12-30 17:52:36 +04:00
John Preston
3cff50009c
Closed beta 10019010: unified attach button, new intro, new stickers.
...
Now all files sending is confirmed before preparing for sending.
You can paste from clipboard and drag many files at once.
2016-12-30 17:52:32 +04:00
John Preston
eb05e62422
Not rounding images (photos/videos/gifs) that continue to a bubble.
2016-12-30 17:52:25 +04:00
John Preston
7fa274a68e
Improved ripple animation colors and styles for different buttons.
...
Also moved FlatLabel and LabelSimple to ui/widgets/labels module.
Also moved ScrollArea to ui/widgets/scroll_area module.
2016-12-30 17:52:10 +04:00
John Preston
23c2e5364a
Removed anim::cvalue and ColorAnimation, all done by fvalue now.
...
Also moved style::interpolate to anim::color/anim::pen/anim::brush.
2016-12-30 17:51:46 +04:00
John Preston
2a3fd0066d
Closed beta 10019001: style::color copy is denied, only const refs.
2016-12-30 17:51:33 +04:00
John Preston
e08f5437a6
Palette usage improvements.
2016-12-30 17:51:29 +04:00
John Preston
42e544abff
All icons were moved from sprites to separate icon files.
2016-10-28 11:02:45 +03:00
John Preston
29493a0693
All emoji icons moved from sprite.
2016-10-27 17:10:28 +03:00
John Preston
9eb8a93719
Media::Player::Widget added instead of PlayerWidget.
...
New media player bar widget added. Switching between floating
media player panel and media player widget. New volume controller.
2016-10-12 22:36:48 +03:00
John Preston
1b54ccb59c
Merge branch 'game_media' into player
...
Conflicts:
Telegram/Resources/basic.style
Telegram/SourceFiles/media/player/media_player_list.cpp
Telegram/SourceFiles/title.cpp
2016-09-30 20:07:56 +03:00
John Preston
376941dd5e
Mixed channel access hash to the game score encrypted data.
...
Added new lang strings for playing game send actions (not done yet).
Also moved alot of icons from sprite to separate b&w files.
2016-09-30 15:52:03 +03:00
John Preston
a5eee9bd3e
Beta 10008004: games / webpages work fine if media autoload disabled.
...
Also moved alot of file icons from sprite to separate b&w files.
2016-09-29 22:42:14 +03:00
John Preston
903795d0e5
Merge branch 'game_media' into player
...
Conflicts:
Telegram/SourceFiles/application.cpp
Telegram/SourceFiles/inline_bots/inline_bot_layout_internal.cpp
Telegram/SourceFiles/mainwidget.cpp
Telegram/SourceFiles/mainwidget.h
Telegram/SourceFiles/structs.h
2016-09-29 00:31:43 +03:00
John Preston
0562024444
Merge branch 'master' into player
...
Conflicts:
Telegram/SourceFiles/core/observer.h
Telegram/SourceFiles/mainwindow.h
Telegram/SourceFiles/media/view/media_clip_playback.cpp
Telegram/SourceFiles/media/view/media_clip_playback.h
2016-09-29 00:16:02 +03:00
John Preston
78815800d0
Media::Clip::Reader owners use Media::Clip::ReaderPointer smartptr.
2016-09-28 23:28:53 +03:00
John Preston
344890c533
Game sharing and inline results supported. Qt patch updated.
...
Qt patch now disables QT_SCALE_FACTOR and other HighDpi
environment variables reading because tdesktop doesn't support them.
2016-09-28 19:23:25 +03:00
John Preston
90a4b66366
New media type Game added. Display of Game partially supported.
2016-09-27 16:37:18 +03:00
John Preston
453661d611
Removed Function<> and SharedCallback<>, using base::lambda_unique<>.
...
Also removed macro START_ANIMATION(anim,) using anim.start() instead.
2016-09-26 15:09:59 +03:00
John Preston
f970ac3163
New audio player done (without playlist).
2016-09-23 19:04:26 +03:00
John Preston
207981b8c4
Sync video to audio stream fixed. Cute video download inside MediaView.
...
Small round radius in webpage photo / doc nested attachments.
2016-07-19 13:54:43 +03:00
John Preston
fc716af002
Pause/resume supported in the video player in MediaView.
...
Autoplay video in MediaView only from showDocument(), otherwise pause.
2016-07-13 14:24:31 +03:00
John Preston
d806d079a2
Merge branch 'master' into video
...
Conflicts:
Telegram/SourceFiles/mainwidget.cpp
Telegram/SourceFiles/ui/animation.cpp
Telegram/Telegram.pro
2016-07-11 21:12:10 +03:00
John Preston
1fee0822fb
Moved AudioPlayerState+position+duration+frequency to a single struct.
2016-07-10 16:02:22 +03:00
John Preston
1904a4f48a
Round radius increased for message bubbles.
2016-07-07 15:35:14 +03:00
John Preston
7ca5737bc0
Removed SongMsgId, unified working with voice/music files in audio.
2016-06-30 15:03:32 +03:00
John Preston
d64892584d
ClipReader was moved to a separate namespace and different files.
2016-06-24 13:37:29 +03:00
John Preston
3570a1cf91
New profile photo edit by drag-n-drop. Animated photo button.
2016-05-27 13:57:11 +03:00
John Preston
705358993d
New style::icon class added, colorized icons by codegen_style.
...
Moved style_core to /ui/style/, Xcode and QtCreator builds are broken.
2016-04-21 20:57:29 +03:00
John Preston
c4a7d48d96
Selection of text in attachments: captions, web page previews.
...
Text/HistoryItem/HistoryMedia::getState() unified.
Text::getStateElided added. Tested with web page previews only.
2016-04-13 21:29:32 +03:00
John Preston
5a3fea05ac
ClickHandler, TopBarWidget and Overview layouts moved to separate files.
...
Xcode and QtCreator builds are currently broken.
2016-04-13 00:31:28 +03:00
John Preston
03bbb2269d
Info button replaced by userpic in single column layout.
...
Icons for file inline results never display a download icon.
Using !lastMsg->detached() to detect that all new messages are loaded.
2016-04-11 11:43:40 +04:00
John Preston
00367ec07a
Added type voice for inline bots, fixed keyboard buttons bug.
2016-04-11 08:02:39 +04:00
John Preston
460e2ec0ac
UniquePointer > std_::unique_ptr, MakeUnique > std_::make_unique.
2016-04-10 23:20:48 +04:00
John Preston
dd1d04e9b0
Inline bot results preview: photo, audio, file, voice. Beta 9040126.
2016-04-10 22:18:26 +04:00
John Preston
5f12c6d85b
Always create photo and document for inline bot results.
2016-04-10 15:13:37 +04:00
John Preston
0894931fa1
Encapsulated DocumentData location and serialization.
...
DocumentData now can point to mtproto or http file.
2016-04-09 09:57:55 +04:00
John Preston
e1f55822b7
Improved inline bot results layout.
...
Video duration displayed in the middle of the thumbnail.
Contact is now displayed like File, not like Article.
File doesn't have download/open link and displays icon by mimetype.
2016-04-08 19:37:14 +04:00
John Preston
ba7cb1abbc
Defaulting inline bot reuslt video title/description to
...
"Video file"/duration. Scheme updated.
2016-04-06 17:46:52 +04:00
John Preston
259a996276
Scheme updated. Inline bot result messages now may have reply markup.
...
Fully applying media from send inline bot result response.
2016-04-06 12:00:37 +04:00
John Preston
3be34a4bb7
Encapsulated inline bot result class. Started inline bot
...
result downloading by external links, not ready (at all).
2016-04-06 00:24:27 +04:00
John Preston
3e2485678d
Moved inline bot result structs from structs.cpp/h module.
...
Moved inline bot result layouts from layout.cpp/h module.
Over status prepared for inline bot file result icon.
Dependencies reduced, inline bots code moved to InlineBots namespace.
Build in Xcode and QtCreator broken.
2016-04-05 01:09:46 +04:00