Gamestudio Links
Zorro Links
Newest Posts
terrain lod issue
by Wjbender
Today at 18:26
model interactions ?
by Wjbender
Today at 16:21
volatility-based trailing stop
by webradio
Today at 15:29
ATRS() from indicators.c
by 3DCat
Today at 13:52
A7 Manuals
by DarkProgrammer
Today at 11:11
AUM Magazine
Latest Screens
Get Off My Lawn
"1913: A race before the war"
Ackmania: Operation Deadnex - Director's Cut Edition
Nanohealth
Evoeon : 2D Game Builder
Who's Online
32 registered (Kartoffel, Dico, Ice2642, killerkhan, Ch40zzC0d3r, FEL, Harry Potter, Iglarion, DarkProgrammer, JeyKey II, Chaosfreak, 8 invisible), 210 Guests and 10 Spiders online.
Key: Admin, Global Mod, Mod
Newest Members
anyalew, catsup, achraf, NIN_AATCHB, seanogorman
16937 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: 2041
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 Online
Expert

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

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

Registered: 11/26/07
Posts: 2201
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 Online
Senior Expert

Registered: 09/13/03
Posts: 5907
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: ~90% (indieDB, Development Thread)
("Don't actually play this game... Like, seriously")

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

Programmer

Registered: 05/13/07
Posts: 2041
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 / Brasil
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: 3509
Loc: Germany
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: 906
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: 2041
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: 4511
What's missing is multiple selection in list boxes (using ctrl and shift)

Otherwise this is pretty damn good stuff. Customizable theme?
_________________________
shamelessly promoting the Vault6 Developer Blog. visit and subscribe

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



Gamestudio download | chip programmers | Zorro automaton | shop | resources | magazine | manual | support faq | userwiki | bugs | beta features | forecast

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