mirror of
https://github.com/Fluffy-Bean/ColouringApp.git
synced 2025-05-19 01:44:55 +00:00
Finally, the code is clean enough to add more stuff
This commit is contained in:
parent
d0ebc1ee54
commit
00c449abff
3 changed files with 46 additions and 54 deletions
14
canvas.go
14
canvas.go
|
@ -5,13 +5,17 @@ import (
|
|||
)
|
||||
|
||||
type Canvas struct {
|
||||
Name string
|
||||
Size raylib.Vector2
|
||||
Offset raylib.Vector2
|
||||
Target raylib.RenderTexture2D
|
||||
Name string
|
||||
|
||||
Size raylib.Vector2
|
||||
Offset raylib.Vector2
|
||||
|
||||
Target raylib.RenderTexture2D
|
||||
|
||||
Strokes []penTool
|
||||
UndoneStrokes []penTool
|
||||
Refresh bool
|
||||
|
||||
Refresh bool
|
||||
}
|
||||
|
||||
func (c *Canvas) Update() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue