How do I set the background for one cell. I can only find the function to set the whole background colour.
Background for one cell on the screen
Started by Jasonfran, Oct 27 2012 05:24 PM
1 reply to this topic
#1
Posted 27 October 2012 - 05:24 PM
#2
Posted 27 October 2012 - 05:31 PM
in my program, i only do something like this:
term.setBackgroundColor(colors.red) -- sets the backgroundcolor for the current pixel, until the screen will refresh - that is for example Clearing the screen with term.clear() or something else....
term.setCursorPos(10,10)
print("Hello") -- prints "hello" at pos 10,10
then it would look like this:
term.setBackgroundColor(colors.red) -- sets the backgroundcolor for the current pixel, until the screen will refresh - that is for example Clearing the screen with term.clear() or something else....
term.setCursorPos(10,10)
print("Hello") -- prints "hello" at pos 10,10
then it would look like this:
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users











