ドラゴンクエストクロ ..
19:名前は開発中のものです。
03/03/03 07:04 pxhSxl9y.net
>>15
DirectDrawでのTCanvasの使い方がなっていない。
WindowsAPIを使うなどとは・・・。
以下のようなクラスを作って
interface
uses
Windows, Graphics, DirectX;
type
TDirectDrawCanvas = class(TCanvas)
protected
FSurface: IDirectDrawSurface;
FDeviceContext: HDC;
FEnabled: Boolean;
procedure CreateHandle; override;
public
constructor Create(ASurface: IDirectDrawSurface);
destructor Destroy; override;
procedure Release;
property Enabled: Boolean read FEnabled;
end;
implementation
次ページ続きを表示1を表示最新レス表示スレッドの検索類似スレ一覧話題のニュースおまかせリスト▼オプションを表示暇つぶし2ch
136日前に更新/177 KB
担当:undef