From 84175c27e18a959e3c62f44ea890421345c322a7 Mon Sep 17 00:00:00 2001 From: Alyxia Sother Date: Wed, 14 Jun 2023 13:13:18 +0200 Subject: [PATCH] fixup! [Meta] Move to lexisother --- design/textbox.go | 4 ++-- examples/.gitignore | 1 + examples/README.md | 6 ++++++ examples/app.go | 4 ++-- examples/main.go | 8 ++++---- framework/uiLibTextInput.go | 2 ++ 6 files changed, 17 insertions(+), 8 deletions(-) create mode 100644 examples/.gitignore diff --git a/design/textbox.go b/design/textbox.go index cc9684a..093442a 100644 --- a/design/textbox.go +++ b/design/textbox.go @@ -1,8 +1,8 @@ package design import ( - "github.com/uwu/frenyard" - "github.com/uwu/frenyard/framework" + "github.com/lexisother/frenyard" + "github.com/lexisother/frenyard/framework" ) func mkTxtBox(hint string, str *string, text []string, newline bool) framework.UILayoutElement { diff --git a/examples/.gitignore b/examples/.gitignore new file mode 100644 index 0000000..1e107f5 --- /dev/null +++ b/examples/.gitignore @@ -0,0 +1 @@ +examples diff --git a/examples/README.md b/examples/README.md index b746cd5..c57a1e5 100644 --- a/examples/README.md +++ b/examples/README.md @@ -1,2 +1,8 @@ +# Example Project + There is only a single example here as of now. Not much is needed to demonstrate Frenyard, as it is quite small. + +## TODO + +- Turn into a proper component playground diff --git a/examples/app.go b/examples/app.go index 0e29c34..0618f75 100644 --- a/examples/app.go +++ b/examples/app.go @@ -1,8 +1,8 @@ package main import ( - "github.com/uwu/frenyard" - "github.com/uwu/frenyard/framework" + "github.com/lexisother/frenyard" + "github.com/lexisother/frenyard/framework" ) // UpApplication is the struct that powers anything referenced under `app`. diff --git a/examples/main.go b/examples/main.go index 19d2540..7a6fc74 100644 --- a/examples/main.go +++ b/examples/main.go @@ -1,10 +1,10 @@ package main import ( - "github.com/uwu/frenyard" - "github.com/uwu/frenyard/design" - "github.com/uwu/frenyard/framework" - "github.com/uwu/frenyard/integration" + "github.com/lexisother/frenyard" + "github.com/lexisother/frenyard/design" + "github.com/lexisother/frenyard/framework" + "github.com/lexisother/frenyard/integration" ) func main() { diff --git a/framework/uiLibTextInput.go b/framework/uiLibTextInput.go index 90c4f14..3fba585 100644 --- a/framework/uiLibTextInput.go +++ b/framework/uiLibTextInput.go @@ -1,11 +1,13 @@ package framework import ( + "fmt" "strings" "golang.org/x/image/math/fixed" "github.com/lexisother/frenyard" "github.com/lexisother/frenyard/integration" "golang.org/x/image/font" + "github.com/veandco/go-sdl2/sdl" ) // UITextbox is a textbox.