Documentation
¶
Overview ¶
Package implements an internal mechanism to communicate with an impress terminal.
Index ¶
- type Client
- func (c *Client) ApplicationExit() string
- func (c *Client) ApplicationSize(x, y, width, height int)
- func (c *Client) ApplicationTitle(title string)
- func (c *Client) ApplicationVersion() string
- func (c *Client) FontDrop(fontID int)
- func (c *Client) FontNew(fontID int, height int, style, variant, weight, stretch int, family string) (int, int, int)
- func (c *Client) FontSize(fontID int, text string) (int, int)
- func (c *Client) FontSplit(fontID int, text string, edge, indent int) []int
- func (c *Client) FrameDrop(frameID int)
- func (c *Client) FrameNew(frameID int, parentFrameID int, x, y, width, height int)
- func (c *Client) FrameRaise(frameID int)
- func (c *Client) FrameSize(frameID int, x, y, width, height int)
- func (c *Client) ImageDrop(imageID int)
- func (c *Client) ImageNew(imageID int, width, height int, bitmap []byte)
- func (c *Client) MenuItem(menuID int, parentMenuID int, label string, action string)
- func (c *Client) MenuNew(menuID int, parentMenuID int, label string)
- func (c *Client) Sync()
- func (c *Client) WindowClear(windowID int)
- func (c *Client) WindowDrop(windowID int)
- func (c *Client) WindowFill(windowID int, x, y, width, height int, r, g, b uint16)
- func (c *Client) WindowImage(windowID int, x, y, width, height int, imageID int)
- func (c *Client) WindowLine(windowID int, x0, y0, x1, y1 int, r, g, b uint16)
- func (c *Client) WindowNew(windowID int, frameID int, x, y, width, height int)
- func (c *Client) WindowRaise(windowID int)
- func (c *Client) WindowShow(windowID int)
- func (c *Client) WindowSize(windowID int, x, y, width, height int)
- func (c *Client) WindowText(windowID int, x, y int, r, g, b uint16, fontID int, height int, text string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func NewClient ¶
func NewClient(callbacks iface.CallbackSet, eventPipe, streamPipe, syncPipe *rpc.Pipe) *Client
func (*Client) ApplicationExit ¶
func (*Client) ApplicationSize ¶
func (*Client) ApplicationTitle ¶
func (*Client) ApplicationVersion ¶
func (*Client) FrameRaise ¶
func (*Client) WindowClear ¶
func (*Client) WindowDrop ¶
func (*Client) WindowFill ¶
func (*Client) WindowImage ¶
func (*Client) WindowLine ¶
func (*Client) WindowRaise ¶
func (*Client) WindowShow ¶
func (*Client) WindowSize ¶
Click to show internal directories.
Click to hide internal directories.