27 lines
286 B
Go
27 lines
286 B
Go
package main
|
|
|
|
import (
|
|
"surdeus.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())
|
|
}
|