ux stuff
This commit is contained in:
23
common/elements/v1/block.go
Normal file
23
common/elements/v1/block.go
Normal file
@@ -0,0 +1,23 @@
|
||||
package elements
|
||||
|
||||
import (
|
||||
"context"
|
||||
|
||||
"github.com/hajimehoshi/ebiten/v2"
|
||||
)
|
||||
|
||||
func NewBlock(inline bool) *Block {
|
||||
|
||||
}
|
||||
|
||||
type Block struct {
|
||||
inline bool
|
||||
}
|
||||
|
||||
func (b *Block) Draw(ctx context.Context, image *ebiten.Image) error {
|
||||
|
||||
}
|
||||
|
||||
func (b *Block) OnClick(ctx context.Context, click *ClickEvent) {
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user