Arthur Sonzogni
3f005d7715
Add focusable Renderer. ( #173 )
2021-08-06 20:32:33 +02:00
Tushar Maheshwari
21d746e858
Remove explicit default destructors ( #157 )
...
From CppCoreGuidelines:
Rule of Zero: C.20: If you can avoid defining default operations, do.
C.52: Use inheriting constructors to import constructors into a derived class that does not need further explicit initialization.
DRY forward and using declarations.
Miscellaneous:
Fix format.sh to output examples with normalised paths in sorted order.
Co-authored-by: ArthurSonzogni <sonzogniarthur@gmail.com>
2021-07-17 12:02:08 +02:00
ArthurSonzogni
9820832fea
Improve the documentation.
2021-07-11 12:23:42 +02:00
ArthurSonzogni
5c4cd1add1
Execute IWYU
2021-07-11 12:23:42 +02:00
ArthurSonzogni
26db8228f9
Remove input.hpp
2021-07-11 12:23:42 +02:00
ArthurSonzogni
fac373494d
Add option for Toggle.
2021-07-11 12:23:42 +02:00
ArthurSonzogni
ae6473363d
Add option for radiobox
2021-07-11 12:23:42 +02:00
ArthurSonzogni
33b3d1c7ab
Add option for input.
2021-07-11 12:23:42 +02:00
ArthurSonzogni
2b7daf061f
Add options for checkbox.
2021-07-11 12:23:42 +02:00
ArthurSonzogni
359100ca73
Add option for Button.
2021-07-11 12:23:42 +02:00
ArthurSonzogni
cd84b187b3
Introduce Options and use them for Menu.
...
Introduce Options for components. This allows me to add new features,
without updating functions signatures.
2021-07-11 12:23:42 +02:00
Shreyas Atre
bd21cac2b6
Menu of components ( #131 )
...
Allow Container::Vertical and Container::Horizontal to have an
external selector, similar to Container::Tab.
This is useful for implementing a menu of menu.
Co-authored-by: ArthurSonzogni <sonzogniarthur@gmail.com>
2021-06-27 17:53:17 +02:00
ArthurSonzogni
2445dc03d3
Add "long" to slider.
2021-06-02 21:13:23 +02:00
ArthurSonzogni
2504a24ee0
Add documentation for ResizableSplit
2021-05-28 15:07:08 +02:00
ArthurSonzogni
bba2abbb60
Introduce ResizableSplit
2021-05-28 15:07:08 +02:00
Arthur Sonzogni
aacb677e84
Introduce CatchEvent ( #104 )
2021-05-23 12:53:20 +02:00
Arthur Sonzogni
7b88656e25
Add option to have button without border. ( #101 )
2021-05-18 17:49:53 +02:00
Arthur Sonzogni
7daeac25c0
Modify signature of Container::Tab(...) ( #92 )
...
Take selector at the end to get more pleasing results with clang-format.
2021-05-15 02:32:42 +02:00
ArthurSonzogni
fcc49fdce7
Format using iwyu.
2021-05-15 00:19:19 +02:00
ArthurSonzogni
048efb6912
Add {Const,}StringRef to simplify components.
2021-05-14 21:47:51 +02:00
ArthurSonzogni
9fdf235836
Improve the documentation.
2021-05-14 20:56:37 +02:00
ArthurSonzogni
c9aa1805eb
Add the Renderer component.
2021-05-13 11:44:47 +02:00
ArthurSonzogni
6d75cb2748
Make component more functionnal
2021-05-09 22:35:34 +02:00
ArthurSonzogni
155758c073
Use IWYU.
2021-05-01 23:19:07 +02:00
ArthurSonzogni
eb399d20c5
Capture mouse for the slider component.
2021-05-01 18:13:56 +02:00
ArthurSonzogni
0af8201023
Add the slider component.
2021-04-29 00:18:58 +02:00
ArthurSonzogni
81d79d311d
Add TakeFocus and SetActiveChild.
...
This allows developers to set child children component must be the
currently active/focused one.
This can be used to "control" where the focus is, without user
interactions.
2020-08-28 23:54:25 +02:00
ArthurSonzogni
114ab4ae2a
Add more documentation.
2020-08-28 23:54:25 +02:00
ArthurSonzogni
f2dc080a35
Variou details:
...
- Put the MIT copyright at the end.
- Move the directory /other -> tools
- Various improvements.
2020-08-28 23:54:25 +02:00
ArthurSonzogni
f506be941d
Add automatic formatting and license.
2020-04-19 21:01:09 +02:00
ArthurSonzogni
493e734680
Set clang-format macro indent.
...
1) Set clang-format macro indent.
2) Run clang-format on every files.
2020-03-23 21:26:00 +01:00
ArthurSonzogni
ef0de8d873
Add support for nxxm.
...
[nxxm](https://nxxm.github.io )
2019-02-02 02:25:06 +01:00