mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-04 17:05:38 +00:00
ui: rename block to macro
It is a more precise name. Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
+2
-2
@@ -28,9 +28,9 @@ type Editor struct {
|
||||
SingleLine bool
|
||||
Submit bool
|
||||
|
||||
Material ui.BlockOp
|
||||
Material ui.MacroOp
|
||||
Hint string
|
||||
HintMaterial ui.BlockOp
|
||||
HintMaterial ui.MacroOp
|
||||
|
||||
oldScale int
|
||||
blinkStart time.Time
|
||||
|
||||
+1
-1
@@ -18,7 +18,7 @@ import (
|
||||
|
||||
type Label struct {
|
||||
Face Face
|
||||
Material ui.BlockOp
|
||||
Material ui.MacroOp
|
||||
Alignment Alignment
|
||||
Text string
|
||||
MaxLines int
|
||||
|
||||
+1
-1
@@ -40,7 +40,7 @@ type LayoutOptions struct {
|
||||
|
||||
type Face interface {
|
||||
Layout(str string, opts LayoutOptions) *Layout
|
||||
Path(str String) ui.BlockOp
|
||||
Path(str String) ui.MacroOp
|
||||
}
|
||||
|
||||
type Alignment uint8
|
||||
|
||||
Reference in New Issue
Block a user