CmdDial

From MCS Wiki AVR
Revision as of 18:04, 12 December 2014 by Admin (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Contents

Action

Draw a rotary dial control.

 

 

Syntax

CmdDial x, y, r ,options, val

 

 

Remarks

x

x-coordinate of dial center, in pixels

y

y-coordinate of dial center, in pixels

r

radius of dial, in pixels

options

By default the dial is drawn with a 3D effect.

Options OPT_FLAT removes the 3D effect.

val

Specify the position of dial points by setting a value between 0 and 65535 inclusive.

0 means that the dial points straight down, &H4000 left, &H8000 up, and &Hc000 right.

 

 

Example

Personal tools
Namespaces
Variants
Actions
Navigation
Language