Description | Hierarchy | Fields | Methods | Properties |
type unaWinGraphicsApp = class(unaWinApp)
Windows application whith graphics support.
constructor create(fps: unsigned = 20; frameWidth: unsigned = 700; frameHeight: unsigned = 500; bgColor: COLORREF = 0; const title: string = ''; canResize: bool = true; canMinimize: bool = true; x: int = 50; y: int = 20; icon: int = -1; windowFlags: int = -1; windowExFlags: int = -1; memWidth: int = -1; memHeight: int = -1); overload; |
|
constructor create(wnd: hWnd; fps: unsigned = 20; bgColor: COLORREF = 0; const title: string = ''; canResize: bool = true; memWidth: int = -1; memHeight: int = -1); overload; |
|
destructor Destroy(); override; |
|
function setBits(x, y: int; data: pointer; size: unsigned): unsigned; |
|
function doCreateWindow(): hWnd; override; |
|
function onDrawFrame(): bool; virtual; |
|
function onRunEnterLeave(enter: bool): bool; override; |
|
procedure skipFrame(); |
property actualFps: unsigned read f_actualFps; |
|
property bgColor: COLORREF read f_bgColor; |
|
property eraseBg: bool read f_eraseBg write f_eraseBg; |
|
property fps: unsigned read f_fps; |
|
property frameHeight: unsigned read f_frameHeight; |
|
property frameWidth: unsigned read f_frameWidth; |
|
property grDC: hDC read f_grDC; |
|
property memDC: hDC read f_memDC; |
|
property memDIB: hBITMAP read f_memDIB; |
|
property memDIBInfo: BITMAPINFO read f_memBmpInfo; |
|
property memXSize: int read f_memXSize; |
|
property memYSize: int read f_memYSize; |
constructor create(fps: unsigned = 20; frameWidth: unsigned = 700; frameHeight: unsigned = 500; bgColor: COLORREF = 0; const title: string = ''; canResize: bool = true; canMinimize: bool = true; x: int = 50; y: int = 20; icon: int = -1; windowFlags: int = -1; windowExFlags: int = -1; memWidth: int = -1; memHeight: int = -1); overload; |
|
constructor create(wnd: hWnd; fps: unsigned = 20; bgColor: COLORREF = 0; const title: string = ''; canResize: bool = true; memWidth: int = -1; memHeight: int = -1); overload; |
|
destructor Destroy(); override; |
|
function setBits(x, y: int; data: pointer; size: unsigned): unsigned; |
|
function doCreateWindow(): hWnd; override; |
|
function onDrawFrame(): bool; virtual; |
|
function onRunEnterLeave(enter: bool): bool; override; |
|
procedure skipFrame(); |
|
property actualFps: unsigned read f_actualFps; |
|
property bgColor: COLORREF read f_bgColor; |
|
property eraseBg: bool read f_eraseBg write f_eraseBg; |
|
property fps: unsigned read f_fps; |
|
property frameHeight: unsigned read f_frameHeight; |
|
property frameWidth: unsigned read f_frameWidth; |
|
property grDC: hDC read f_grDC; |
|
property memDC: hDC read f_memDC; |
|
property memDIB: hBITMAP read f_memDIB; |
|
property memDIBInfo: BITMAPINFO read f_memBmpInfo; |
|
property memXSize: int read f_memXSize; |
|
property memYSize: int read f_memYSize; |
|
(c) 2012 Lake of Soft