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

GUI with tabs - easly customizable

Started by jesusthekiller, 19 June 2013 - 01:48 AM
jesusthekiller #1
Posted 19 June 2013 - 03:48 AM
Hi all, created this code yesterday, I thought I can share it - it makes pretty sexy GUI :)/>

All tabs and rows are customizable (disp table), It has commented demo code inside. It supports tabs, rows, calling function when tab selected, calling row's function when hit enter, customizable header and footer, tabs w/o any rows, onquit() function.

Controls: Arrows
F12 to close

Screens:

Spoiler


















Code:



Demo code inside


License:


Note: "Header" is comment block containing license.

Feel free to use this code as you want, but:
1. Header (inside file) has to stay unedited
2. Header (inside file) has to be placed before ANY line of code in file that uses this code
3. Give credit in forums thread / advert / etc.
* Font minimum 14px
* Cannot be placed inside spoiler
* Cannot be "strike trough"
* Cannot be Comic Sans <– Not kidding.
4. IT CANNOT BE SOLD FOR MONEY, PROFIT OR PRIVILAGES

Rights given once are perpetual and cannot be taken if license if fulfilled.
Dave-ee Jones #2
Posted 20 June 2013 - 02:17 AM
Neat piece of work. :)/> Think I should use for my new OS I am currently working on?
jesusthekiller #3
Posted 20 June 2013 - 03:13 AM
Feel free to do so, you have license in thread :-)
And thanks!
Engineer #4
Posted 24 June 2013 - 06:29 PM
However this looks awesome, I need to say this:

Please stop the frikkin 'strict' license thing, because it just doesnt make f ing sence. I do understand you want credit, I want that too. But I cant stand it enough to have such ridicilous licenses for frikkin CC programs.

Im sorry if I offended you, but I just want to let this out. And you are not the only one who does this, you just seem to create a lot of programs lately, which is not bad.

Please keep on the good work, but throw the licenses in the trash bin. Please.
Zudo #5
Posted 25 June 2013 - 03:33 AM
However this looks awesome, I need to say this:

Please stop the frikkin 'strict' license thing, because it just doesnt make f ing sence. I do understand you want credit, I want that too. But I cant stand it enough to have such ridicilous licenses for frikkin CC programs.

Im sorry if I offended you, but I just want to let this out. And you are not the only one who does this, you just seem to create a lot of programs lately, which is not bad.

Please keep on the good work, but throw the licenses in the thrash bin. Please.

You spelled trash wrong.

Nice!
jesusthekiller #6
Posted 25 June 2013 - 03:52 AM
However this looks awesome, I need to say this:

Please stop the frikkin 'strict' license thing, because it just doesnt make f ing sence. I do understand you want credit, I want that too. But I cant stand it enough to have such ridicilous licenses for frikkin CC programs.

Im sorry if I offended you, but I just want to let this out. And you are not the only one who does this, you just seem to create a lot of programs lately, which is not bad.

Please keep on the good work, but throw the licenses in the trash bin. Please.

This license is not restrictive…

It's just more specified CC BY-NC, I don't see anything wrong with it. Plus it gives you perpetual rights (as Apache license does).
jesusthekiller #7
Posted 02 July 2013 - 03:40 PM
Due to some misunderstandings, I got to add that :P/>

Note: "Header" is comment block containing license.
bkgarneriq #8
Posted 10 December 2013 - 03:51 PM
Love the script. it is exactly what i needed. Have set up multiple reactors, machines, ect that all need to be controllable from one consol and menu system. my proplem is I need a statuce indacator (green ON when the cables is on, and red Off when its off) next to the menu selection name. I cant seem to figure out how to put anything with variables or a simple if statement next to the ['name'] = "Row 1",.How might i ad and if statement there?
PixelToast #9
Posted 10 December 2013 - 05:42 PM
i like the similarity xD
http://www.computercraft.info/forums2/index.php?/topic/8321-my-new-bios/
i had a picture of the latest version that had the "by pixeltoast" on the bottom but puush deleted it
bkgarneriq #10
Posted 13 December 2013 - 12:25 PM
is anyone able to help me with my previouse post?