Home Units Hierarchy Routines All identifiers

Class unaWinGraphicsApp

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type unaWinGraphicsApp = class(unaWinApp)

Description

Windows application whith graphics support.

Hierarchy

Overview

Methods

Public 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;
Public constructor create(wnd: hWnd; fps: unsigned = 20; bgColor: COLORREF = 0; const title: string = ''; canResize: bool = true; memWidth: int = -1; memHeight: int = -1); overload;
Public destructor Destroy(); override;
Public function setBits(x, y: int; data: pointer; size: unsigned): unsigned;
Protected function doCreateWindow(): hWnd; override;
Protected function onDrawFrame(): bool; virtual;
Protected function onRunEnterLeave(enter: bool): bool; override;
Protected procedure skipFrame();

Properties

Public property actualFps: unsigned read f_actualFps;
Public property bgColor: COLORREF read f_bgColor;
Public property eraseBg: bool read f_eraseBg write f_eraseBg;
Public property fps: unsigned read f_fps;
Public property frameHeight: unsigned read f_frameHeight;
Public property frameWidth: unsigned read f_frameWidth;
Public property grDC: hDC read f_grDC;
Public property memDC: hDC read f_memDC;
Public property memDIB: hBITMAP read f_memDIB;
Public property memDIBInfo: BITMAPINFO read f_memBmpInfo;
Public property memXSize: int read f_memXSize;
Public property memYSize: int read f_memYSize;

Description

Methods

Public 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;
 
Public constructor create(wnd: hWnd; fps: unsigned = 20; bgColor: COLORREF = 0; const title: string = ''; canResize: bool = true; memWidth: int = -1; memHeight: int = -1); overload;
 
Public destructor Destroy(); override;
 
Public function setBits(x, y: int; data: pointer; size: unsigned): unsigned;
 
Protected function doCreateWindow(): hWnd; override;
 
Protected function onDrawFrame(): bool; virtual;
 
Protected function onRunEnterLeave(enter: bool): bool; override;
 
Protected procedure skipFrame();
 

Properties

Public property actualFps: unsigned read f_actualFps;
 
Public property bgColor: COLORREF read f_bgColor;
 
Public property eraseBg: bool read f_eraseBg write f_eraseBg;
 
Public property fps: unsigned read f_fps;
 
Public property frameHeight: unsigned read f_frameHeight;
 
Public property frameWidth: unsigned read f_frameWidth;
 
Public property grDC: hDC read f_grDC;
 
Public property memDC: hDC read f_memDC;
 
Public property memDIB: hBITMAP read f_memDIB;
 
Public property memDIBInfo: BITMAPINFO read f_memBmpInfo;
 
Public property memXSize: int read f_memXSize;
 
Public property memYSize: int read f_memYSize;
 

(c) 2012 Lake of Soft


Generated by PasDoc 0.12.1 on 2012-10-09