Viktor
1a9ae1af69
example/kitchen: include example of affine transforms
...
Include an example of transforming the entire UI in the example.
Signed-off-by: Viktor <viktor.ogeman@gmail.com >
2020-06-21 11:38:27 +02:00
Elias Naur
dd225d5d07
example,cmd: bump gio version
...
Signed-off-by: Elias Naur <mail@eliasnaur.com >
2020-06-17 12:08:08 +02:00
Chris Waldon
5214b26731
example/kitchen: add flag to draw all widgets disabled
...
This adds a --disable flag to the kitchen example so that it's easy
to preview what all widgets look like when they are disabled.
Signed-off-by: Chris Waldon <christopher.waldon.dev@gmail.com >
2020-06-15 09:55:37 +02:00
Elias Naur
4c28369aa2
example/kitchen: ensure widgets are enabled when taking a screenshot
...
Signed-off-by: Elias Naur <mail@eliasnaur.com >
2020-06-12 16:59:12 +02:00
Elias Naur
b1df2a61a9
cmd,example: bump gio version
...
Signed-off-by: Elias Naur <mail@eliasnaur.com >
2020-06-09 23:24:12 +02:00
Elias Naur
81a84d874b
example,cmd: bump gio version
...
Signed-off-by: Elias Naur <mail@eliasnaur.com >
2020-06-09 23:03:36 +02:00
Chris Waldon
bda315e687
example/kitchen: add a button that is {dis,en}abled by the switch
...
This adds a simple button that defaults to being disabled, but can
be enabled by toggling the state of the existing Switch widget.
Signed-off-by: Chris Waldon <christopher.waldon.dev@gmail.com >
2020-06-08 10:19:31 +02:00
Elias Naur
352856fc24
example,cmd: bump gio version
...
Signed-off-by: Elias Naur <mail@eliasnaur.com >
2020-06-07 16:33:39 +02:00
Elias Naur
3164a3fee7
example,cmd: bump gio version
...
Signed-off-by: Elias Naur <mail@eliasnaur.com >
2020-05-24 13:24:13 +02:00
Elias Naur
d8000880c3
example,cmd: bump gio version
...
Signed-off-by: Elias Naur <mail@eliasnaur.com >
2020-05-23 23:14:46 +02:00
Elias Naur
99080023e4
example,cmd: bump gio version
...
Signed-off-by: Elias Naur <mail@eliasnaur.com >
2020-05-19 10:16:25 +02:00
Elias Naur
e89277951c
example/kitchen: add clipboard example
...
Updates gio#31
Signed-off-by: Elias Naur <mail@eliasnaur.com >
2020-05-17 19:14:30 +02:00
Elias Naur
a0df8ba59b
example: bump gio version and add flat button example to kitchen
...
Signed-off-by: Elias Naur <mail@eliasnaur.com >
2020-05-11 13:20:17 +02:00
Elias Naur
73475270fe
example: bump gio version
...
Signed-off-by: Elias Naur <mail@eliasnaur.com >
2020-05-11 11:32:45 +02:00
Elias Naur
05efb9b5f4
example/kitchen: add Switch widget
...
Signed-off-by: Elias Naur <mail@eliasnaur.com >
2020-05-05 10:41:10 +02:00
Elias Naur
a1166e6652
example,cmd: bump gio version
...
Signed-off-by: Elias Naur <mail@eliasnaur.com >
2020-05-03 21:07:53 +02:00
Elias Naur
d474b5b16a
example: bump gio version
...
Signed-off-by: Elias Naur <mail@eliasnaur.com >
2020-05-03 13:06:55 +02:00
Fabian Geiselhart
b862f4f174
example/kitchen: Use the button passed to iconAndTextButton.Layout
...
The global iconTextButton variable was used instead of the passed
button.
Signed-off-by: Fabian Geiselhart <me@f4814n.de >
2020-05-01 15:32:27 +02:00
metaclips
efce78d414
example/kitchen: add ProgressBar example
...
Updates the kitchen example codebase showing ProgressBar functionality.
Signed-off-by: metaclips <utimichael9@gmail.com >
2020-04-03 10:49:47 +02:00
metaclips
43df9f2677
example/kitchen: add ButtonLayout example
...
Updates the kitchen example codebase showing ButtonLayout functionality.
2020-03-24 15:12:44 +01:00
Elias Naur
0bfcac9734
cmd,example: update gio version
...
Signed-off-by: Elias Naur <mail@eliasnaur.com >
2019-12-12 00:48:31 +01:00
Elias Naur
b3c095fdcc
example/kitchen: add newline after error message
...
Signed-off-by: Elias Naur <mail@eliasnaur.com >
2019-12-02 14:35:23 +01:00
Elias Naur
16e6e2d3f7
example/kitchen: dump screenshots in 1.5 scale
...
Signed-off-by: Elias Naur <mail@eliasnaur.com >
2019-12-02 14:33:27 +01:00
Elias Naur
9023b1b865
example/kitchen: add -screenshot flag
...
Signed-off-by: Elias Naur <mail@eliasnaur.com >
2019-12-02 14:02:36 +01:00
Elias Naur
1762e0c07b
cmd,example: update gio version
...
Signed-off-by: Elias Naur <mail@eliasnaur.com >
2019-12-02 13:20:20 +01:00
Alexander Arin
089ae31f0c
widgets, widgets/material: add RadioButton & Enum
...
Signed-off-by: Alexander Arin <fralx@yandex.ru >
2019-11-06 11:02:28 +01:00
Elias Naur
65146a5337
example/kitchen: add CheckBox example
...
Signed-off-by: Elias Naur <mail@eliasnaur.com >
2019-11-04 00:42:02 +01:00
Elias Naur
4107485902
widget,widget/material: remove disabled drawing modes
...
Determining the enabled state of a widget from whether its Clicked method has
been called only works for button-like widgets. For example, it's not clear a
Clicked method is appropriate for a CheckBox.
Remove the feature for now, and let's find a better design in the future.
As a nice side effect, we can now process events in Layout methods, so that
buttons react to user input even when Clicked is not called.
Signed-off-by: Elias Naur <mail@eliasnaur.com >
2019-11-02 14:48:22 +01:00
Elias Naur
9a62468c25
example: update gio version
...
Signed-off-by: Elias Naur <mail@eliasnaur.com >
2019-10-23 10:21:08 +02:00
Elias Naur
2884604521
example/kitchen: clean up
...
Signed-off-by: Elias Naur <mail@eliasnaur.com >
2019-10-22 08:42:59 +02:00
Elias Naur
b2a360098a
example: go fmt imports
...
Signed-off-by: Elias Naur <mail@eliasnaur.com >
2019-10-15 10:10:37 +02:00
Elias Naur
3a27bcea2e
example: update gio version
...
Signed-off-by: Elias Naur <mail@eliasnaur.com >
2019-10-14 16:44:02 +02:00
Elias Naur
641656b307
example/kitchen: use a different color for the disabled button
...
Signed-off-by: Elias Naur <mail@eliasnaur.com >
2019-10-14 15:08:26 +02:00
Elias Naur
7672c08f46
example: update gio version
...
Signed-off-by: Elias Naur <mail@eliasnaur.com >
2019-10-13 18:29:39 +02:00
Elias Naur
5a82fc9267
example/kitchen: place buttons on the same row
...
Signed-off-by: Elias Naur <mail@eliasnaur.com >
2019-10-12 16:52:00 +02:00
Elias Naur
48cf8af2f2
example/kitchen: add example for demonstrating widgets and theming
...
Signed-off-by: Elias Naur <mail@eliasnaur.com >
2019-10-12 15:39:50 +02:00