Posted 20 May 2015 - 05:10 AM
Meet EndiScript, using this with just a few lines you can have an amazing gui!
Note: I like to call this a script, but its more or less than that.
Note: when the program finishes, it restores the cursor to its previous position
What is this? it's kinda like those gui APIs, but its easier to use and helps a lot! It's kinda like CSS if you know anything about web development
Explanation:
syntax is pretty simple
Heres an entire documentation, its pretty small right now! leave feedback in reply on what to add.
colors:
the colors used in this are as follows:
orange
magenta
light_blue #not lightBlue
yellow
lime
pink
gray
light_gray #not lightGray
cyan
purple
blue
brown
green
red
black
Now lets get started!
documentation:
this just covers the screen said color, this is not like term.setBackgroundColor
this does set the background like term.setBackgroundColor, except it is static,
you dont have to retype it every time you make a change in the script! e.g. paintutils.drawFilledBox :)/>
the only way it can change is if you set it again
this writes text at the specified coordinates
argument order:
x y color
this draws a box of specified color at specified coordinates
argument order:
startX startY endX endY color
this makes the program sleep for a certain amount of time
download:
Thanks! -Creeper9207
screenshots:
[attachment=2288:2015-05-21_16.28.50.png]
Note: I like to call this a script, but its more or less than that.
Note: when the program finishes, it restores the cursor to its previous position
What is this? it's kinda like those gui APIs, but its easier to use and helps a lot! It's kinda like CSS if you know anything about web development
Explanation:
syntax is pretty simple
Heres an entire documentation, its pretty small right now! leave feedback in reply on what to add.
colors:
the colors used in this are as follows:
Spoiler
whiteorange
magenta
light_blue #not lightBlue
yellow
lime
pink
gray
light_gray #not lightGray
cyan
purple
blue
brown
green
red
black
Now lets get started!
documentation:
Spoiler
this covers the entire screen with the specified color, no matter how big the screen is,this just covers the screen said color, this is not like term.setBackgroundColor
background=red
this does set the background like term.setBackgroundColor, except it is static,
you dont have to retype it every time you make a change in the script! e.g. paintutils.drawFilledBox :)/>
the only way it can change is if you set it again
background_color=light_blue
this writes text at the specified coordinates
argument order:
x y color
text=5 7 white
this draws a box of specified color at specified coordinates
argument order:
startX startY endX endY color
box=5 7 9 9 white
this makes the program sleep for a certain amount of time
sleep:0.5
download:
pastebin get w4K3VxAC endi
usage: endi <name of script file>
Thanks! -Creeper9207
screenshots:
Spoiler
[attachment=2286:2015-05-21_16.28.42.png][attachment=2288:2015-05-21_16.28.50.png]
Edited on 20 May 2015 - 09:12 PM