step
This commit is contained in:
parent
6e21bd54ae
commit
05e7c1f5e7
6 changed files with 10 additions and 9 deletions
|
@ -4,7 +4,6 @@ import (
|
|||
"fmt"
|
||||
|
||||
rl "github.com/Konstantin8105/raylib-go/raylib"
|
||||
gui "github.com/Konstantin8105/raylib-go/raygui"
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
@ -19,7 +18,7 @@ func main() {
|
|||
|
||||
rl.ClearBackground(rl.Black)
|
||||
|
||||
button = gui.Button(rl.NewRectangle(50, 150, 100, 40), "Click")
|
||||
button = rl.Button(rl.NewRectangle(50, 150, 100, 40), "Click")
|
||||
if button {
|
||||
fmt.Println("Clicked on button")
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue