XNA Creators Club Online
community forums
Page 1 of 1 (11 items)
Sort Posts: Previous Next

DXUT GUI

Last post 11-08-2008 8:31 PM by LinkLab. 10 replies.
  • 12-19-2007 2:25 PM

    DXUT GUI

    Hello,

     

    I have one question...Is possible to change existing DXUT GUI (buttons, panels), and change it with new one (other style )...

     

    Thanks in advance,

     

    Jan

     

     

  • 01-06-2008 3:53 AM In reply to

    Re: DXUT GUI

    Yes of course. The GUI's art is stored in textures. Modify that texture to make new art for your DXUT GUI controls. Their behaviors' source is open for you to modify as well.
    Wessam Bahnassi
    Microsoft DirectX MVP
  • 05-11-2008 9:42 AM In reply to

    Re: DXUT GUI

    Where do I find those textures?
  • 05-27-2008 10:48 PM In reply to

    Re: DXUT GUI

    The texture can be found: C:\Program Files\Microsoft DirectX SDK (March 2008)\Samples\Media\UI

    Use CDXUTDialog:Init( CDXUTDialogResourceManager* pManager, bool bRegisterDialog, LPCWSTR pszControlTextureFilename ) to pass in a custom one.  Take a look at CDXUTDialog::InitDefaultElements() for how the default one is used.

     

  • 05-30-2008 5:22 AM In reply to

    Re: DXUT GUI

    Thank you. 

    I have yet one question: why the heck I get this error:

    error C2062: type 'bool' unexpected

     


  • 05-30-2008 6:34 AM In reply to

    Re: DXUT GUI

    That means that you have fed C++ code to the compiler which is not proper C++ code.

    Make sure that your code is syntactically correct C++, and the error will go away.


    Jon Watte, Direct3D MVP kW X-port 3ds Max .X exporter kW Animation source code
  • 05-30-2008 6:52 AM In reply to

    Re: DXUT GUI

    g_Misc.Init( &g_DialogResourceManager, bool bRegisterDialog = true, LPCWSTR g_GUITextures );

    Whats wrong in here? The syntax is correct ( bool bRegisterDialog = true).

     


  • 05-30-2008 5:53 PM In reply to

    Re: DXUT GUI

    The syntax is not correct. When calling a function, you don't specify the types and default values of parameters. You just pass the values. e.g.:

    g_Misc.Init(&g_DialogResourceManager,true,g_GUITextures);

     

  • 11-08-2008 7:31 PM In reply to

    Re: DXUT GUI

    Where it is possible to download?
  • 11-08-2008 7:35 PM In reply to

    Re: DXUT GUI

    It's included in the DirectX SDK available here.
  • 11-08-2008 8:31 PM In reply to

    Re: DXUT GUI

    Thank :)
Page 1 of 1 (11 items) Previous Next
var gDomain='m.webtrends.com'; var gDcsId='dcschd84w10000w4lw9hcqmsz_8n3x'; var gTrackEvents=1; var gFpc='WT_FPC'; /*<\/scr"+"ipt>");} /*]]>*/
DCSIMG