Commit graph

58 commits

Author SHA1 Message Date
John Preston
886327a1d0 Playing game state is set for 10 seconds instead of 30.
Also moved some icons from sprite to separate b&w files.
2016-09-30 19:40:00 +03:00
John Preston
538ffb9727 Moved History[Media] classes to history_media_types module. 2016-09-28 13:15:03 +03:00
John Preston
a7b692e8ed PR #1954 improvements.
Inverted the direction of move-by-wheel, so that scrolling down will
move you forward through the photos or documents overview.

Added an accumulation of the scroll amount so that you don't zoom or
skip photos each time a (possibly very frequent) wheel event fires.
2016-09-14 19:05:40 +03:00
EXL
43a40c3b9a Add zooming in media viewer on Ctrl + mouse wheel
Mouse wheel without Ctrl key is used for switch to the prev/next image;
Clicking on mouse wheel is used to reset zoom;
To switch images are taken only a physical mouse wheel events.

Signed-off-by: Serg Koles <exlmotodev@gmail.com> (github: EXL)
2016-08-18 11:36:36 +03:00
John Preston
75ff3c3d28 Alpha version 0.9.60: some bugfixes in video clip reader.
No more error box when click on record button (empty file send attempt).
2016-07-24 11:53:09 +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
505e5a69a6 Video playing in MediaView seek fixed, fullscreen mode improved.
Shortcut commands now return bool, so you know if it was executed.
2016-07-14 14:20:46 +03:00
John Preston
cb0c99acc8 Seek done in video player in MediaView. Some memory leaks fixed.
Using pixmapFromImageInPlace() instead of QPixmap::fromImage().
2016-07-13 20:34:57 +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
8da39356dc Divided song volume and video volume, video volume control implemented. 2016-07-12 17:11:59 +03:00
John Preston
034657dd2c Video play progress displayed in MediaView (in case no audio stream). 2016-07-12 15:28:07 +03:00
John Preston
01d448c1bd Video play progress displayed in MediaView (in case of audio stream). 2016-07-12 14:38:16 +03:00
John Preston
356b48bcca Started video player UI in MediaView. 2016-07-11 21:05:46 +03:00
John Preston
1fee0822fb Moved AudioPlayerState+position+duration+frequency to a single struct. 2016-07-10 16:02:22 +03:00
John Preston
b61cc150db Merge branch 'master' into video
Conflicts:
	Telegram/SourceFiles/mainwidget.cpp
	Telegram/SourceFiles/structs.cpp
2016-07-05 20:42:47 +03:00
John Preston
a89185565a 0.9.56 stable. Crash fixed in MediaView after logout and login again.
Buttons layout improved in bot inline keyboard.
2016-06-26 18:37:47 +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
8fc38d9ac2 Creating MediaView after the main window. That way the main window is
created with the right size even with FullScreen flag for MediaView.
Using FullScreen flag only on Windows (or Dock auto hides on OS X).
2016-06-23 15:25:18 +03:00
John Preston
5957382a67 Radial progress in settings when loading a new background from gallery.
MediaView handling of screen resolution change fixed.
Media messages now display both name/type and caption in dialogs list.
When viewing group profile photo delete affects either photo or message.
2016-06-22 16:39:54 +03:00
John Preston
6af6ffa1b2 Field autocomplete now replaces text part only up to cursor position.
New radial photo load progress in MediaView instead the old 3-dots.
2016-06-21 21:09:48 +03:00
John Preston
f0a8356ff0 Profile members block displayed when mouse is over group members count. 2016-06-17 21:18:01 +03:00
John Preston
533a955dda Unread outgoing messages in supergroups supported.
Looking through the history of group avatar photos added.
Messages about some contact joined Telegram are never unread.
2016-05-20 19:35:16 +03:00
John Preston
a37bbcfaca Fixed building in Xcode. 2016-04-07 14:35:09 +04:00
John Preston
7f6cf32cdd ITextLink moved to ClickHandler, TextLinkPtr > ClickHandlerPtr.
Global methods textlnkOver/Down/DrawOver were replaced by
static members of ClickHandler, now global state consists
of the handler pointer + host pointer, who declares callbacks
for the active and pressed handler changed events.

This will allow to use ClickHandler from different hosts
simultaneously (like HistoryItem / BotDescription / BotKeyboard).

Not yet tested.
2016-03-29 20:17:00 +03:00
John Preston
1bd986d2cb added any profile photo delete, fixed profile photo upload 2016-02-26 12:29:07 +03:00
John Preston
0b8523d58e added year 2016 to copyright 2016-02-08 13:56:18 +03:00
John Preston
77228d358d context bots started, all callbacks done by pointers 2015-12-29 00:20:04 +03:00
John Preston
9a1798f043 saved gifs done 2015-12-28 00:37:48 +03:00
John Preston
4ed2d75c74 upload radial progress and upload cancel done, photo / file / audio autodownload settings respected 2015-12-24 22:26:28 +03:00
John Preston
b94533fcb2 gif autoplay improved 2015-12-23 22:23:14 +03:00
John Preston
62723f7576 disabled libexif usage, mediaview showing gif/mp4 through ClipReader 2015-12-22 11:01:02 +03:00
John Preston
0b96dd5362 animations refactored 2015-12-08 15:33:37 +03:00
John Preston
ca34a09f20 mediaview, audioplayer and profilewidget display united media in group and migrated supergroup 2015-11-16 19:04:37 +03:00
John Preston
7c71d977e2 ContextMenu removed, PopupMenu replaced default context menu in input fields and all ContextMenu 2015-11-01 13:14:30 -05:00
John Preston
015e9356ab license header updated 2015-10-03 16:16:42 +03:00
John Preston
56a63a5b10 comments show-hide in channels 2015-09-19 12:13:21 +03:00
John Preston
54d5b6dd71 forward/delete for channels, prepared load unread by offset_id, not done yet! 2015-09-07 10:52:37 +03:00
John Preston
95ff7821a3 channels improved, getImportantHistory call added, channel profiles fixed 2015-09-04 16:01:31 +03:00
John Preston
04e1da81f3 added channels scheme, made Channel peers and composite ChannelId,MsgId message ids 2015-09-03 13:48:40 +03:00
John Preston
1268774517 audio player done 2015-07-03 11:47:16 +03:00
John Preston
e7b94f3d3a version 0.8.20.dev prepared (some fixes) 2015-06-02 14:22:00 +03:00
John Preston
9da4a21f94 caption display in video, caption display in mediaview, removed Loading / Failed webpage display, rounded corners everywhere 2015-05-20 22:28:24 +03:00
John Preston
b770ea4f8d optimized new mediaview, os x new mediaview done 2015-04-19 22:01:45 +03:00
John Preston
370c47d95b new photoviewer adapted for documents 2015-04-19 13:29:19 +03:00
John Preston
782c254ea0 started photoviewer redesign 2015-04-11 11:04:10 +01:00
John Preston
7c20e4773d added photo switch by scroll gestures for os x in mediaview 2014-12-17 20:55:32 +03:00
John Preston
37917db64c navigation improved in single column layout, document viewer improved 2014-12-15 18:55:45 +03:00
John Preston
7a600e03d0 update menu changed to restart if only restarting, header comment changed 2014-12-01 13:47:38 +03:00
John Preston
33aa925aa0 changed to official 2014-11-25 23:15:18 +03:00
John Preston
f07606a0ce photoviewer updated, recent emojis filled with some by default 2014-10-17 16:57:14 +04:00