gg/cmd/test/text.go

28 lines
285 B
Go
Raw Normal View History

2024-01-13 18:17:34 +03:00
package main
import (
"vultras.su/core/gg"
//"fmt"
2024-01-13 18:17:34 +03:00
)
type Objecter interface{
}
type Wrap[V Objecter] struct {
O V
}
//func (w *Wrap)
type Context2 struct {
*gg.Context
2024-01-13 18:17:34 +03:00
}
type Text struct{
gg.Text
}
func (txt *Text) Update(c *Context) {
//txt.Data += string(c.Runes())
}