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

SetScrollArea(x, w, y, h)

Started by lucasm, 11 December 2013 - 07:03 PM
lucasm #1
Posted 11 December 2013 - 08:03 PM
The ability to control the "scrollable" area of a monitor would allow for much richer and elaborate UI interfaces with much less code and would remove the need to double buffer the console content. Ideally, it would allow you to set a region of the display that would redraw when a scroll operation occurs, and the rest of the display would remain static until explicitly redrawn.
theoriginalbit #2
Posted 11 December 2013 - 08:16 PM
This is already possible to be done within Lua code.
lucasm #3
Posted 11 December 2013 - 08:35 PM
This is already possible to be done within Lua code.

It absolutely is, I totally agree that it can be done in LUA, and in fact i have code that does it, but i also feel it is not the best fit for it, thus this request. :)/> String munging and screen buffer management i feel should be handled by a better language that can perform the tasks a bit more efficiently.
theoriginalbit #4
Posted 11 December 2013 - 08:42 PM
It absolutely is, I totally agree that it can be done in LUA, and in fact i have code that does it
Then I suggest reading this. http://www.computerc...ead-this-first/

Particularly this part "'Enhancements' - If you can make your suggestion with a reasonable amount of knowledge using the tools you already have at your disposal, then chances are, we will not implement it."

This suggestion falls under the "Enhancements" category.
Edited on 11 December 2013 - 07:43 PM
lucasm #5
Posted 11 December 2013 - 08:56 PM
This suggestion falls under the "Enhancements" category.

I guess we will have to agree to disagree on this one ;)/> I don't make this request because i can't do it. It's about using the right tool for the job to make the gaming experience better, so i thought i would provide a suggestion with that in mind.
Cheers
theoriginalbit #6
Posted 11 December 2013 - 09:08 PM
I don't make this request because i can't do it.
I never said you couldn't, and neither does the "Enhancements" category.
Enhancements Category said:
If you can make your suggestion with a reasonable amount of knowledge
Lyqyd #7
Posted 11 December 2013 - 10:26 PM
Locked. Please read the sticky posts.