layout

package
v0.0.0-...-101bed3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 22, 2015 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	List pagetype = iota
	Comments
	Empty
	Help
)

Variables

This section is empty.

Functions

func BuildTitleTag

func BuildTitleTag(s *geddit.Submission) string

func Clear

func Clear(g *gocui.Gui, v *gocui.View)

func CommentsLayout

func CommentsLayout(g *gocui.Gui, allViews []*gocui.View, submission *geddit.Submission) []*gocui.View

func GetPage

func GetPage() pagetype

func GetViews

func GetViews() []*gocui.View

func GetVotes

func GetVotes() []*gocui.View

func HelpLayout

func HelpLayout(g *gocui.Gui, allViews []*gocui.View) []*gocui.View

func Layout

func Layout(g *gocui.Gui) error

func PostsLayout

func PostsLayout(g *gocui.Gui, allViews []*gocui.View, submissions []*geddit.Submission, currentIndex int) []*gocui.View

func SetPage

func SetPage(page pagetype)

func SetViews

func SetViews(v []*gocui.View)

func SetVotes

func SetVotes(v []*gocui.View)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL