Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| ae5c177484 | |||
| facd85ef21 |
@@ -109,10 +109,11 @@ type Box interface {
|
|||||||
Window () Window
|
Window () Window
|
||||||
Bounds () image.Rectangle
|
Bounds () image.Rectangle
|
||||||
InnerBounds () image.Rectangle
|
InnerBounds () image.Rectangle
|
||||||
|
MinimumSize () image.Point
|
||||||
SetBounds (image.Rectangle)
|
SetBounds (image.Rectangle)
|
||||||
SetColor (color.Color)
|
SetColor (color.Color)
|
||||||
SetBorder (...Border)
|
SetBorder (...Border)
|
||||||
SetMinimumSize (int, int)
|
SetMinimumSize (image.Point)
|
||||||
SetPadding (Inset)
|
SetPadding (Inset)
|
||||||
|
|
||||||
SetDNDData (data.Data)
|
SetDNDData (data.Data)
|
||||||
@@ -159,6 +160,8 @@ type ContentBox interface {
|
|||||||
// TextBox is a box that contains text content.
|
// TextBox is a box that contains text content.
|
||||||
type TextBox interface {
|
type TextBox interface {
|
||||||
ContentBox
|
ContentBox
|
||||||
|
|
||||||
|
SetText (string)
|
||||||
SetTextColor (color.Color)
|
SetTextColor (color.Color)
|
||||||
SetFace (font.Face)
|
SetFace (font.Face)
|
||||||
SetHAlign (Align)
|
SetHAlign (Align)
|
||||||
|
|||||||
Reference in New Issue
Block a user