Documentation
¶
Index ¶
- type Item
- type List
- type TextArea
- type TextView
- func (t *TextView) AddText(text string)
- func (t TextView) AtBottom() bool
- func (t TextView) AtTop() bool
- func (t *TextView) Draw(textColor sdl.Color)
- func (t *TextView) GetScrollOffset() int
- func (t *TextView) GetText() []string
- func (t *TextView) GoToBottom()
- func (t *TextView) ScrollDown(n int)
- func (t *TextView) ScrollUp(n int)
- func (t *TextView) SetContent(text []string)
- func (t *TextView) SetYOffset(n int)
- type TextViewSize
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type List ¶
type List struct {
// contains filtered or unexported fields
}
func (*List) GetScrollOffset ¶
func (*List) GetSelectedIndex ¶
func (*List) ScrollDown ¶
func (l *List) ScrollDown()
type TextArea ¶
type TextArea struct {
// contains filtered or unexported fields
}
func NewTextArea ¶
func (*TextArea) GetScrollOffset ¶
func (*TextArea) ScrollDown ¶
func (t *TextArea) ScrollDown()
type TextView ¶
type TextView struct { YOffset int // contains filtered or unexported fields }
func NewTextView ¶
func (*TextView) GetScrollOffset ¶
func (*TextView) GoToBottom ¶
func (t *TextView) GoToBottom()
func (*TextView) ScrollDown ¶
func (*TextView) SetContent ¶
func (*TextView) SetYOffset ¶
type TextViewSize ¶ added in v1.2.0
Click to show internal directories.
Click to hide internal directories.