Latest Uploads
Super Shap ... ration Kit

Andy_A

Platdude Spotting

Jayenkai

Nom nom nom

Jayenkai

Rainbow Trout

Pakz

King Salmon

Pakz

Snooker

Jayenkai

Back to HoboBen's Blog ( Created 05 March 2008 | Last Edited 05 March 2008)
The GUI coming to a desktop near you!
I've started work on a proper GUI for Cobra now. I did have a working thing that was one-window only, but the code was a mess! So I'm rewriting it to be a lot clearer, more manageable, themeable, and completely scriptable, using my recent Basilisk library.

Here's just an early demo, with window focusing and that sort of stuff:



It's a bit ugly ATM, but I want to do all the themeing later... Perhaps getting my artist friend to make a few skins.

I'm hoping to eventually write a visual form designer + IDE (using my own GUI! ) for the scriptable parts that I want to be a bit like VisualBasic. Course, my script interpreting will be a lot slower than even VisualBasic's interpreting, but all the important number-crunching could be done from the Cobra program that uses the GUI...

This GUI stuff in Cobra is a lot easier than doing it in Blitz. Cobra's sprites do all the optimisations automatically, so I don't need to do all that faffing around
optimisations with only-drawing-what-changes, etc, and I can just change SpriteIndex's to adjust the draw-order (focusing windows) instead of having to reorder a load of types (though Cobra has a nice SwapItems command)...

So, stay tuned...

I was going to write a GUI long ago, but then I saw that other people were writing some, so I left them to it. Nothing surfaced, so it's up to me!

Latest Comments

Posted : Thursday, 06 March 2008, 09:26
HoboBen


Woo, progress!

Highslide JS

Semi-automatically themeable, looks fairly pretty for gui elements that I nicked.

Added hotkeys to cascade, tile, and order the windows.

But it doesn't count until it can actually do something useful!

Posted : Thursday, 06 March 2008, 09:32
Jayenkai


Shocking difference between the two
Nice work, keep it up!

Homepage : http://AGameAWeek.com
Posted : Thursday, 06 March 2008, 11:44
HoboBen


lol, I still haven't sorted the buttons - instead I've worked on the window tiling/cascade thingies, and made them all fancy and animated, and a neat alpha fade-out. OSX/Vista/Compiz eat your heart out. I'm debating whether to add particle effects - having windows-on-fire might be overkill?

Posted : Thursday, 06 March 2008, 13:32
HoboBen


Stress test!!!!

Highslide JS

The window tiling functions look really great with that stuff

There's no slowdown at all, either!

I'm enjoying this

Posted : Thursday, 06 March 2008, 19:13
steve_ancell


Good to see you having fun Ben, keep it up .

Homepage : http://homepage.ntlworld.com/stephen.ancell/index.htm
-=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- (c) WidthPadding Industries 1987 732|0 -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=-
Latest Posts
Steve's Car Buying Disaster
steve_ancell Wed 14:32
New Pound Coin
Jayenkai Tue 14:45
Homefries
steve_ancell Tue 01:47
Jeremy Bloody Kyle
steve_ancell Mon 09:45
GamerBlock
Jayenkai Mon 09:06
Laptop Aaargh...
Jayenkai Mon 07:06
Changing Thumbnail Sizes
Jayenkai Mon 05:27
Technology on Planes
therevillsgames Sat 17:00
London Car/Stab Incident
steve_ancell Sat 12:10
A New Korg Gadget!
Jayenkai Sat 04:53
More

Latest Items
Dev-Diary : Sensitive - Arduboy!
Jayenkai Thu 05:03
Link : Super Shapes Exploration Kit
Andy_A Tue 16:56
Snippet : Skylines
steve_ancell Tue 14:25
Blog : My Arduino experience.
steve_ancell Fri 13:45
Showcase : Infinitron
rychan Tue 03:02
Dev-Diary : PS2 to N64 Adapter
spinal Sun 10:49
Link : Vector Tutorials/Help page.
Pakz Thu 23:00
Blog : mini project
spinal Sun 10:13
Showcase : Blockman Returns
Jayenkai Fri 03:04
Snippet : Wall Tracing on Random Maps (rpg)
rskgames Wed 22:48
Snippet : Path Following
Pakz Mon 16:25
Snippet : Flowers (Jan 2017)
Kuron Thu 01:13
Showcase : Clusters of Hex
therevillsgames Mon 15:01
Article : Maths 101 - Episode 1: Basic Trigonometry
shroom_monk Sun 14:07
Article : Maths 101 - Episode 5: Line Intersection
shroom_monk Sun 14:02
More

Who's Online
Pakz
Thu, at 12:33
Jayenkai
Thu, at 12:32
spinal
Thu, at 12:20
Andy_A
Thu, at 09:58
rychan
Thu, at 09:56
rockford
Thu, at 07:45
steve_ancell
Thu, at 03:36
rskgames
Thu, at 03:09
Evil Roy Ferguson
Wed, at 19:54
9572AD
Wed, at 17:27
Link to this page
Site : Jayenkai 2006-Infinity | MudChat's origins, BBCode's former life, Image Scaler.