Jump to content




[CC 1.5] ButtonAPI

api

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

#1 BlankWolf

  • Members
  • 51 posts

Posted 01 July 2013 - 10:37 AM

Hello everyone,

I made an API for creating some buttons on a computer or monitor.
I know there are already button apis posted, but I wanted to show you own.

Download:
http://pastebin.com/6A8JuwqB

API-code:
Spoiler

available functions:
Spoiler

usage:
Spoiler

example program:
Spoiler

changelog:
Spoiler

please report any bugs or ideas what I can add or change

thanks
BlankWolf

#2 svdragster

  • Members
  • 222 posts
  • LocationGermany

Posted 02 July 2013 - 12:19 PM

Nice job! But you should definetly include an explanation here instead only in the program!

#3 BlankWolf

  • Members
  • 51 posts

Posted 03 July 2013 - 01:14 AM

View Postsvdragster, on 02 July 2013 - 12:19 PM, said:

Nice job! But you should definetly include an explanation here instead only in the program!

Thanks. Your right I have add an explanation under usage.
Do you have an idea what feature can be added?

#4 svdragster

  • Members
  • 222 posts
  • LocationGermany

Posted 03 July 2013 - 12:01 PM

I can't think of more features... not yet :P

#5 BlankWolf

  • Members
  • 51 posts

Posted 03 July 2013 - 12:17 PM

Update the API to v1.1
Have a look to the changelogs.

#6 computercraftprogrammer

  • Members
  • 122 posts
  • Location$house->Earth->MilkyWay->Universe;

Posted 04 July 2013 - 02:56 PM

Well I made a GUI api (Not public yet) that does the same thing pretty much, it checks each button if its in the area of the click. Though this is nice!

#7 BlankWolf

  • Members
  • 51 posts

Posted 05 July 2013 - 12:47 AM

View PostUMayBleed, on 04 July 2013 - 02:56 PM, said:

Well I made a GUI api (Not public yet) that does the same thing pretty much, it checks each button if its in the area of the click. Though this is nice!

Thanks.
I will make a GUI api too. (someday)

#8 wolfhowl42

  • Members
  • 5 posts

Posted 07 July 2013 - 10:40 PM

kinda confusing

#9 BlankWolf

  • Members
  • 51 posts

Posted 08 July 2013 - 12:53 AM

View Postwolfhowl42, on 07 July 2013 - 10:40 PM, said:

kinda confusing

What exactly are you confused about?

#10 Cutecurtain

  • Members
  • 31 posts
  • LocationBodafors, Sweden

Posted 10 July 2013 - 03:56 AM

Very useful. Easy to read through the code as well :) Nice job

#11 BlankWolf

  • Members
  • 51 posts

Posted 10 July 2013 - 04:24 AM

View PostGulligagardinen, on 10 July 2013 - 03:56 AM, said:

Very useful. Easy to read through the code as well :) Nice job
Thanks.
If you have any suggestion what can be added or change feel free to post it ;)

#12 oedze

  • Members
  • 40 posts

Posted 22 July 2013 - 12:10 PM

looks nice, but i dont need it right now. i will follow your topic incase i need one ;)

#13 BlankWolf

  • Members
  • 51 posts

Posted 24 July 2013 - 01:04 AM

View Postoedze, on 22 July 2013 - 12:10 PM, said:

looks nice, but i dont need it right now. i will follow your topic incase i need one ;)

Thanks.
Go ahead. Use my API when ever you want.
But I'am still rewriting the code... Well I will rewrite it, when I have time for it ;)

#14 jesusthekiller

  • Banned
  • 562 posts
  • LocationWrocław, Poland

Posted 24 July 2013 - 04:55 AM

View PostBlankWolf, on 24 July 2013 - 01:04 AM, said:

Thanks.
Go ahead. Use my API when ever you want.
But I'am still rewriting the code... Well I will rewrite it, when I have time for it ;)

Maintaining part sucks :P

#15 BlankWolf

  • Members
  • 51 posts

Posted 24 July 2013 - 05:54 AM

View Postjesusthekiller, on 24 July 2013 - 04:55 AM, said:

Maintaining part sucks :P

Well... I don't think so.
I like it when I can make my program better than before ;)

#16 jesusthekiller

  • Banned
  • 562 posts
  • LocationWrocław, Poland

Posted 24 July 2013 - 11:36 AM

I hate it tho :P

#17 figgycity50

  • Members
  • 100 posts

Posted 29 July 2013 - 10:41 AM

am i doing something wrong or is this broken? my error:

Attached Thumbnails

  • Attached Image: ccemu.png


#18 BlankWolf

  • Members
  • 51 posts

Posted 30 July 2013 - 12:57 AM

View Postfiggycity50, on 29 July 2013 - 10:41 AM, said:

am i doing something wrong or is this broken? my error:

Well no. It's my fault.
I think I fixed it, but I can't test it atm.

#19 LeB0ucEtMistere

  • Members
  • 10 posts

Posted 16 August 2013 - 03:22 PM

nice work :) pretty useful, i will get some inspiration of your design to code my own API i tough ^^' indeed, that's a nice job ! keep it up :)

#20 BlankWolf

  • Members
  • 51 posts

Posted 19 August 2013 - 01:06 AM

View PostLeB0ucEtMistere, on 16 August 2013 - 03:22 PM, said:

nice work :) pretty useful, i will get some inspiration of your design to code my own API i tough ^^' indeed, that's a nice job ! keep it up :)

Thanks, I'm glad that my code is useful for you. And don't worry. I will keep it up. I just haven't enough time. D=





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users