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

The KaoS Menu Collection

Started by KaoS, 16 January 2013 - 04:30 AM
KaoS #1
Posted 16 January 2013 - 05:30 AM
link to my programs here

I have always loved building intelligent GUIs and in the process of doing so I always needed menus, I had various different needs each time and so multiple menu functions were born. I now present them to you

My first, over-complicated and unprofessional menu API here

the most basic list menu operated by keyboard here

a more complicated version that supports compact scrolling here

a great intelligent menu where you specify the area you want it to use and give it an x spacing between options and it will automatically sort them into columns and allow scrolling to optimize functionality and space usage here

a basic mouse operated menu function with scroll functionality here

a menu designed for OSs, it has a single column on menu choices to the left of the info display which scrolls with your choices, mouse and keyboard support, ability to scroll horizontally to fit large info displays, scroll bars on the bottom and right to show how far you have currently scrolled and a color display, it was designed for advanced computers and will not run on normal ones. lines 80-> of the pastebin is just an example of usage browse the current PC. take a look here

let me know what you think :)/>

EDIT: in case you were worried each pastebin has an example of correct usage in it, some also have detailed explanations
Edited on 18 January 2013 - 05:05 AM
Cranium #2
Posted 16 January 2013 - 05:46 AM
Pics please.
You helped me earlier with menus, so I like your work.
KaoS #3
Posted 16 January 2013 - 05:52 AM
Pics please.

are you sure? its just random formations of words with a selection indicator…. videos would be ok I guess if someone had a nice free recording program for me


so I like your work.

thanks :)/>
KaoS #4
Posted 18 January 2013 - 06:01 AM
Well I have finally completed my masterpiece, took my entire shift yesterday and half of today's shift too… a menu with vertical and horozontal scrolling that allows you to add an additional info display to the right of the menu items that scroll with it, mouse and keyboard support simultaneously with scroll-wheel included, color display with a graphic at the bottom and right sides to display how much has been scrolled and not even too complicated to use. I must say I am proud of this one

http://pastebin.com/zDip3Kuk

will update the post now

Pics please.

I think this one merits a picture :)/>