John Preston
1027bd431a
Add some helper methods to effect wrappers.
...
Add and use similar methods to WidgetSlideWrap and WidgetFadeWrap:
[show|hide|toggle]Fast() and [show|hide|toggle]Animated().
2017-03-15 18:10:18 +03:00
John Preston
83720d8789
Finalizing file renaming.
2017-03-04 13:23:56 +03:00
John Preston
08167a6a91
Removed #include "stdafx.h" from all files.
...
Currently the build without implicitly included precompiled header
is not supported anyway (because Qt MOC source files do not include
stdafx.h, they include plain headers).
So when we decide to support building without implicitly included
precompiled headers we'll have to fix all the headers anyway.
2017-03-04 12:27:52 +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
755325fef3
Updated Xcode build for using standard library.
...
Also trying to use g++-6 for travis build.
2017-02-21 17:37:53 +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
b842761ea3
Closed beta 1000006001: Built in theme and color palette editor.
2017-02-07 17:56:33 +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
eb4d2a38b6
Closed beta 10020003: All colors moved to palette, some bug fixes.
2016-12-30 17:53:02 +04:00
John Preston
177078b0af
Closed beta 10020002: Use default color theme link in Settings.
2016-12-30 17:53:00 +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
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
6e0394dd42
Stickers box redesigned.
2016-12-30 17:52:28 +04:00
John Preston
8a0c275658
Group and channel create box photo select button improved.
2016-12-30 17:52:20 +04:00
John Preston
31a66d66e2
Layers show/hide rewritten, animated show over mainmenu and settings.
2016-12-30 17:52:15 +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
807bebb3cf
Buttons moved to ui/widgets/buttons module, BoxButton removed.
2016-12-30 17:52:04 +04:00
John Preston
494254496e
10019003: Some compose area icons improved. Box headers redesigned.
2016-12-30 17:51:52 +04:00
John Preston
d12177befd
Update Telegram button added to DialogsWidget/Intro. Three dot menu.
2016-12-30 17:51:41 +04:00
John Preston
e08f5437a6
Palette usage improvements.
2016-12-30 17:51:29 +04:00
John Preston
6e33f039b2
Dropdown replaced by Ui::DropdownMenu. ScrolledWidget removed.
...
Ui::DropdownMenu is like Ui::PopupMenu, both based on Ui::Menu.
2016-10-27 15:56:48 +03:00
John Preston
c1d862d8de
Some icons moved from sprite to separate files.
2016-10-22 21:58:36 +03:00
John Preston
3455344c62
Ui::MultiSelect control started: now it's just search field + cancel.
2016-10-22 18:59:34 +03:00
John Preston
e5a5273b3a
Scrollable boxes reorganized: _scroll always owns _inner.
...
Also some boxes moved to separate modules: MembersBox, StickersBox.
2016-10-22 18:59:33 +03:00
John Preston
ef2faf676e
Version 0.10.9: langs updated, moved shadow icons to separate files.
2016-10-01 15:35:52 +03:00
John Preston
52a7ed77ba
First version of ShareBox done, cute animations.
...
Temporarily ShareBox is opened instead of ContactsBox, for testing.
2016-09-06 15:28:37 +03:00
John Preston
90678d411f
Started a special LayerWidget: Settings::Widget.
...
Also added some missing calls to parent event handlers in boxes.
2016-08-18 12:52:36 +03:00
John Preston
392984f276
New way of working with boxes (layers).
...
Now the background of boxes is separated to another widget.
This will allow to use a special layer widget (like settings)
together with the usual layers-boxes upon it, moving the special
widget behind the dark background when a usual layer-box is shown.
2016-08-16 19:53:10 +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
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
9c8ae7f32b
improved media caption edit in box, need to make post edit in message field
2016-02-23 17:31:06 +03:00
John Preston
0b8523d58e
added year 2016 to copyright
2016-02-08 13:56:18 +03:00
John Preston
0b96dd5362
animations refactored
2015-12-08 15:33:37 +03:00
John Preston
c80adfc21d
supergroup langs updated, insert text instead of cancelled image sending from clipboard fixed
2015-11-24 14:23:14 +03:00
John Preston
e211268158
new slide animations
2015-10-17 16:52:26 +02:00
John Preston
5c3d030b9a
moved shadows to widgets where they are displayed
2015-10-17 10:31:48 +02:00
John Preston
fe9a1bc947
boxes redesign finished
2015-10-12 23:02:10 +02:00
John Preston
542d9435d8
almost all boxes done
2015-10-11 10:37:24 +02:00
John Preston
13f6eedcb2
half of all boxes redesigned
2015-10-06 22:49:23 +03:00
John Preston
015e9356ab
license header updated
2015-10-03 16:16:42 +03:00
John Preston
e3e774176e
new flat boxes started
2015-10-03 13:09:09 +03:00
John Preston
fe8567e909
fast dialogs, emoji pan etc done
2015-10-01 17:05:05 +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
f3bb155b0a
links preview done
2015-04-04 23:01:34 +03:00
John Preston
868d5f60f3
cloud password support added, sessions list added, some boxes unifications
2015-04-02 13:33:19 +03:00