Jump to content




Buttons


  • You cannot reply to this topic
30 replies to this topic

#1 Noodle

  • Members
  • 989 posts
  • LocationSometime.

Posted 08 April 2012 - 12:23 PM

New buttons for computers!
You could code buttons on the computers and click them.
Imagine the possibilities!
Shortcuts.
Startmenu
etc.

You could also implement re-sizable windows.
Example
f = frame
f.width(400)
f.height(400)

And WAAAYYY more.

#2 Cloudy

    Ex-Developer

  • Members
  • 2,543 posts

Posted 08 April 2012 - 01:09 PM

Not gonna happen.

#3 Noodle

  • Members
  • 989 posts
  • LocationSometime.

Posted 08 April 2012 - 01:16 PM

@Cloudy
Y u gotteh be so negative?
It could, when it does.. I'll gloat in your face!

If it doesn't ill make it.

You are only a member. Why should I believe you??

#4 Cloudy

    Ex-Developer

  • Members
  • 2,543 posts

Posted 08 April 2012 - 01:25 PM

Excuse me? I know it isn't going to happen because it is against dan's vision for his mod. Hence why it is text based, with no colours. You can carry on holding your breath for it if you want, but prepare to be blue in the face.

#5 djblocksaway

    Epic Coderz

  • New Members
  • 397 posts
  • LocationAustralia

Posted 10 April 2012 - 01:51 PM

xD i guess you never know what might happen

#6 ComputerCraftFan11

  • Members
  • 771 posts
  • LocationHawaii

Posted 22 April 2012 - 07:53 AM

View PostNoodle, on 08 April 2012 - 12:23 PM, said:

New buttons for computers!
You could code buttons on the computers and click them.
Imagine the possibilities!
Shortcuts.
Startmenu
etc.

You could also implement re-sizable windows.
Example
f = frame
f.width(400)
f.height(400)

And WAAAYYY more.

Ya... About that

Just use the buttons on the keyboard and bind them to os.pullEvent

#7 Teraminer

  • New Members
  • 175 posts
  • LocationDon't look behind you..

Posted 22 April 2012 - 03:34 PM

View PostComputerCraftFan11, on 22 April 2012 - 07:53 AM, said:

View PostNoodle, on 08 April 2012 - 12:23 PM, said:

New buttons for computers!
You could code buttons on the computers and click them.
Imagine the possibilities!
Shortcuts.
Startmenu
etc.

You could also implement re-sizable windows.
Example
f = frame
f.width(400)
f.height(400)

And WAAAYYY more.

Ya... About that

Just use the buttons on the keyboard and bind them to os.pullEvent
I agree, but it would be nice to have f.width(400) f.height(400). Plus it is 100% posible since he (Dan200) did that in the config already.

#8 louisrocks40

  • New Members
  • 15 posts

Posted 23 April 2012 - 09:57 PM

Excellent idea! However I do agree it goes against the vision of the mod. The current setup really gets rid of the distractions of GUIs and such. The os.pullEvent will work, and I think I will stick with that regardless. Just my two cents ^.^

#9 Noodle

  • Members
  • 989 posts
  • LocationSometime.

Posted 25 May 2012 - 05:36 AM

I meant like minecraft buttons if you missed that.
Ik it does mess with the GUI and/or the main idea.
It just seems easier to, atleast add a button to click on not a "ESC Menu button".
As for teraminer
IKR What if you could do that without going into the config!

#10 D3matt

  • Members
  • 830 posts

Posted 25 May 2012 - 06:25 AM

There is an API that adds clicking buttons. http://www.computerc...smads-programs/

#11 ComputerCraftFan11

  • Members
  • 771 posts
  • LocationHawaii

Posted 25 May 2012 - 07:07 AM

View PostNoodle, on 08 April 2012 - 12:23 PM, said:

New buttons for computers!
You could code buttons on the computers and click them.
Imagine the possibilities!
Shortcuts.
Startmenu
etc.

You could also implement re-sizable windows.
Example
f = frame
f.width(400)
f.height(400)

And WAAAYYY more.

Or this:
f = frame.new()
f.name = "Fart"
f.width = (400)
f.height = (400)
f.text = "Shutdown"
local event, id = os.pullEvent("button")
if id == "Fart" then
os.shutdown()
end


#12 Cloudy

    Ex-Developer

  • Members
  • 2,543 posts

Posted 25 May 2012 - 10:53 AM

As I said before, it isn't going to happen. I know that Dan has no interest in making a GUI for computers - and on a personal level, it isn't something I am interested in developing either - so talking about implementation is moot.

#13 Noodle

  • Members
  • 989 posts
  • LocationSometime.

Posted 25 May 2012 - 11:17 PM

Not a gui, but a button that is flat. You can make it, style it (using #'s and symbols), JUST SOMETHING CLICKABLE.

#14 D3matt

  • Members
  • 830 posts

Posted 26 May 2012 - 01:51 AM

View PostD3matt, on 25 May 2012 - 06:25 AM, said:

There is an API that adds clicking buttons. http://www.computerc...smads-programs/
Like this?

#15 Noodle

  • Members
  • 989 posts
  • LocationSometime.

Posted 26 May 2012 - 02:18 AM

Meh, similar but implemented!

#16 Teraminer

  • New Members
  • 175 posts
  • LocationDon't look behind you..

Posted 30 May 2012 - 05:22 PM

Of course I mean without going in the config.

#17 Pinkishu

  • Members
  • 484 posts

Posted 30 May 2012 - 07:46 PM

Uhm a button is a GUI component
Graphical
yeah the button, that oyu style and such

User Interface
it interfaces with the user

#18 Noodle

  • Members
  • 989 posts
  • LocationSometime.

Posted 30 May 2012 - 08:01 PM

View PostPinkishu, on 30 May 2012 - 07:46 PM, said:

Uhm a button is a GUI component
Graphical
yeah the button, that oyu style and such

User Interface
it interfaces with the user

a UI isn't a GUI, I'm talking about a click event. Have a click event or a target item to click on.

#19 Pinkishu

  • Members
  • 484 posts

Posted 30 May 2012 - 09:58 PM

So ingame minecraft buttons? or what

still missing the point, we already have buttons

#20 Teraminer

  • New Members
  • 175 posts
  • LocationDon't look behind you..

Posted 31 May 2012 - 06:34 PM

he means butttons like in the main menu (I think).





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users