diff options
| author | Jeff Carr <[email protected]> | 2025-09-04 18:47:19 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-09-04 18:47:19 -0500 |
| commit | 7d67ae7528fdda142e51dda401e9f801563c947a (patch) | |
| tree | 36484dedbf97d0d96d1517de848724f6cfcf82f2 /generateGui.go | |
| parent | 52089cf062d916f005e82e98f6f4a48d1920cfb5 (diff) | |
Diffstat (limited to 'generateGui.go')
| -rw-r--r-- | generateGui.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/generateGui.go b/generateGui.go index f1ba384..4da967e 100644 --- a/generateGui.go +++ b/generateGui.go @@ -235,6 +235,7 @@ func guiMain(w io.Writer, FRUITS string, FRUIT string) { fmt.Fprintln(w, " f func(*"+FRUIT+") string") fmt.Fprintln(w, " Custom func(*"+FRUIT+")") fmt.Fprintln(w, " order int") + fmt.Fprintln(w, " Width int") fmt.Fprintln(w, "}") fmt.Fprintln(w, "") fmt.Fprintln(w, "type "+FRUIT+"ButtonFunc struct {") @@ -242,6 +243,7 @@ func guiMain(w io.Writer, FRUITS string, FRUIT string) { fmt.Fprintln(w, " f func(*"+FRUIT+") string") fmt.Fprintln(w, " Custom func(*"+FRUIT+")") fmt.Fprintln(w, " order int") + fmt.Fprintln(w, " Width int") fmt.Fprintln(w, "}") fmt.Fprintln(w, "") fmt.Fprintln(w, "type "+FRUIT+"IntFunc struct {") @@ -249,6 +251,7 @@ func guiMain(w io.Writer, FRUITS string, FRUIT string) { fmt.Fprintln(w, " f func(*"+FRUIT+") int") fmt.Fprintln(w, " Custom func(*"+FRUIT+")") fmt.Fprintln(w, " order int") + fmt.Fprintln(w, " Width int") fmt.Fprintln(w, "}") fmt.Fprintln(w, "") fmt.Fprintln(w, "type "+FRUIT+"TimeFunc struct {") @@ -256,6 +259,7 @@ func guiMain(w io.Writer, FRUITS string, FRUIT string) { fmt.Fprintln(w, " f func(*"+FRUIT+") time.Time") fmt.Fprintln(w, " Custom func(*"+FRUIT+")") fmt.Fprintln(w, " order int") + fmt.Fprintln(w, " Width int") fmt.Fprintln(w, "}") fmt.Fprintln(w, "") fmt.Fprintln(w, "type "+FRUITS+"Table struct {") |
