ui: rename block to macro

It is a more precise name.

Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
Elias Naur
2019-07-15 20:31:11 +02:00
parent f36070f716
commit 3b5fcfe2bb
10 changed files with 77 additions and 76 deletions
+2 -2
View File
@@ -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
View File
@@ -18,7 +18,7 @@ import (
type Label struct {
Face Face
Material ui.BlockOp
Material ui.MacroOp
Alignment Alignment
Text string
MaxLines int
+1 -1
View File
@@ -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