Author Topic: Sparta GUI Library *Alpha*  (Read 5488 times)

0 Members and 3 Guests are viewing this topic.

Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: Sparta GUI Library *Alpha*
« Reply #15 on: December 23, 2011, 04:12:54 pm »
I can't think of any graphical commands that would need to be added, but then again I'm not much of a GUI creator myself.  Other people might have some good suggestions as for what to include, or maybe check out some already existing GUI routines like Door's to see what they choose to include.  It's already looking very functional though, so good job!

EDIT: Maybe some routines for centering text or word wrapping text?
« Last Edit: December 23, 2011, 04:13:18 pm by Builderboy »

Offline Spyro543

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1189
  • Rating: +74/-3
    • View Profile
Re: Sparta GUI Library *Alpha*
« Reply #16 on: December 23, 2011, 04:14:13 pm »
Input command? For making an input field?

Offline thydowulays

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 184
  • Rating: +12/-1
  • Don't gimme dat lip
    • View Profile
    • Thy Gaming Forum
Re: Sparta GUI Library *Alpha*
« Reply #17 on: December 23, 2011, 04:39:11 pm »
Ooh those are both great ideas. An input command would be really great, because I could use it in all of my other programs as well. How bout an SPTEXT() command for SpartaTextbox? I could also redo the Text() command so to speak so that you could put the fix statement in there already, then positioning arguments. Such as Txt(3, 25,25,"LOL",CNTR) so it would round around 25 until they are equally spread apart. I think these are great ideas, thanks for the feedback!
Current Projects:
-Sparta GUI Library: 25% - Alpha Stage
-Grapher - 75% - Beta Stage *on hiatus




Offline LincolnB

  • Check It Out Now
  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1115
  • Rating: +125/-4
  • By Hackers For Hackers
    • View Profile
Re: Sparta GUI Library *Alpha*
« Reply #18 on: December 23, 2011, 04:47:19 pm »
Wait a sec, you already have a Txt command? What for?
Completed Projects:
   >> Spacky Emprise   >> Spacky 2 - Beta   >> Fantastic Sam
   >> An Exercise In Futility   >> GeoCore

My Current Projects:

Projects in Development:
In Medias Res - Contest Entry

Talk to me if you need help with Axe coding.


Spoiler For Bragging Rights:
Not much yet, hopefully this section will grow soon with time (and more contests)



Offline thydowulays

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 184
  • Rating: +12/-1
  • Don't gimme dat lip
    • View Profile
    • Thy Gaming Forum
Re: Sparta GUI Library *Alpha*
« Reply #19 on: December 23, 2011, 04:49:35 pm »
? No I mean a Txt() command thats just an upgrade of the Axe Text() command. It will support positioning like Centering and such.

Anyways, I am working on the SPTEXT() command now.
It will have 4 arguments.
r1 is the X position
r2 is the Y position
r3 is the width
r4 is whether or not it is in input text mode or not

BTW: The height will be fixed at 10 pixels
Current Projects:
-Sparta GUI Library: 25% - Alpha Stage
-Grapher - 75% - Beta Stage *on hiatus




Offline alberthrocks

  • Moderator
  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 876
  • Rating: +103/-10
    • View Profile
Re: Sparta GUI Library *Alpha*
« Reply #20 on: December 27, 2011, 07:00:33 pm »
Wow, this is quite interesting! :D

There is already another GUI library in Axe called Axe GUI Library (duh) - have you taken a look at that? :) It's stalled though, and is undergoing (or at least, we're planning) a rewrite.

A couple of things:
1) When taking screenshots, please don't show us code. We know it's Axe, and no one will copy the code from the screenshot anyway! :P Show us the meat - the GUI itself in action! ;)
2) What other widgets are you planning to implement?
3) Possibly join us (Axe GUI Library) in the effort of making an awesome GUI library in Axe? :D (If not, that's OK too - there's nothing stopping you from going on, but I think collaborative effort may make a better fruit. ;))
Withgusto Networks Founder and Administrator
Main Server Status: http://withg.org/status/
Backup Server Status: Not available
Backup 2/MC Server Status: http://mc.withg.org/status/


Proud member of ClrHome!

Miss my old signature? Here it is!
Spoiler For Signature:
Alternate "New" IRC post notification bot (Newy) down? Go here to reset it! http://withg.org/albert/cpuhero/

Withgusto Networks Founder and Administrator
Main Server Status: http://withg.org/status/
Backup Server Status: Not available
Backup 2/MC Server Status: http://mc.withg.org/status/

Activity remains limited due to busyness from school et al. Sorry! :( Feel free to PM, email, or if you know me well enough, FB me if you have a question/concern. :)

Don't expect me to be online 24/7 until summer. Contact me via FB if you feel it's urgent.


Proud member of ClrHome!

Spoiler For "My Projects! :D":
Projects:

Computer/Web/IRC Projects:
C______c: 0% done (Doing planning and trying to not forget it :P)
A_____m: 40% done (Need to develop a sophisticated process queue, and a pretty web GUI)
AtomBot v3.0: 0% done (Planning stage, may do a litmus test of developer wants in the future)
IdeaFrenzy: 0% done (Planning and trying to not forget it :P)
wxWabbitemu: 40% done (NEED MOAR FEATURES :P)

Calculator Projects:
M__ C_____ (an A____ _____ clone): 0% done (Need to figure out physics and Axe)
C2I: 0% done (planning, checking the demand for it, and dreaming :P)

Offline Sorunome

  • Fox Fox Fox Fox Fox Fox Fox!
  • Support Staff
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 7920
  • Rating: +374/-13
  • Derpy Hooves
    • View Profile
    • My website! (You might lose the game)
Re: Sparta GUI Library *Alpha*
« Reply #21 on: December 28, 2011, 06:21:36 am »
I just picked this thread up, and it looks cool! It looks very useful, that l library! Great work so far!

THE GAME
Also, check out my website
If OmnomIRC is screwed up, blame me!
Click here to give me an internet!

Offline thydowulays

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 184
  • Rating: +12/-1
  • Don't gimme dat lip
    • View Profile
    • Thy Gaming Forum
Re: Sparta GUI Library *Alpha*
« Reply #22 on: December 31, 2011, 09:17:31 pm »
Thank you very much! Sorry for the late reply, I've been on vacation. I haven't worked much the past week on the project, but I'll pick it up tomorrow when I get home from my friends :)
Current Projects:
-Sparta GUI Library: 25% - Alpha Stage
-Grapher - 75% - Beta Stage *on hiatus