• entries
    740
  • comments
    957
  • views
    730226

IT'S ALIIIIIIIIVE!!!

Sign in to follow this  
Gaiiden

192 views



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]
Sign in to follow this  


5 Comments


Recommended Comments

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?

Share this comment


Link to comment
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.

Share this comment


Link to comment
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.

Share this comment


Link to comment
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. :)

Share this comment


Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now