[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
Abstract class use for representing a Window or Widget
Source position: fpg_base.pas line 393
type TfpgWindowBase = class(TfpgComponent) |
||
protected |
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
FSizeIsDirty: Boolean; |
||
FPosIsDirty: Boolean; |
||
FMouseCursorIsDirty: Boolean; |
||
function HandleIsValid; virtual; abstract; |
|
|
procedure DoUpdateWindowPosition; virtual; abstract; |
|
|
procedure DoAllocateWindowHandle(); virtual; abstract; |
|
|
procedure DoReleaseWindowHandle; virtual; abstract; |
|
|
procedure DoRemoveWindowLookup; virtual; abstract; |
||
procedure DoSetWindowVisible(); virtual; abstract; |
|
|
procedure DoMoveWindow(); virtual; abstract; |
|
|
function DoWindowToScreen(); virtual; abstract; |
|
|
procedure DoSetWindowTitle(); virtual; abstract; |
|
|
procedure DoSetMouseCursor; virtual; abstract; |
|
|
procedure SetParent(); virtual; |
|
|
function GetParent; virtual; |
|
|
function GetCanvas; virtual; |
|
|
procedure AllocateWindowHandle; |
|
|
procedure ReleaseWindowHandle; |
|
|
procedure SetWindowTitle(); virtual; |
|
|
procedure SetTop(); |
||
procedure SetLeft(); |
||
procedure SetHeight(); |
|
|
procedure SetWidth(); |
|
|
procedure HandleMove(); virtual; |
||
procedure HandleResize(); virtual; |
||
public |
||
constructor Create(); override; |
|
|
procedure AfterConstruction; override; |
|
|
procedure AdjustWindowStyle; virtual; |
|
|
procedure SetWindowParameters; virtual; |
|
|
function Right; |
|
|
function Bottom; |
|
|
procedure UpdateWindowPosition; |
|
|
procedure MoveWindow(); |
|
|
function WindowToScreen(); |
|
|
function HasParent; override; |
||
procedure ActivateWindow; virtual; abstract; |
||
procedure CaptureMouse; virtual; abstract; |
|
|
procedure ReleaseMouse; virtual; abstract; |
|
|
procedure SetFullscreen(); virtual; |
||
property HasHandle: Boolean; [r] |
|
|
property WindowType: TWindowType; [rw] |
|
|
property WindowAttributes: TWindowAttributes; [rw] |
|
|
|
||
|
||
|
||
|
||
|
||
|
||
property Canvas: TfpgCanvasBase; [r] |
|
|
property Parent: TfpgWindowBase; [rw] |
|
|
property MouseCursor: TMouseCursor; [rw] |
|
|
end; |
|
Abstract class use for representing a Window or Widget |
|
| | ||
| | ||
TComponent |
||
? | ||
TObject |
fpGUI is a Windowed toolkit. By that we mean that every component or widget has a window handle. Widgets are essentially embedded windows without titlebars or borders inside a main parent window.