Gamestudio Links
Zorro Links
Newest Posts
One Night Stand System
by DdlV
Yesterday at 17:32
Genetic Optimization - Multi Assets Optimization
by jcl
Yesterday at 13:27
Textarea implementation Easy ways?
by Malice
Yesterday at 03:14
I cant find an indicador in the indicator.c file
by Nanitek
10/05/15 18:19
What are you working on?
by Realspawn
10/05/15 14:04
AUM Magazine
Latest Screens
AckCon'15: Morbius - The Utopia Conspiracy
Cookie Rumble
Who's Online
15 registered (sitrep, Dico, Sphin, Iglarion, Realspawn, exile, Ch40zzC0d3r, Denn15, AlbertoT, Debugger316, txesmi, alibaba, 3 invisible), 162 Guests and 5 Spiders online.
Key: Admin, Global Mod, Mod
Newest Members
Shiv, V_David, eHeSe, doron, AndyCap
17123 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


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):

Here's the header:
My name is really Lukas, not Lucas. wink

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

Registered: 02/27/09
Posts: 3204
Loc: Germany, Magdeburg
Wow, really really nice laugh

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

Registered: 11/26/07
Posts: 2431
Loc: Germany, BW, Stuttgart
you beat me!
nice stuff!
i like it
Visit my site:

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

Registered: 09/13/03
Posts: 6222
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: ~91.85% (indieDB, Showcase Thread) (Actually greenlit!)

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


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.

My name is really Lukas, not Lucas. wink

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

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

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

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

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

Registered: 11/18/02
Posts: 907
Loc: Berlin, Germany
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

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


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 ).
My name is really Lukas, not Lucas. wink

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

Registered: 12/25/00
Posts: 4515
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

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)