console

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Kernel32 = windows.NewLazyDLL("kernel32")

Kernel32 is the instance of kernel32.dll

Functions

This section is empty.

Types

type CoordT

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

CoordT exists for compatible. You should use windows.Coord

func (CoordT) X

func (c CoordT) X() int

X is getter of X-coordination.

func (CoordT) XY

func (c CoordT) XY() (int, int)

XY is getter of all field of the coordination.

func (CoordT) Y

func (c CoordT) Y() int

Y is getter of Y-coordination.

type Handle

type Handle = windows.Handle

Handle is the alias of windows.Handle

func In

func In() Handle

In returns the handle for Console-Input

func Out

func Out() Handle

Out returns the handle for Console-Output

type SmallRectT

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

SmallRectT exists for compatible. You should use windows.SmallRect

func LeftTopRightBottom

func LeftTopRightBottom(L, T, R, B int) *SmallRectT

LeftTopRightBottom is the constructor for SmallRectT

func (SmallRectT) Bottom

func (s SmallRectT) Bottom() int

Bottom is the getter of `bottom` field.

func (SmallRectT) Left

func (s SmallRectT) Left() int

Left is the getter of `left` field.

func (SmallRectT) Right

func (s SmallRectT) Right() int

Right is the getter of `right` field.

func (SmallRectT) Top

func (s SmallRectT) Top() int

Top is the getter of `top` field.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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