mirror of
https://github.com/cc65/cc65.git
synced 2025-02-12 21:31:10 +00:00
Implement macros that shortcut color function calls.
This commit is contained in:
parent
a20bba0f1e
commit
d9f764aa07
@ -36,6 +36,12 @@
|
|||||||
# error "This module may only be used when compiling for the Challenger 1P!"
|
# error "This module may only be used when compiling for the Challenger 1P!"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* empty for now */
|
/* The following #defines will cause the matching functions calls in conio.h
|
||||||
|
** to be overlaid by macros with the same names, saving the function call
|
||||||
|
** overhead.
|
||||||
|
*/
|
||||||
|
#define _textcolor(color) COLOR_WHITE
|
||||||
|
#define _bgcolor(color) COLOR_BLACK
|
||||||
|
#define _bordercolor(color) COLOR_BLACK
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user