Documentation ¶
Index ¶
- type App
- type Divider
- type Drawable
- type ImageView
- type LinearLayout
- func (layout *LinearLayout) DisableBorder()
- func (layout LinearLayout) Draw(left uint32, top uint32, right uint32, bottom uint32)
- func (layout *LinearLayout) EnableBorder()
- func (layout LinearLayout) GetAbsoluteHeight() uint32
- func (layout LinearLayout) GetAbsoluteWidth() uint32
- func (layout LinearLayout) GetAbsoluteX() uint32
- func (layout LinearLayout) GetAbsoluteY() uint32
- func (layout LinearLayout) OnStart()
- type TextView
- type View
- type ViewGroup
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LinearLayout ¶
func (*LinearLayout) DisableBorder ¶
func (layout *LinearLayout) DisableBorder()
func (LinearLayout) Draw ¶
func (layout LinearLayout) Draw(left uint32, top uint32, right uint32, bottom uint32)
func (*LinearLayout) EnableBorder ¶
func (layout *LinearLayout) EnableBorder()
func (LinearLayout) GetAbsoluteHeight ¶
func (layout LinearLayout) GetAbsoluteHeight() uint32
func (LinearLayout) GetAbsoluteWidth ¶
func (layout LinearLayout) GetAbsoluteWidth() uint32
func (LinearLayout) GetAbsoluteX ¶
func (layout LinearLayout) GetAbsoluteX() uint32
func (LinearLayout) GetAbsoluteY ¶
func (layout LinearLayout) GetAbsoluteY() uint32
func (LinearLayout) OnStart ¶
func (layout LinearLayout) OnStart()
type View ¶
type View struct { Parent *ViewGroup ForegroundColor termbox.Attribute BackgroundColor termbox.Attribute LeftMargin uint32 TopMargin uint32 RightMargin uint32 BottomMargin uint32 Width size.Size Height size.Size LayoutGravity gravity.Type }
func (View) GetBottomMargin ¶
func (View) GetLayoutGravity ¶
func (View) GetLeftMargin ¶
func (View) GetRightMargin ¶
func (View) GetTopMargin ¶
type ViewGroup ¶
type ViewGroup struct {
// contains filtered or unexported fields
}
func (ViewGroup) GetAbsoluteHeight ¶
func (ViewGroup) GetAbsoluteWidth ¶
func (ViewGroup) GetAbsoluteX ¶
func (ViewGroup) GetAbsoluteY ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.