screen

package
v0.0.12 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2014 License: BSD-2-Clause Imports: 6 Imported by: 0

Documentation

Overview

This file configures the screen, basically remembering the size and foreground and background colours.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TermboxAttribute

type TermboxAttribute termbox.Attribute

type TermboxScreen

type TermboxScreen struct {
	// contains filtered or unexported fields
}

this just allows me to use stuff with it

func (*TermboxScreen) Clear

func (s *TermboxScreen) Clear()

clear the screen

func (*TermboxScreen) Close

func (s *TermboxScreen) Close()

func (*TermboxScreen) DisplayHelp

func (s *TermboxScreen) DisplayHelp()

func (*TermboxScreen) Flush

func (s *TermboxScreen) Flush()

func (*TermboxScreen) Height

func (s *TermboxScreen) Height() int

func (*TermboxScreen) Initialise

func (s *TermboxScreen) Initialise()

reset the termbox to a clear screen

func (*TermboxScreen) PrintAt

func (s *TermboxScreen) PrintAt(x int, y int, text string)

print the characters but don't print them outside the screen

func (*TermboxScreen) SetSize

func (s *TermboxScreen) SetSize(width, height int)

func (*TermboxScreen) Size

func (s *TermboxScreen) Size() (int, int)

Jump to

Keyboard shortcuts

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