Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Work in Progress / Flexi Gui (PlayBasic)

Author
Message
Kevin Picone
22
Years of Service
User Offline
Joined: 27th Aug 2002
Location: Australia
Posted: 4th Nov 2005 16:48 Edited at: 19th Jan 2013 23:12
Flex GUI V0.19

Been adding onto our native (PlayBASIC) GUI system for the past few days. So we can have both a Windows and Native solution. While Flexi isn't capable of doing half the WinGUI expansion is, the idea is that it'll be useful for managing screen content, in your editors and tools. But I guess you could use in your game also, since It's customizable, to a point.

Currently were working on implementing some gadgets, about half way there at the time of writing. Should hopefully have the majority of that done today, with any luck.


Window Features:

* Basic controls Resize, Drag, click to front,

* Windows have priority's, Windows are grouped and drawn based on their priority

* Optional palette(s)

* Optional window gadgets (minimized, maximize and close)

* Mouse over highlights

* Event Driven
---> User can catch MouseOver,MouseClick, resize, redraw, create, delete, etc
---> Windows can control their own refresh rate (either delta time a FPS rate)
---> System events and be over written, So you can make your own control functions to over ride

* Windows are linkable.

* TaskBar for minimized windows. User can catch events on Task bar. Currently their can only be one task bar active at once.


Gadgets (WIP):
* Labels
* Buttons
* Check Boxes
* Text Boxes
* Vscrollers
* Hscrollers
* Picture/IMage Boxes

Attachments

Login to view attachments
Kevin Picone
22
Years of Service
User Offline
Joined: 27th Aug 2002
Location: Australia
Posted: 4th Nov 2005 16:51
Scroll Gadget Proto types

Kevin Picone
[url]www.underwaredesign.com[/url]
Play Nice!Play Basic (Release V1.088 Out Now)- Play Extreme with Play Basic FX {TBA}

Attachments

Login to view attachments
Xenocythe
19
Years of Service
User Offline
Joined: 26th May 2005
Location: You Essay.
Posted: 4th Nov 2005 17:20
Demo? Looks pretty good, but dude, isn't this the DB area?
empty
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: 3 boats down from the candy
Posted: 4th Nov 2005 17:23
Quote: "but dude, isn't this the DB area?"

Nope. It's for PlayBasic as well.


Play Nice! Play Basic! Version 1.089
Sergey K
20
Years of Service
User Offline
Joined: 4th Jan 2004
Location:
Posted: 4th Nov 2005 19:47
nice work.. really..
but how many windows u can open in one time? does it limited?


BlueLight Online, improved version of MorningOnline
Kevin Picone
22
Years of Service
User Offline
Joined: 27th Aug 2002
Location: Australia
Posted: 4th Nov 2005 20:01
It's dynamic, so there's no code limit on windows or controls.

Kevin Picone
[url]www.underwaredesign.com[/url]
Play Nice!Play Basic (Release V1.089 Out Now)- Play Extreme with Play Basic FX {TBA}
Kevin Picone
22
Years of Service
User Offline
Joined: 27th Aug 2002
Location: Australia
Posted: 4th Nov 2005 23:49 Edited at: 19th Jan 2013 23:13
Scroll Bars Done

This picture shows has both the H/V scroll bars in and running.

Attachments

Login to view attachments
Kevin Picone
22
Years of Service
User Offline
Joined: 27th Aug 2002
Location: Australia
Posted: 6th Nov 2005 19:55
Check boxes

Still got a few left, text & picture boxes...

Kevin Picone
[url]www.underwaredesign.com[/url]
Play Nice!Play Basic (Release V1.089 Out Now)- Play Extreme with Play Basic FX {TBA}

Attachments

Login to view attachments
Zotoaster
19
Years of Service
User Offline
Joined: 20th Dec 2004
Location: Scotland
Posted: 6th Nov 2005 23:08
It's coming along pretty well.. looks like Bill Gates is getting some competition


Kevin Picone
22
Years of Service
User Offline
Joined: 27th Aug 2002
Location: Australia
Posted: 7th Nov 2005 07:45
Picture Boxes

I've implemented a simple picture box. While it's pictured with scroll bars attached to it, those are manually implemented in code. Since at this point controls can't have their dependant controls. If they could, I could build more complex controls out of a group of existing base controls. But time is getting away from me. The purpose of this gui update was simply to implement enough functionality to enable it to be used in PlayMapper. That's it.

Kevin Picone
[url]www.underwaredesign.com[/url]
Play Nice!Play Basic (Release V1.089 Out Now)- Play Extreme with Play Basic FX {TBA}

Attachments

Login to view attachments
Kevin Picone
22
Years of Service
User Offline
Joined: 27th Aug 2002
Location: Australia
Posted: 9th Nov 2005 03:35
Text Boxes (single line)

And here we have single line text boxes up and running. While there's some cosmetic work to be done, that pretty much completes the base gadget set that I thought i'd need.

The input works pretty well, it's smart enough to manage the refresh so that only changes the input state effect the redrawing the gadget and subsequently it's parent window. This smoothes out the performance a great deal, and virtually makes missed key strokes a thing of the past. It's certainly not infallible though.

Kevin Picone
[url]www.underwaredesign.com[/url]
Play Nice!Play Basic (Release V1.089 Out Now)- Play Extreme with Play Basic FX {TBA}

Attachments

Login to view attachments
dab
20
Years of Service
User Offline
Joined: 22nd Sep 2004
Location: Your Temp Folder!
Posted: 10th Nov 2005 06:20
So this works for darkbasic classic? or pro and playbasic?

Jeku
Moderator
21
Years of Service
User Offline
Joined: 4th Jul 2003
Location: Vancouver, British Columbia, Canada
Posted: 10th Nov 2005 07:30
Just PlayBasic

Kevin Picone
22
Years of Service
User Offline
Joined: 27th Aug 2002
Location: Australia
Posted: 10th Nov 2005 16:54 Edited at: 19th Jan 2013 23:20
Flexu GUI V0.29

Well, here's the current build of the PlayBASIC Flexi GUI library. It's a bit of mish mash of approaches internally, but it works

Window Features:

* Basic controls Resize, Drag, click to front,

* Windows have prioritys, Windows are grouped and drawn based on their priority

* Optional palette(s)

* Optional window gadgets (minimized, maximize and close)

* Mouse over highlights

* Event Driven
---> User can catch MouseOver,MouseClick, resize, redraw, create, delete, etc
---> Windows can control their own refresh rate (either delta time a FPS rate)
---> System events and be over written, So you can make your own control functions to over ride

* Windows are linkable.

* TaskBar for minimized windows. User can catch events on Task bar. Currently their can only be one task bar active at once.



Gadgets:

* Labels
* Text Box
* Command Button
* Check Boxes
* Picture Box
* V scrollers
* H scrollers


Download Flexi Gui Demo V0.29 (850k)

dab
20
Years of Service
User Offline
Joined: 22nd Sep 2004
Location: Your Temp Folder!
Posted: 11th Nov 2005 00:32
Oh. dangit. It looks really cool.

Kevin Picone
22
Years of Service
User Offline
Joined: 27th Aug 2002
Location: Australia
Posted: 11th Nov 2005 12:42 Edited at: 19th Jan 2013 23:36
Yeah, it's getting there!

Login to post a reply

Server time is: 2024-09-29 10:27:24
Your offset time is: 2024-09-29 10:27:24