Latest Uploads
Invasion V ... prototype

rychan

Invasion V ... Prototype

rychan

Shields 64x64

Pakz

Ffs_Spam

Jayenkai

Hives Screen shot

rychan

Rpg Potion Sprites

Pakz

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 635|0 -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=-
Latest Posts
SNES Classic
spinal Mon 11:02
AGameAWeek : 2017 - Part One
Jayenkai Mon 09:28
For Greed
steve_ancell Mon 08:05
Puff Dog
spinal Mon 02:42
Crystal Maze
rychan Sun 11:59
CSS-Me-Do - SoCoder2
Jayenkai Sun 08:08
Buy Zelda
Jayenkai Sat 08:34
Welcome Caton
steve_ancell Sat 04:53
Update All Objects in Array?
Jayenkai Sat 03:34
2D Array?
Jayenkai Sat 03:29
More

Latest Items
Blog : Rewatching ''1 Litre of Tears''
Jayenkai Mon 02:52
Snippet : Twitter BBCode
Jayenkai Sun 02:44
Link : Learn C++
Pakz Sat 20:33
Dev-Diary : My Journey into NES Development
Jayenkai Thu 03:58
Showcase : A Civilization Clone v0.5
rychan Thu 03:27
News : Newsletter #320
Jayenkai Tue 18:47
Blog : sadas
hardcoal22 Tue 02:50
Showcase : Flappadiddle
Jayenkai Mon 08:20
Article : Cookie Information
rychan Sun 12:28
Dev-Diary : Wii to N64 adapter
spinal Sat 11:50
Link : MonkeyX code examples
Jayenkai Sat 06:42
Link : Available Languages
Jayenkai Thu 13:22
Blog : Mr Testo Tests
Socoder Tue 07:21
Showcase : Hives
zzoom Fri 16:10
More

Who's Online
Jayenkai
Mon, at 11:19
Pakz
Mon, at 11:14
spinal
Mon, at 11:12
rychan
Mon, at 10:42
GfK
Mon, at 10:12
rskgames
Mon, at 09:36
steve_ancell
Mon, at 09:25
Dan
Mon, at 08:22
shroom_monk
Mon, at 05:58
rockford
Mon, at 05:38
Link to this page
Site : Jayenkai 2006-Infinity | MudChat's origins, BBCode's former life, Image Scaler.