Commit Graph

63 Commits

Author SHA1 Message Date
John Preston 3ff17a8789 Refactor image transformation interfaces. 2022-01-21 15:33:44 +03:00
23rd 74f9d0935b Removed text commands from skip blocks. 2022-01-12 11:54:24 +03:00
23rd f9c50fdc06 Removed text commands from theme preview. 2022-01-12 11:54:24 +03:00
23rd 52699ccfc2 Added new colors to text palette for spoilers. 2021-12-29 21:22:33 +03:00
John Preston 1204e282d3 Fix attach icon in theme preview. 2021-09-28 19:27:41 +04:00
John Preston 559d4cf4da Update theme preview. 2021-09-17 13:22:33 +03:00
John Preston f59db10267 Update default chat background. 2021-08-31 22:10:39 +03:00
John Preston 0a1e84ddb2 Move ChatTheme to td_ui. 2021-08-30 20:32:57 +03:00
John Preston b9a9520ef5 Don't blend SoftLight patterns in realtime. 2021-08-16 10:26:08 +03:00
John Preston 8f478b86ee Change default wallpaper. 2021-07-23 15:42:17 +03:00
Ilya Fedin ba9b72e038 Fix -Wunused-variable warnings with gcc 2021-07-19 22:31:27 +03:00
John Preston 4276b6cce0 Use rpl for Window::Theme::Background updates. 2021-07-15 16:42:36 +03:00
Ilya Fedin 79cc797aff Fix -Wunused-variable warnings 2021-07-13 21:43:34 +03:00
John Preston 56c8327746 Fix emoji picker button in boxes in non-default scale. 2021-03-22 19:41:13 +04:00
John Preston 0e6d4291a2 Fix close window button paint in theme preview. 2021-03-22 19:40:12 +04:00
John Preston d69caacded Improve top bar icons layout. 2020-12-14 19:56:01 +04:00
John Preston dde94d486b Change button round radius. 2020-12-08 11:19:23 +04:00
John Preston 263d6a30f2 Improve grouped files layout in chat. 2020-10-30 18:32:19 +03:00
John Preston ae298818a8 Implement message bar with animations. 2020-10-30 18:32:17 +03:00
Sean Wei 556aa28df6 Remove unused variable
The following are commits related to removed variables.

apiwrap.cpp
e050e27: kSaveDraftBeforeQuitTimeout

app.cpp
113f665: serviceImageCacheSize

boxes/auto_download_box.cpp
a0c6104: checked(Source source, Type type)

boxes/background_preview_box.cpp
b6edf45: resultBytesPerPixel
fe21b5a: ms

boxes/calendar_box.cpp
ae97704: yearIndex, monthIndex
99bb093: ms

boxes/connection_box.cpp
f794d8d: ping

boxes/dictionaries_manager.cpp
8353867: session

boxes/peer_list_box.cpp
2ce2a14: grayedWidth

boxes/peers/add_participants_box.cpp
07e010d: chat, channel

boxes/self_destruction_box.cpp
fe9f02e: count

chat_helpers/emoji_suggestions_widget.cpp
a12bc60: is(QLatin1String string)

chat_helpers/field_autocomplete.cpp
8c7a35c: atwidth, hashwidth

chat_helpers/gifs_list_widget.cpp
ff65734: inlineItems
3d846fc: newSelected
d1687ab: kSaveDraftBeforeQuitTimeout

chat_helpers/stickers_dice_pack.cpp
c83e297: kZeroDiceDocumentId

chat_helpers/stickers_emoji_pack.cpp
d298953: length

chat_helpers/stickers_list_widget.cpp
eb75859: index, x

core/crash_reports.cpp
5940ae6: LaunchedDateTimeStr, LaunchedBinaryName

data/data_changes.cpp
3c4e959:clearRealtime

data/data_cloud_file.cpp
4b354b0: fromCloud, cacheTag

data/data_document_media.cpp
7db5359: kMaxVideoFrameArea

data/data_messages.cpp
794e315: wasCount

data/data_photo_media.cpp
e27d2bc: index

data/data_wall_paper.cpp
b6edf45: resultBytesPerPixel

data/data_types.cpp
aa8f62d: kWebDocumentCacheTag, kStorageCacheMask

history/admin_log/history_admin_log_inner.cpp
794e315: canDelete, canForward

history/history_location_manager.cpp
60f45ab: kCoordPrecision
9f90d3a: kMaxHttpRedirects

history/history_message.cpp
cedf8a6: kPinnedMessageTextLimit

history/history_widget.cpp
b305924: serviceColor
efa5fc4: hasForward
5e7aa4f: kTabbedSelectorToggleTooltipTimeoutMs, kTabbedSelectorToggleTooltipCount

history/view/history_view_context_menu.cpp
fe1a90b: isVideoLink, isVoiceLink, isAudioLink

settings.cpp
e2f54eb: defaultRecent

settings/settings_folders.cpp
e8bf5bb: kRefreshSuggestedTimeout

ui/filter_icon_panel.cpp
c4a0bc1: kDelayedHideTimeoutMs

window/themes/window_theme_preview.cpp
ef927c8: mutedCounter

-----

Modified variables

boxes/stickers_box.cpp
554eb3a: _rows[pressedIndex] -> set

data/data_notify_settings.cpp
734c410: muteForSeconds -> muteUntil

history/view/history_view_list_widget.cpp
07528be: _items[index] -> view
e5f3bed: fromState, tillState

history/history.cpp
cd3c1c6: kStatusShowClientsideRecordVideo -> kStatusShowClientsideRecordVoice

storage/download_manager_mtproto.cpp
ae8fb14: _queues[dcId] -> queue

storage/localstorage.cpp
357caf8: MTP::Environment::Production -> production
2020-07-13 09:33:55 +04:00
John Preston c868cd6036 Update lib_ui. 2020-06-04 10:53:59 +04:00
John Preston 2e1e13b843 Rename mediaview.style to media_view.style. 2020-02-05 18:39:47 +04:00
John Preston 467be135d6 Fix build in macOS. 2019-10-20 15:24:09 +04:00
John Preston c5845f17ae Remove twidget header. 2019-10-01 23:59:46 +03:00
John Preston e2f54eb3e9 Move some style code to lib_ui. 2019-10-01 23:59:46 +03:00
RadRussianRus 9fc87c3cb8 Fix last message tail drawing in theme preview 2019-09-10 10:48:20 +03:00
John Preston ee5423762a Generate previews for cloud theme links. 2019-09-09 14:56:05 +03:00
John Preston eebcdb842d Generate previews async in cloud themes list. 2019-09-09 09:59:57 +03:00
John Preston c92a9585e1 Check changes when saving theme. 2019-09-08 19:29:43 +03:00
John Preston 9c86f0e0a5 Save themes, apply and close editor on save. 2019-09-06 19:31:07 +03:00
John Preston 79106e0c01 Correctly show custom themes in list. 2019-09-06 19:31:07 +03:00
John Preston 7485f0c960 Don't change real theme when editing. 2019-09-06 19:31:07 +03:00
John Preston 03bdd80b2f Open theme editor for existing themes. 2019-09-06 19:31:07 +03:00
John Preston 4929de2bfb Apply cloud themes. 2019-09-06 19:31:06 +03:00
John Preston 117d6192fa Ensure contrast in colorized themes. 2019-08-29 10:01:28 +03:00
John Preston 9cb5423d40 Allow changing accent color in default themes. 2019-08-27 19:10:37 +03:00
John Preston 87fc066e67 Use tr:: instead of lang(). 2019-06-21 11:06:51 +02:00
John Preston 2162aa8df0 Rename Text to Ui::Text::String. 2019-06-21 11:06:46 +02:00
John Preston 1290cda830 Fix theme preview layout. 2019-06-05 18:42:46 +03:00
John Preston ee5c819cef Fix render glitch in archive top bar. 2019-05-01 16:11:43 +04:00
John Preston f506a5ea6c Save wallpaper settings locally. 2019-01-29 14:52:33 +03:00
John Preston 0d290a2c28 Fix emoji icon in theme preview.
Fixes #5561.
2019-01-11 17:30:57 +04:00
John Preston 595134cab5 Move image-related modules to ui/image/. 2018-11-04 15:51:37 +04:00
John Preston 5b4abe69aa Add interface scale (100%..150%) for Retina.
Fixes #69, fixes #3126, fixes #3789.
2018-10-16 23:00:55 +03:00
John Preston 19a9a990b6 Allow using any interface scale between 100%-300%. 2018-10-16 11:38:09 +03:00
John Preston b847c8424a Use single emoji sprite and scale + cache it. 2018-10-15 09:03:29 +03:00
John Preston cb338e330f Allow independently change default / night themes. 2018-07-31 22:56:03 +03:00
John Preston 017ec87d60 Replace FlatTextarea with InputField. 2018-05-22 13:45:22 +03:00
John Preston ea7441ae77 Use single LEGAL file with license and copyright. 2018-01-03 13:23:14 +03:00
John Preston 0ef3e19bc2 Use QImage instead of QPixmap for theme preview.
Working with QPixmap from non-main thread is not defined.
2018-01-02 22:10:49 +03:00