ugBASIC 1.18
An isomorphic BASIC language compiler for retrocomputers
Loading...
Searching...
No Matches
bar.c File Reference
#include "../../ugbc.h"

Go to the source code of this file.

Functions

void bar (Environment *_environment, char *_x0, char *_y0, char *_x1, char *_y1, char *_c, int _preserve_color)
 Emit ASM code to implement BAR command.

Function Documentation

◆ bar()

void bar ( Environment * _environment,
char * _x0,
char * _y0,
char * _x1,
char * _y1,
char * _c,
int _preserve_color )

Emit ASM code to implement BAR command.

Parameters
_environmentCurrent calling environment
_x1Left abscissa of the box
_y1Left ordinate of the box
_x2Right abscissa of the box
_y2Right ordinate of the box
_cColor to use for drawing the bar

Definition at line 100 of file bar.c.