gg/cmd/test/text.go

27 lines
285 B
Go

package main
import (
"vultras.su/core/gg"
//"fmt"
)
type Objecter interface{
}
type Wrap[V Objecter] struct {
O V
}
//func (w *Wrap)
type Context2 struct {
*gg.Context
}
type Text struct{
gg.Text
}
func (txt *Text) Update(c *Context) {
//txt.Data += string(c.Runes())
}