This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
Salival's profile picture

Buttons for monitors and how to draw them

Started by Salival, 15 December 2014 - 08:24 AM
Salival #1
Posted 15 December 2014 - 09:24 AM
Not really able to figure this one out. I was trying to use window.create as a way to use buttons but i have no idea how it works. I'll create a window and it'll just randomly get bigger, or just take over the screen. What is the proper usage, and is there a better way to make buttons on the monitor appear?
Salival #2
Posted 15 December 2014 - 09:47 AM
Nevermind, i think i figured it out. What is the point of window? How is it normal used?
KingofGamesYami #3
Posted 15 December 2014 - 03:13 PM
Window is used to… make windows. Really. It's also used (sometimes) as a buffer.
Lyqyd #4
Posted 15 December 2014 - 03:45 PM
You mighty actually be interested in the Touchpoint API. It's a monitor-based touchscreen button API designed to be simple but powerful.