[][src]Module meli::terminal::position

Simple type definitions and macro helper for a (x,y) position on the terminal and the areas they define.

An Area consists of two points: the upper left and bottom right corners.

Enums

Alignment

Functions

align_area

Place given area of dimensions (width, height) inside area according to given alignment

center_area

Place box given by (width, height) in center of area

get_x
get_y
place_in_area

Place box given by (width, height) in corner of area

pos_dec
pos_inc
set_x
set_y

Type Definitions

Area

An Area consists of two points: the upper left and bottom right corners.

Pos

A (x, y) position on screen.