IT'S ALIIIIIIIIVE!!!

posted in Gaiiden's Scroll
Published November 22, 2004
Advertisement


Well, I finally finished up my GUI interface and my first widgets, the horizontal and vertical scrollbars. Yes!! And it works! YES!!

*does happy dance*

This is freakin awesome. Now that the GUI framework is in place, I have a set structure to follow in creating the other controls, which makes it easier. I successfully replaced all the Boost::Function calls with the Boost::Signals library. Now GUI widgets can callback more than one object (same for object and button callbacks). Sweet.

I think this is time for some reflection. Let's see... The earliest date I can find for the Katana Engine is 3/8/04. That's the day I used Enterprise Architect to turn my UML design into a code framework from which to build off of. So we'll say the Katana Engine was birthed in March. It's now November, which means I've been working on it off and on for 8 months now. Not bad. The engine is made up of 81 seperate files totaling 8,523 lines of code (11,974 lines with comments included). Sweet. I love statistics [smile]. I started working on the GUI 10/7/04, so I've been at it for over a month now.

Oh yea! You can all see the GUI in action for yourselves! Check it out here. All the needed DLLs are included and whatnot. It just showcases the scroll bars scrolling an image. The scroll bars will behave like Windows scroll bars, with the exception that the drag bar never changes size and clicking and holding on the slider bar only moves the drag bar once. I've also included the source code. Not the engine source, just the source that makes the app tick. It's only about 40 lines of code, since the files are all templates used in every Katana Engine application so you only have to add code in certain areas (marked by commented TODOs).

So enjoy! Tell me what you think! [smile]
0 likes 5 comments

Comments

johnhattan
I presume that responding to resize requests is on the to-do list :)

Otherwise it looks fine. Why are there two VC++ runtime DLL's in the zip?
November 22, 2004 06:38 AM
evolutional
Looks nice :) Won't let me resize the window though :x

And a 5mb application log for 18 seconds of runtime? Man that's verbose!

Lookin' good though, especially the graphics.
November 22, 2004 11:41 AM
Gaiiden
Quote:
I presume that responding to resize requests is on the to-do list :)

Nah. I don't plan on making many windowed apps. It's just windowed for testing. But it may be something I fix if I ever have nothing else to do with it...
Quote:
Otherwise it looks fine. Why are there two VC++ runtime DLL's in the zip?

I dunno, I guess they have something to do with VC++ Express. I couldn't run the app without em.
Quote:
And a 5mb application log for 18 seconds of runtime? Man that's verbose!

Err... yea, lol - I forgot to disable my profiling [smile]. It never really gets that big on my comp since it runs a lot slower, heh.
November 22, 2004 12:05 PM
Karelian
Looking good.

There's a minor bug though: when you push the mouse button down over an arrow button but don't release it yet, then drag over the drag bar and release the mouse button, the arrow button remains pushed down.

Hope my explanation makes any sense and that it's of any help. :)
November 22, 2004 12:47 PM
Gaiiden
Rats, I was hoping no one would find that [smile] Yea it's a bug I haven't fixed yet, good catch!

EDIT: Fixed it! Muahahaha!
November 22, 2004 12:50 PM
You must log in to join the conversation.
Don't have a GameDev.net account? Sign up!
Advertisement