Commit graph

10 commits

Author SHA1 Message Date
John Preston
02440524ea Add per-line geometry / colors customization for Text. 2023-10-04 22:17:27 +04:00
John Preston
9a17d4bd15 Add a checkbox helper for terms accept check. 2023-09-06 13:40:01 +04:00
John Preston
73b6bc5e13 Implement animated spoilers. 2022-09-17 00:22:08 +04:00
John Preston
7a4ea49959 Allow custom actions on Checkbox click-handlers. 2022-06-20 17:12:26 +04:00
John Preston
e1ec6a38be Allow clickable links in Ui::Checkbox texts. 2022-05-31 12:05:00 +04:00
Nicholas Guriev
258cacf7c5 Avoid conditional branching on uninitialized values
C++ initializes members in the order in which they are defined in class. So the
order is important if the members are accessed by other initializers or methods
called from them.

Class BoxLayerWidget:
  _roundRect is initialized based on _layerType through the st() method.

Class Checkbox:
  Arguments of _text constructor depend on _checkAlignment through the
  countTextMinWidth and the checkRect methods.
2022-04-14 15:35:38 +04:00
23rd
7d9c442ca9 Added access to AbstractCheckView from Checkbox. 2022-02-03 00:59:55 +03:00
23rd
0a0e5e1258 Added ability to pass TextWithEntities to Checkbox. 2021-12-28 03:27:25 +03:00
23rd
697f2851b0 Added ability to pass rpl::producer to Checkbox constructors. 2020-07-19 21:22:06 +03:00
John Preston
85c83003ca Initial commit. 2019-09-17 17:48:58 +03:00