I know this is very simple question, but I simply cannot find the answer anywhere. When you create text with openperipheral glasses bridge there's a way to change it without re-drawing it(as that causes flicker) but I can't remember how, any help would be appreciated
0
Extremely simple openperipheral qestion
Started by Inumel, Mar 26 2014 11:33 PM
6 replies to this topic
#1
Posted 26 March 2014 - 11:33 PM
#2
Posted 26 March 2014 - 11:51 PM
local bridge = peripheral.wrap('left') local text = bridge.addText(1,1, "hello world", 0xffffff) text.setText("foo bar")
loop over the text table to see what else you can do
#3
Posted 26 March 2014 - 11:53 PM
Much appreciated what would this be called? does each addText just make a table?
#4
Posted 27 March 2014 - 12:08 AM
yes, when you add anything to the Glasses it returns a table, the table is representative of the element you've added.
#5
Posted 30 June 2014 - 03:02 PM
How would you do this for addBox() or to change the coords of the text?
Edited by bladze420, 30 June 2014 - 03:04 PM.
#7
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users