| [ Return to Bugs & Features | Roadmap 1.1 | SVN ⇄ GIT ]
STR #101
Application: | FLTK Library |
Status: | 1 - Closed w/Resolution |
Priority: | 2 - Low, e.g. a documentation error or undocumented side-effect |
Scope: | 3 - Applies to all machines and operating systems |
Subsystem: | Core Library |
Summary: | Non-square Fl_Dial don't get angle right |
Version: | 1.1.4rc1 |
Created By: | ciudadsatan.hotmail |
Assigned To: | mike |
Fix Version: | 1.1-current |
Update Notification: | |
Trouble Report Files:
No files
Trouble Report Comments:
|
#1 | ciudadsatan.hotmail 10:06 Jul 03, 2003 |
| Fl_Dial changes its ANGLE based on the angle of the mouse respect to the center of the widget. Er... oh, ok, my bad english isn't enough to explain... Just try a Fl_Dial 500 pixels wide and 100 pixels tall, it doesn't... feel good.
My fix, in Fl_Dial::handle, change: int mx = Fl::event_x()-X-W/2; int my = Fl::event_y()-Y-H/2; to: int mx = (Fl::event_x()-X-W/2)*H; int my = (Fl::event_y()-Y-H/2)*W;
| |
|
#2 | matt 22:54 Jul 17, 2003 |
| Fixed. Thanks for the report.
Matthias | |
[ Return to Bugs & Features ]
|
| |