John Preston
45a8095aee
Fix build with Xcode.
2022-01-18 21:52:04 +03:00
John Preston
47aed59fe9
Add Windows 11 snap layouts to custom TitleControls.
2022-01-18 18:37:35 +03:00
John Preston
d5d2ccb467
Disable Windows 11 rounded corners in FullScreen RpWindow.
2022-01-18 15:52:27 +03:00
John Preston
e5c8a6ebc4
Force correct separate title bar controls geometry.
2022-01-18 15:33:28 +03:00
John Preston
64fa3d83b5
Workaround selection glitches on macOS.
2022-01-18 14:11:08 +03:00
John Preston
d7e47aa8a6
Support Windows 11 snap layouts in RpWindow title controls.
2022-01-18 12:59:37 +03:00
John Preston
e8f4f02131
Make title bar buttons a bit wider.
2022-01-17 19:01:02 +03:00
23rd
45893ec223
Excluded EntityType::Pre from clickable types.
2022-01-17 16:48:48 +03:00
John Preston
79d2052a83
Use default font in window title on macOS.
2022-01-17 15:04:39 +03:00
John Preston
220d683528
Fix Windows 11 title controls by additional padding.
2022-01-17 13:37:14 +03:00
John Preston
9b5c939fd0
Update window title controls.
2022-01-17 11:17:36 +03:00
23rd
19de16ba6f
Fixed processing of started entities for monospace.
2022-01-17 10:10:14 +03:00
23rd
d1509436b6
Fixed possible crash in Text::String with clickable monospace.
2022-01-16 10:19:09 +03:00
23rd
2b87a251cd
Fixed enumerating of Text::String with clickable monospace.
2022-01-16 10:18:23 +03:00
John Preston
d7b3a68351
Allow slowing down Animations::Simple globally.
2022-01-13 13:11:16 +03:00
John Preston
ba27a017f8
Increase menu minimum width.
2022-01-13 13:11:16 +03:00
John Preston
4fbd226067
Fix selection of monospace text on press.
2022-01-13 13:11:16 +03:00
23rd
7d3f27b7ca
Decomposed painting of SettingsButton.
2022-01-13 13:05:28 +03:00
23rd
5e8b8d4129
Changed behavior to process paragraph selection as full for monospace.
2022-01-13 13:05:20 +03:00
23rd
c2fcbdc883
Limited monospace text selection on click only for single lines.
2022-01-13 13:05:04 +03:00
23rd
087c82e1d5
Fixed display of ellipsis under spoiler.
2022-01-08 09:12:24 +03:00
23rd
20b908ea70
Slightly optimized spoilers to avoid recreating of same click handlers.
2022-01-08 08:24:06 +03:00
23rd
b1f71ccab3
Added selection of monospace text on press.
2022-01-08 08:24:06 +03:00
23rd
4e4e54dcc5
Made monospace text clickable.
2022-01-08 08:24:06 +03:00
23rd
b81b9371e6
Removed TextParseRichText.
2022-01-08 08:24:06 +03:00
23rd
7e279bd83a
Removed text commands.
2022-01-08 08:24:06 +03:00
23rd
09b56b019b
Added utilities to wrap TextWithEntities.
2022-01-08 08:24:06 +03:00
23rd
745ce34dd5
Added new entity type for plain non-interactive links.
...
Increased size of the block flags by two bits.
Added a text utility to wrap a simple text with plain links.
Added a new flag to specify parsing of plain links.
2022-01-08 08:24:06 +03:00
23rd
8e999fe8fb
Moved out all block implementations from header file.
2022-01-08 08:24:06 +03:00
23rd
c9a9751472
Added utilities to mid and filter TextWithEntities.
2022-01-08 08:24:06 +03:00
John Preston
ee2a1b47d9
Fallthrough wheel events from ScrollBar to ScrollArea.
2022-01-07 13:55:01 +03:00
John Preston
633648074a
Allow smaller popup menus.
2021-12-31 17:52:06 +03:00
23rd
1f845ea919
Fixed spoilers with animations disabled.
2021-12-30 20:51:24 +03:00
John Preston
9da4e1e731
Fix spoiler rounding.
2021-12-30 15:58:27 +03:00
John Preston
541c8d258b
Display shown spoilers as plain text.
2021-12-30 15:58:27 +03:00
John Preston
5f94fa24a0
Some fixes in spoiler geometry.
2021-12-30 15:58:27 +03:00
23rd
8b0ff16b66
Fixed isolated emoji under spoilers.
2021-12-30 03:24:11 +03:00
23rd
e961883914
Fixed spoiler width for thin characters.
2021-12-30 03:23:39 +03:00
John Preston
a3b3745d7c
Allow click on a submenu-creating item.
2021-12-29 17:53:27 +03:00
23rd
0a0e5e1258
Added ability to pass TextWithEntities to Checkbox.
2021-12-28 03:27:25 +03:00
23rd
3461c18cda
Extracted ellipsis string from String::Text to global access.
2021-12-25 18:24:09 +03:00
23rd
774da18a38
Added utility to correctly cut text with commands.
2021-12-25 17:31:53 +03:00
23rd
44853e9334
Added ability to show or hide spoilers from outside.
2021-12-25 17:31:53 +03:00
23rd
db871a87f5
Added animation for spoilers.
2021-12-24 15:49:02 +03:00
23rd
2c1e6b458d
Moved SpoilerClickHandler to separated file.
2021-12-24 15:49:02 +03:00
23rd
af2cfca307
Improved style of selected text with spoilers.
2021-12-24 15:49:02 +03:00
23rd
6c9d832ad8
Added nice corners for spoilers.
2021-12-24 15:49:02 +03:00
23rd
9c1572564b
Added utility to replace spoiler entities with text commands.
2021-12-24 15:49:02 +03:00
23rd
fc6c3841ee
Improved utility to clean text from text commands except spoilers.
2021-12-24 15:49:02 +03:00
23rd
8331322c20
Replaced tag separator to avoid conflicts with new spoiler tag.
2021-12-24 15:49:02 +03:00