+ -
当前位置:首页 → 问答吧 → DelphiX中SetColorKey怎么用?

DelphiX中SetColorKey怎么用?

时间:2011-10-20

来源:互联网

如题。
property ColorKey[Flags: DWORD]: TDDColorKey write SetColorKey;

procedure TDirectDrawSurface.SetColorKey(Flags: DWORD; const Value: TDDColorKey);
begin
  if {$IFDEF D3D_deprecated}IDDSurface{$ELSE}IDDSurface7{$ENDIF} <> nil then
  DXResult := {$IFDEF D3D_deprecated}ISurface{$ELSE}ISurface7{$ENDIF}.SetColorKey(Flags, @Value);
end;

此中Value在哪设置?
Procedure SetColorKey是private。

作者: duron0251   发布时间: 2011-10-20

要看协议啊,你协议是怎么定就怎么解释

作者: jasongyq   发布时间: 2011-10-21