Patch #5091, by Ramon Carlos Ruiz

For numerical pad 2-4-6-8, it adds a step value in degrees in the User
Presets. Code had to be rewritten some... :)
This commit is contained in:
2006-11-08 12:46:41 +00:00
parent 6685c0d571
commit a0354619c7
4 changed files with 13 additions and 7 deletions

View File

@@ -2840,7 +2840,11 @@ void drawinfospace(ScrArea *sa, void *spacedata)
&U.rvibright, 0, 10, 0, 0,
"The brightness of the icon");
uiBlockEndAlign(block);
uiDefButS(block, NUM, B_DRAWINFO, "Rotation Angle:",
(xpos+edgsp+(3*mpref)+(4*midsp)),y1,(mpref),buth,
&U.pad_rot_angle, 0, 90, 0, 0,
"The rotation step for numerical pad keys (2 4 6 8)");
uiDefBut(block, LABEL,0,"Select with:",
(xpos+(2*edgsp)+(3*mpref)+(3*midsp)),y6label,mpref,buth,