Rahph 1 Posted March 14, 2016 Share Posted March 14, 2016 Beacuse I cannot code properly, I have made a concept instead of program. As i know, multi tasking api was added recently to open computers, so i came up with an idea for widget- based addon for shell! You have your shell, but under it there are widgets, Those add great functionality to shell, that could be replaced with actual GUI for more deep experience. My idea would also be to create easy-to-use api to create widgets/apps. How it looks: (PSA is Pro Shell App) How the code for icon that inputs "cd /bin" to the shell. function init() --Initialization function setResolution(20,20) --Size of our box setBcgrColour(#RRGGBB) --Colour of our box end function display() --Function started when showing box drawMainBox() --Draw main box (with preferences set in init function) drawBox(1,1,10,2,#RRGGBB,#TEXTRRGGBB, "Test", 0) --Draw little box inside (button). First_X, First_Y, Second_X, Second_Y, Background color, Text colour, Text, Id end function click() --Clik event if clicked == 0 then --Check what button was pressed (Remember our id?) shellOutput("cd /bin") --Push data to shell (shows up confirmation box) end end Quote Link to post Share on other sites
Gorzoid 10 Posted March 19, 2016 Share Posted March 19, 2016 xD the "Pop-Up!" made me laugh. If someone is going to make this, it must include "Single Russian women in your local area!" Quote Link to post Share on other sites
Rahph 1 Posted March 23, 2016 Author Share Posted March 23, 2016 xD the "Pop-Up!" made me laugh. If someone is going to make this, it must include "Single Russian women in your local area!" I'll try to learn lua and coroutines so maybe i will write that shell in the future Quote Link to post Share on other sites