Jump to content
  • Advertisement
  • entries
    707
  • comments
    1173
  • views
    436449

Just a quick question...

Sign in to follow this  
Programmer16

91 views

Would anybody want to use my GUI system if I set it up so that you'd only have to supply a few things?

I was thinking of setting it up so that you'd pretty much just have to supply a IDirect3DDevice9 pointer and a callback or two via something like so:

#include
#pragma comment(lib, "dftGUI")

dft::WidgetManager g_WidgetMgr;

int WINAPI WinMain(HINSTANCE, HINSTANCE, LPSTR, int)
{
g_WidgetMgr.Set(WidgetRenderer(YourD3DDevicePtr), InputCallback, EventHandler);
return 0;
}





If anybody is interested, say so and once I get some time I'll start switching it over. Also, I'll be switching to Win32 input (instead of DirectInput.)

Edit: I refer those of you that haven't seen it to here.
Sign in to follow this  


0 Comments


Recommended Comments

There are no comments to display.

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
  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!