Unit 'DirectXUT' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#pl_win_directxut]

CDXUTControl

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

Declaration

Source position: DirectXUT.pas line 691

type CDXUTControl = class

protected

  m_ID: Integer;

  

  m_Type: TDXUTControlType;

  

  m_nHotkey: LongWord;

  

  m_pUserData: Pointer;

  

  m_bEnabled: Boolean;

  

  m_bVisible: Boolean;

  

  m_rcBoundingBox: TRect;

  

  m_bMouseOver: Boolean;

  

  m_bHasFocus: Boolean;

  

  m_bIsDefault: Boolean;

  

  m_Elements: array of CDXUTElement;

  

  procedure UpdateRects; virtual;

  

  procedure SetEnabled(); virtual;

  

  function GetEnabled; virtual;

  

  procedure SetVisible(); virtual;

  

  procedure SetTextColor(); virtual;

  

  function GetElement();

  

  procedure SetElement();

  

public

  constructor Create(); virtual;

  

  destructor Destroy; override;

  

  function OnInit; virtual;

  

  procedure Refresh; virtual;

  

  procedure Render(); virtual;

  

  function MsgProc(); virtual;

  

  function HandleKeyboard(); virtual;

  

  function HandleMouse(); virtual;

  

  function CanHaveFocus; virtual;

  

  procedure OnFocusIn; virtual;

  

  procedure OnFocusOut; virtual;

  

  procedure OnMouseEnter; virtual;

  

  procedure OnMouseLeave; virtual;

  

  procedure OnHotkey; virtual;

  

  function ContainsPoint(); virtual;

  

  procedure SetLocation();

  

  procedure SetSize();

  

  m_x: Integer;

  

  m_y: Integer;

  

  m_width: Integer;

  

  m_height: Integer;

  

  m_pDialog: CDXUTDialog;

  

  m_Index: LongWord;

  

  property Element []: CDXUTElement; [rw]

  

  property UserData: Pointer; [rw]

  

published

  property GetType: TDXUTControlType; [r]

  

  property ID: Integer; [rw]

  

  property Enabled: Boolean; [rw]

  

  property Visible: Boolean; [rw]

  

  property Default: Boolean; [rw]

  

  property Hotkey: LongWord; [rw]

  

  property TextColor: TD3DColor; [w]

  

end;

Inheritance

CDXUTControl

  

|

TObject



CT Web help

CodeTyphon Studio