Gamestudio Links
Zorro Links
Newest Posts
What are you working on?
by rayp
32 minutes 22 seconds ago
rayp's old school fast non-shader FPS project
by rayp
33 minutes 53 seconds ago
Hello World Stratey with R+Zorro
by Nanitek
Today at 19:00
Idee: relative gelenks rotation im MED
by Kartoffel
Today at 17:15
Votes for future features
by pcz
Today at 16:05
AUM Magazine
Latest Screens
Star Explorers
EoA 40h Game Jam In English :D
AHS Hotel 3D game - preview
Bocce Revolution
Wichtelwald (Devmania 2015)
Who's Online
20 registered (3run, Dico, Darxtar, ealvarpe, Ch40zzC0d3r, CocaCola, exile, alibaba, 3dgs_snake, 4 invisible), 247 Guests and 6 Spiders online.
Key: Admin, Global Mod, Mod
Newest Members
ealvarpe, Darxtar, PN89, Zero_Melody, poliihor
17269 Registered Users
Page 1 of 16 1 2 3 ... 15 16 >
Topic Options
Rate This Topic
#335111 - 07/26/10 21:58 LBGUI - RELEASE
Lukas Offline

Programmer

Registered: 05/13/07
Posts: 2042
Loc: Germany


This is LBGUI, a Lite-C header for creating GUI elements, such as:

  • Buttons (better ones than you already have)
  • Windows
  • Checkboxes and Radiobuttons
  • Infoboxes that appear when you keep the mouse calm over something
  • Progress bars
  • Sliders (better ones than you already have)
  • Listboxes
  • Scrollbars for windows and listboxes
  • Rightclick menus
  • Comboboxes
  • Digits (that work like "normal" digits but use use "real" TEXTs)
  • Editboxes, which are 1024x better than inkey() wink

You will also be able to put "normal" panels and texts on a window.

It's going to be my entry for the contest.
It's going to be Open Source (as it's a Lite-C header), but I won't make it available before the deadline of the contest.

Here's the demo (~2.41MB):
http://www.brogames.de/LBGUI/LBGUI_demo_20100726.zip


Here's the header:
http://www.brogames.de/LBGUI/LBGUI.zip
http://www.opserver.de/coni_users/web_users/pirvu/au/demo/zips/lbgui.zip
_________________________
Kubetris
LBGUI
My name is really Lukas, not Lucas. wink

Top
#335116 - 07/26/10 22:05 Re: LBGUI - Demo [Re: Lukas]
Rei_Ayanami Offline
Expert

Registered: 02/27/09
Posts: 3207
Loc: Germany, Magdeburg
Wow, really really nice laugh
_________________________
MarianFrische.com

Top
#335120 - 07/26/10 22:16 Re: LBGUI - Demo [Re: Rei_Ayanami]
MasterQ32 Online
Expert

Registered: 11/26/07
Posts: 2476
Loc: Germany, BW, Stuttgart
you beat me!
nice stuff!
i like it
_________________________
Visit my site: www.masterq32.de
[Reversi01][Reversi02][Reversi03]

Top
#335122 - 07/26/10 22:20 Re: LBGUI - Demo [Re: MasterQ32]
Superku Offline
Senior Expert

Registered: 09/13/03
Posts: 6411
Loc: Kiel (Germany)
I've just played with it for some minutes and I'm impressed, this is really useful and well done. The only thing you could improve is to add a text selection (in edit boxes) with copy&paste (ctrl+c/v or rightclick).
_________________________
"Falls das Resultat nicht einfach nur dermassen gut aussieht, sollten Sie nochmal von vorn anfangen..." - Manual

Superku side-scroller: ~97.75% (??????????????????????????????????!?)

Steam® Store Page ("Coming Soon"): http://store.steampowered.com/app/407570 Wowowowow!

Top
#335126 - 07/26/10 22:29 Re: LBGUI - Demo [Re: Superku]
Lukas Offline

Programmer

Registered: 05/13/07
Posts: 2042
Loc: Germany
Thanks guys! laugh

@Superku: I initially planned to make the text of the editboxes selectable, and implement copy/paste, but I realized that I wouldn't be able to get that working before the deadline, so it's not implemented in the contest release, but maybe later. I also tried just implementing the paste thing, but those WINAPI functions are too complicated to understand and implement them in time.

_________________________
Kubetris
LBGUI
My name is really Lukas, not Lucas. wink

Top
#335127 - 07/26/10 22:29 Re: LBGUI - Demo [Re: Superku]
Widi Offline
Serious User

Registered: 08/29/07
Posts: 1922
Loc: Schweiz
Just one: great, good work!

Top
#335129 - 07/26/10 22:55 Re: LBGUI - Demo [Re: Widi]
WretchedSid Online
Expert

Registered: 04/23/07
Posts: 3678
Loc: UK
Just a question (haven't looked into the sourcecode), are your controls delegate based?
_________________________
Shitlord by trade and passion

Top
#335132 - 07/26/10 23:00 Re: LBGUI - Demo [Re: WretchedSid]
SchokoKeks Offline
User

Registered: 11/18/02
Posts: 912
Loc: Berlin, Germany
WOW!
This is soooo useful. Too late to insert into my project unfortunately.

It would be the perfect solution for menus if you could completely skin it, including freely changing the size of the elements (borders, bars, etc). If that will be possible (maybe it already is), you've got my vote wink
_________________________
my gameDev Blog

Top
#335133 - 07/26/10 23:16 Re: LBGUI - Demo [Re: SchokoKeks]
Lukas Offline

Programmer

Registered: 05/13/07
Posts: 2042
Loc: Germany
@JustSid: I don't know exactly what "delegate based" you means, but the system works like this:
You can create objects, which are stored in structs (the nearest to classes you can get in Lite-C...) with their specific create" function, and you can access their members like engine objects. The objects are "managed" in one loop that calls the respective "manage" function for each object (that's faster than using Caroutines, and I have more control about in which order they are managed).
You can assign them events (like button events) for different things, like when they are destroyed, when windows are maximized, etc. In these functions you can also e.g. prevent a window from being maximized/closed etc.
If "delegate based" means that you write your own function to access the messages of Windows windows and interfere with them, I guess the events can satisfy you. If not, you can change it like you want, because it's open source. wink

@SchokoKeks: Yes, you can use you own bitmaps and change the sizes of all elements (even at runtime). The bitmaps that you finally see in the demo are made out of smaller ones and built up on runtime (have a look at the "files" folder wink ).
_________________________
Kubetris
LBGUI
My name is really Lukas, not Lucas. wink

Top
#335135 - 07/26/10 23:23 Re: LBGUI - Demo [Re: Lukas]
mk_1 Offline
Expert

Registered: 12/25/00
Posts: 4526
What's missing is multiple selection in list boxes (using ctrl and shift)

Otherwise this is pretty damn good stuff. Customizable theme?
_________________________
Follow me on twitter

Top
Page 1 of 16 1 2 3 ... 15 16 >



Gamestudio download | chip programmers | Zorro platform | shop | resources | magazine | manual | support faq | bugs | beta features

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) 3dgamestudio.net