openglcontrol: fixed visibility

git-svn-id: trunk@21092 -
This commit is contained in:
mattias 2009-08-03 19:00:06 +00:00
parent 666e29fbde
commit dc0c82f3e3

View File

@ -108,7 +108,6 @@ type
procedure WMSize(var Message: TLMSize); message LM_SIZE;
procedure UpdateFrameTimeDiff;
procedure OpenGLAttributesChanged;
procedure EraseBackground(DC: HDC); override;
public
constructor Create(TheOwner: TComponent); override;
destructor Destroy; override;
@ -121,6 +120,7 @@ type
function SharingControlCount: integer;
property SharingControls[Index: integer]: TCustomOpenGLControl read GetSharingControls;
procedure Invalidate; override;
procedure EraseBackground(DC: HDC); override;
public
property FrameDiffTimeInMSecs: integer read FFrameDiffTime;
property OnMakeCurrent: TOpenGlCtrlMakeCurrentEvent read FOnMakeCurrent
@ -171,7 +171,7 @@ type
{ TWSOpenGLControl }
TWSOpenGLControl = class(TWidgetSetWSWinControl)
public
published
class function CreateHandle(const AWinControl: TWinControl;
const AParams: TCreateParams): HWND; override;
class procedure DestroyHandle(const AWinControl: TWinControl); override;