Posted 29 March 2014 - 07:38 PM
ComputerCraft Version Information: 1.6
Description of Bug: Window API: set*Color does not work correctly
Steps to Reproduce Bug:
Description of Bug: Window API: set*Color does not work correctly
Steps to Reproduce Bug:
- Connect a standard computer to an advanced monitor
- Create a Window inside the monitor
- Attempt to set the background color
- Receive error at
win.setBackgroundColor(colors.black)
- Comment out background color
- Receive error at
win.setTextColor(colors.white)
local monitor = peripheral.wrap("top")
local win = window.create(monitor, 1,1,20,10,true)
if (win.isColor()) then -- returns true
win.setTextColor(colors.white) -- gives "Colour not supported" AFTER line below is commented out
win.setBackgroundColor(colors.black) -- gives "Colour not supported"
end