Post Reply 
Terminal Usage
09-02-2015, 06:47 PM (This post was last modified: 09-02-2015 06:52 PM by eried.)
Post: #4
RE: Terminal Usage
Terminal is just an line/output you could create a whole complete UI drawing each text in the display where you want, check:

Code:
Syntax: TEXTOUT_P(text, [G], x, y, [font], [textColor], [width], [backgroundColor])
Draws text on graphic G at position (x, y) using font. Paints the background before drawing the text using color backgroundColor. If width is specified, does not draw text more than width pixels wide. If backgroundColor is not specified, the background is not erased.

The sizes for font are:

0=current font (default)
1=font_10
2=font_12 (Small)
3=font_14 (Medium)
4=font_16 (Large)
5=font_18
6=font_20
7=font_22

Code:
Syntax: BLIT_P([trgtG], [dx1, dy1], [dx2, dy2], srcG, [sx1, sy1], [sx2, sy2], [c])
Copies the region of graphic srcG between point (sx1, sy1) and (sx2, sy2) into the region of trgtG between points (dx1, dy1) and (dx2, dy2). Does not copy pixels from srcG that are color c.

The defaults for the optional arguments are:
trgtG=G0
srcG=G0
sx1, sy1=srcGRB top left corner
sx2, sy2=srcGRB bottom right corner
dx1, dx2=trgtGRB top left corner
dx2, dy2=calculated so destination area is the same as source area
c=all pixel colors

My website: ried.cl
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Terminal Usage - toml_12953 - 09-01-2015, 04:52 PM
RE: Terminal Usage - eried - 09-01-2015, 06:35 PM
RE: Terminal Usage - toml_12953 - 09-02-2015, 05:57 PM
RE: Terminal Usage - eried - 09-02-2015 06:47 PM
RE: Terminal Usage - toml_12953 - 09-03-2015, 12:29 PM
RE: Terminal Usage - eried - 09-03-2015, 12:55 PM



User(s) browsing this thread: 1 Guest(s)