diff options
author | Tomaž Vajngerl <quikee@gmail.com> | 2013-06-03 22:11:34 +0200 |
---|---|---|
committer | Tomaž Vajngerl <quikee@gmail.com> | 2013-06-03 23:44:59 +0200 |
commit | 870dd818999ac62c6722c208527d5fbf28c5daee (patch) | |
tree | 61166ee2405ec08a230d7ddf4cb8799a6109e2af /Mesa/inc | |
parent | 30f2fa988fa9ed52bd2db693e099ab2c7f4efdf5 (diff) |
fdo#60120 Modify DialControl to store 100th degree angle.
DialControl internally stores the angle to a 100th of a degree
percision, but when SetRotation is called, the value was always
rounded to a 1 degree percision. This has now been modified to
round only on DialControl mouse interaction.
Additionally add add a parameter to SetLinkedField which states
the number of decimal places the NumericField is set to. This change
makes possible to set the NumericField to 100th of a Degree as the
internal angle is represented in. Default value is 0, so no change is
needed to existing DialControls.
Change-Id: I1f0c20092cdfccbd0878d7eb620bfdad7825b0fb
Diffstat (limited to 'Mesa/inc')
0 files changed, 0 insertions, 0 deletions