Commit graph

11 commits

Author SHA1 Message Date
John Preston
849a840503 Implement BoxShow as a wrapper around long-living *Show. 2023-03-10 18:40:49 +04:00
John Preston
c468f8b3c6 Allow adding any buttons to BoxContent. 2022-05-18 14:17:10 +04:00
John Preston
9b6e11db62 Add anim::repeat enumeration (loop / once). 2022-05-04 11:22:46 +04:00
23rd
35c84d7d54 Removed unused includes from BoxLayerWidget. 2022-05-03 14:57:51 +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
b69fcf6048 Added ability to hide layer from delegate of BoxContent. 2022-02-25 12:56:10 +03:00
John Preston
7fd90cb38b Add onShowFinished callback to BoxContent. 2020-11-30 21:06:12 +03:00
John Preston
7287e235e0 Allow different styles for box layers. 2020-11-29 21:26:20 +03:00
John Preston
42209dc545 Support custom buttons padding in boxes. 2019-10-23 14:32:12 +03:00
John Preston
d68dfd3320 Allow triggering buttons in boxes from code. 2019-09-26 09:53:57 +03:00
John Preston
f4904e5ec4 Add layer and box management. 2019-09-18 14:17:24 +03:00