~metaclips

Recent activity

[PATCH v4] example/kitchen: add ProgressBar example 2 days ago

From metaclips to ~eliasnaur/gio-patches

Updates the kitchen example codebase showing ProgressBar functionality.

Signed-off-by: metaclips <utimichael9@gmail.com>
---
 example/go.mod             |  2 +-
 example/go.sum             |  4 +--
 example/kitchen/kitchen.go | 50 ++++++++++++++++++++++++++++----------
 3 files changed, 40 insertions(+), 16 deletions(-)

diff --git a/example/go.mod b/example/go.mod
index 000dbf7..14ead80 100644
--- a/example/go.mod
+++ b/example/go.mod
@@ -3,7 +3,7 @@ module gioui.org/example
[message trimmed]

[PATCH v3] example/kitchen: add ProgressBar example 2 days ago

From metaclips to ~eliasnaur/gio-patches

Updates the kitchen example codebase showing ProgressBar functionality.

Signed-off-by: metaclips <utimichael9@gmail.com>
---
 example/kitchen/kitchen.go | 43 +++++++++++++++++++++-----------------
 1 file changed, 24 insertions(+), 19 deletions(-)

diff --git a/example/kitchen/kitchen.go b/example/kitchen/kitchen.go
index 33d750f..5c97227 100644
--- a/example/kitchen/kitchen.go
+++ b/example/kitchen/kitchen.go
@@ -22,7 +22,6 @@ import (
	"gioui.org/font/gofont"
	"gioui.org/io/system"
[message trimmed]

Re: [PATCH 2/2] example/kitchen: add ProgressBar example 2 days ago

From Uti Michael to ~eliasnaur/gio-patches

Got it, thanks!


On Thu, Apr 2, 2020 at 8:16 PM Elias Naur <mail@eliasnaur.com> wrote:
>
> On Thu Apr 2, 2020 at 19:54, metaclips wrote:
> > Updates the kitchen example codebase showing ProgressBar functionality.
> >
> > Signed-off-by: metaclips <utimichael9@gmail.com>
> > ---
> >  example/kitchen/kitchen.go | 21 ++++++++++++++++++++-
> >  1 file changed, 20 insertions(+), 1 deletion(-)
> >
> > diff --git a/example/kitchen/kitchen.go b/example/kitchen/kitchen.go

[PATCH 2/2] example/kitchen: add ProgressBar example 2 days ago

From metaclips to ~eliasnaur/gio-patches

Updates the kitchen example codebase showing ProgressBar functionality.

Signed-off-by: metaclips <utimichael9@gmail.com>
---
 example/kitchen/kitchen.go | 21 ++++++++++++++++++++-
 1 file changed, 20 insertions(+), 1 deletion(-)

diff --git a/example/kitchen/kitchen.go b/example/kitchen/kitchen.go
index 50ff846..33d750f 100644
--- a/example/kitchen/kitchen.go
+++ b/example/kitchen/kitchen.go
@@ -22,6 +22,7 @@ import (
	"gioui.org/font/gofont"
	"gioui.org/io/system"
[message trimmed]

[PATCH 1/2] widget/material: add ProgressBar 2 days ago

From metaclips to ~eliasnaur/gio-patches

Add progress indicator support to material widget

Signed-off-by: metaclips <utimichael9@gmail.com>
---
 widget/material/progressbar.go | 68 ++++++++++++++++++++++++++++++++++
 1 file changed, 68 insertions(+)
 create mode 100644 widget/material/progressbar.go

diff --git a/widget/material/progressbar.go b/widget/material/progressbar.go
new file mode 100644
index 0000000..a21a18d
--- /dev/null
+++ b/widget/material/progressbar.go
@@ -0,0 +1,68 @@
[message trimmed]

Re: [PATCH] example/kitchen: add ProgressBar example 6 days ago

From Uti Michael to ~eliasnaur/gio-patches

> If you have the time, perhaps also make the progress bar
> animated over time

Ideas I have on animation
1. We could call drawink (same as button click animation) when the
progress value changes
2. We could change colours at certain progress value
more here https://medium.com/@calebkiage/creating-an-animated-progress-indicator-in-flutter-part-1-c7a95453a883

Any you'd recommend?

On Fri, Mar 27, 2020 at 11:07 AM Elias Naur <mail@eliasnaur.com> wrote:
>
> Thanks. Could you increase the window height to keep the bottom radio

[PATCH] example/kitchen: add ProgressBar example 9 days ago

From metaclips to ~eliasnaur/gio-patches

Updates the kitchen example codebase showing ProgressBar functionality.

Signed-off-by: metaclips <utimichael9@gmail.com>
---
 example/kitchen/kitchen.go | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/example/kitchen/kitchen.go b/example/kitchen/kitchen.go
index 50ff846..b07e2de 100644
--- a/example/kitchen/kitchen.go
+++ b/example/kitchen/kitchen.go
@@ -204,6 +204,9 @@ func kitchen(gtx *layout.Context, th *material.Theme) {
				}),
			)
[message trimmed]

[PATCH v2] widget/material: add ProgressBar 9 days ago

From metaclips to ~eliasnaur/gio-patches

Add progress indicator support to material widget

Signed-off-by: metaclips <utimichael9@gmail.com>
---
 widget/material/progressbar.go | 68 ++++++++++++++++++++++++++++++++++
 1 file changed, 68 insertions(+)
 create mode 100644 widget/material/progressbar.go

diff --git a/widget/material/progressbar.go b/widget/material/progressbar.go
new file mode 100644
index 0000000..b4528a0
--- /dev/null
+++ b/widget/material/progressbar.go
@@ -0,0 +1,68 @@
[message trimmed]

Re: [PATCH v1] widget/material: add ProgressBar 9 days ago

From Uti Michael to ~eliasnaur/gio-patches

> I'll hold off submitting this until the example commit, so I can see the
> progress bar in action.

Sure, this can be done, though I really don't know how I can get the online
commit in go.mod to show the widget in action.
Would sending a patch with an updated kitchen example using
gioui local commit in go.mod suffice.
i.e replace gioui.org => ../.
Then when we agree for a merge to both the widget and example, we can
make the split and merge them in different commits.


On Thu, Mar 26, 2020 at 9:55 AM Elias Naur <mail@eliasnaur.com> wrote:
>

[PATCH v1] widget/material: add ProgressBar 10 days ago

From metaclips to ~eliasnaur/gio-patches

Add progress indicator support to material widget
---
 widget/material/progressbar.go | 68 ++++++++++++++++++++++++++++++++++
 1 file changed, 68 insertions(+)
 create mode 100644 widget/material/progressbar.go

diff --git a/widget/material/progressbar.go b/widget/material/progressbar.go
new file mode 100644
index 0000000..004a6be
--- /dev/null
+++ b/widget/material/progressbar.go
@@ -0,0 +1,68 @@
// SPDX-License-Identifier: Unlicense OR MIT

[message trimmed]