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
1ecd6866c7
Closed beta 10019001: improved style apply for FlatButton.
2016-12-30 17:51:35 +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
2e4426aac0
Old sprites removed completely. Only #rrggbb and #rrggbbaa in styles.
...
Also moved Checkbox and Radiobutton to Ui namespace.
Also child widgets in many boxes were wrapped in ChildWidget<>.
2016-10-28 12:20:24 +03: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
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
b520cf0f78
First version of the new Settings page is finished.
...
Added LocalStorageBox for watching info and clearing local storage.
Local passcode and cloud password state display and editing done.
Temporary download location clearing link added.
Crash fixed in local storage clear + app close, now waiting for the
clearing thread to quit. Some design improvements and testing.
2016-08-28 13:16:23 -06:00
John Preston
993b91ac15
Most of the new Settings sections filled with widgets.
...
Some animations added: new scale slider, widget_slide_wrap<TWidget>.
Any TWidget now can resizeToWidth() with overriden resizeGetHeight().
2016-08-22 19:31:42 +02:00
John Preston
701b8c87e6
Selected messages actions (forward, delete, cancel) redesigned.
2016-06-22 20:11:35 +03:00
John Preston
1859b83e8d
Dialog styles moved from basic.style to dialogs.style.
...
Many minor design improvements in the new profiles.
New drafts design in the dialogs list: no icon, red badge.
Verified checkbox added to the new profile implementation.
Drafts saving to cloud is delayed for 1 second when switching chats.
Before quitting the app makes an attempt to save drafts (timeout 1.5s).
2016-06-07 22:59:39 +03:00
John Preston
3d073eddd6
New profiles started. Function<> made by variadic templates.
2016-05-12 19:05:20 +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
fa0c700ca6
Inline switch to pm and back support added for inline bots.
2016-04-08 18:16:52 +04:00
John Preston
04f8d4dd37
Build fixed for renamed sources folder SourceFiles/{gui->ui}/
2016-04-07 22:05:28 +04:00
John Preston
cbed4bc36d
Renamed sources folder SourceFiles/gui to SourceFiles/ui.
2016-04-07 21:55:17 +04:00