PDA

View Full Version : DX GUI sample



tux
01-02-2005, 01:52 PM
how do i change the theme of the controls on the dx gui sample?

TheLion
02-02-2005, 08:37 AM
I probably missed something, but what DX GUI sample? :)

tux
02-02-2005, 08:49 AM
this one

http://clootie.narod.ru/delphi/download_dx92.html#D3Dex_CustomUI

Clootie
02-02-2005, 07:09 PM
By replacing dxutcontrols.dds with yours 8)

tux
02-02-2005, 07:33 PM
hmm thanks it works :)

when is it loaded? because i cant find the part of code loading it :D

Clootie
02-02-2005, 07:42 PM
procedure CDXUTDialog.InitDefaultElements;
var
Element: CDXUTElement;
rcTexture: TRect;
begin
SetTexture(0, 'UI\DXUTControls.dds');

tux
02-02-2005, 07:49 PM
:D