• Advertisement
  • entries
    707
  • comments
    1173
  • views
    435238

Just a quick question...

Sign in to follow this  

81 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