Calculator Community > Lua
Lua Q&A
Jim Bauwens:
There is a D2Editor, but it really is buggy, so you can't use it.
You can make something like this:
--- Code: (Lua) ---
msg = ""
function on.paint(gc)
gc:drawString(msg,10,10,"top")
end
function on.charIn(ch)
msg = msg .. ch
platform.window:invalidate()
end
--- End code ---
Of course you will have to do some changes to make it usable, but it should show the basics.
ExtendeD:
Try to use the class D2Editor.
[edit] sorry I missed jimbauwens's post.
jimbauwens, what's wrong with it? The scrolling?
Levak:
--- Quote from: ExtendeD on July 02, 2011, 04:30:15 am ---Try to use the class D2Editor.
[edit] sorry I missed jimbauwens's post.
jimbauwens, what's wrong with it? The scrolling?
--- End quote ---
Because we can't edit it on ClickPad ? (or even I'm stupid)
pianoman:
Ok, thank you.
ExtendeD:
Levak: you mean you can't set the focus on it? A quick try with a single D2Editor on the screen gets the focus on nspire_emu.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version