FLTK logo

STR #101

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 Home  |  Articles & FAQs  |  Bugs & Features  |  Documentation  |  Download  |  Screenshots  ]
 

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:

Receive EMails Don't Receive EMails

Trouble Report Files:

No files


Trouble Report Comments:


Name/Time/Date Text  
 
#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 ]

 
 

Comments are owned by the poster. All other content is copyright 1998-2024 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.