[Overview][Constants][Types][Classes][Procedures and functions][Index] Reference for unit 'nvWidgets' (#nvidia-widgets)

UIContext

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

Basic UI context

Declaration

Source position: nvWidgets.pas line 209

type UIContext = class(TObject)

public

  constructor Create();

  procedure reshape();

  

UI method for processing window size events

  function isOnFocus;

  

Check if the UI is currently on Focus

public

  procedure mouse();

  

UI method for processing mouse events

public

  procedure mouseMotion();

  

UI method for processing mouse motion events

  procedure keyboard();

  

UI method for processing key events

  procedure _begin;

  

UI method for entering UI processing mode

  procedure _end; virtual;

  

UI method for leaving UI processing mode

  procedure doLabel();

  

UI method for drawing a static text label

public

  function doButton();

  

UI method for rendering and processing a push button

public

  function doCheckButton();

  

UI method for rendering and processing a check button

  function doRadioButton();

  

UI method for rendering and processing a radio button

  function doHorizontalSlider();

  

UI method for rendering and processing a horizontal slider

  function doListItem();

  function doListBox();

  function doComboBox();

  function doLineEdit();

public

  procedure beginGroup();

  

Begin grouping section of UI objects

public

  procedure endGroup;

  procedure beginFrame();

  procedure endFrame;

  function beginPanel();

  procedure endPanel;

  function getGroupWidth;

  function getGroupHeight;

  function getCursorX;

  function getCursorY;

  function getMouseState();

  procedure doTextureView();

  

UI method for drawing a texture view

protected

  function getPainter;

  

Active widget painter

  function window;

protected

  function placeRect();

  m_painter: UIPainter;

  m_groupIndex: Integer;

  m_groupStack: ;

  m_window: Rect;

  m_currentCursor: Point;

  m_mouseButton: ;

  m_keyBuffer: ;

  m_nbKeys: Integer;

  m_focusCaretPos: Integer;

  m_focusPoint: Point;

  m_twoStepFocus: Boolean;

  m_uiOnFocus: Boolean;

end;

Inheritance

UIContext

  

Basic UI context

|

TObject