gg/cmd/test/text.go

28 lines
286 B
Go
Raw Normal View History

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