[Overview][Constants][Classes][Index] Reference for unit 'nvGLWidgets' (#nvidia-widgets)

GLUIPainter.drawFrame

Draw frame primitive

Declaration

Source position: line 0

procedure GLUIPainter.drawFrame(

  const r: Rect;

  margin: Integer;

  style: Integer

); override;

procedure GLUIPainter.drawFrame(

  aRect: Rect;

  corner: Point;

  isHover: Boolean = false;

  isOn: Boolean = false;

  isFocus: Boolean = false

);

Arguments

aRect

  

Rectangle to draw in

corner

  

Radius of the corner

isHover

  

Boolean indicating if the mouse is hovering over it

isOn

  

Boolean indicating if the widget is on

isFocus

  

Boolean indicating if the widget has focus