Documentation
¶
Index ¶
- Constants
- type Plane
- type VideoMemory
- func (vmem *VideoMemory) Clear()
- func (vmem *VideoMemory) Get(plane Plane, x, y int) bool
- func (vmem *VideoMemory) GetIndex(plane Plane, index int) bool
- func (vmem *VideoMemory) Height() int
- func (vmem *VideoMemory) RenderHeight() int
- func (vmem *VideoMemory) RenderWidth() int
- func (vmem *VideoMemory) ScrollDown(lines int)
- func (vmem *VideoMemory) ScrollLeft()
- func (vmem *VideoMemory) ScrollRight()
- func (vmem *VideoMemory) ScrollUp(lines int)
- func (vmem *VideoMemory) Set(plane Plane, x, y int, value bool)
- func (vmem *VideoMemory) SetAll(value bool)
- func (vmem *VideoMemory) ToIndex(x, y int) int
- func (vmem *VideoMemory) Width() int
- type VideoMode
Constants ¶
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type VideoMemory ¶
type VideoMemory struct { VideoMode VideoMode Plane Plane // contains filtered or unexported fields }
func NewVideoMemory ¶
func NewVideoMemory() *VideoMemory
NewVideoMemory creates and initializes a new instance
func (*VideoMemory) Clear ¶
func (vmem *VideoMemory) Clear()
func (*VideoMemory) Height ¶
func (vmem *VideoMemory) Height() int
func (*VideoMemory) RenderHeight ¶
func (vmem *VideoMemory) RenderHeight() int
func (*VideoMemory) RenderWidth ¶
func (vmem *VideoMemory) RenderWidth() int
func (*VideoMemory) ScrollDown ¶
func (vmem *VideoMemory) ScrollDown(lines int)
func (*VideoMemory) ScrollLeft ¶
func (vmem *VideoMemory) ScrollLeft()
func (*VideoMemory) ScrollRight ¶
func (vmem *VideoMemory) ScrollRight()
func (*VideoMemory) ScrollUp ¶
func (vmem *VideoMemory) ScrollUp(lines int)
func (*VideoMemory) SetAll ¶
func (vmem *VideoMemory) SetAll(value bool)
func (*VideoMemory) ToIndex ¶
func (vmem *VideoMemory) ToIndex(x, y int) int
func (*VideoMemory) Width ¶
func (vmem *VideoMemory) Width() int
Click to show internal directories.
Click to hide internal directories.