STR #1729

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 ]

STR #1729

Application:FLTK Library
Status:1 - Closed w/Resolution
Priority:4 - High, e.g. key functionality not working
Scope:2 - Specific to an operating system
Summary:draw() of Fl_Overlay_Window inside Fl_Window not positioned correctly (MacOSX)
Created By:mdeboer
Assigned To:matt
Fix Version:1.1-current (SVN: v6003)
Update Notification:

Receive EMails Don't Receive EMails

Trouble Report Files:

Name/Time/Date Filename/Size top right image
#1 mdeboer
07:18 Jul 05, 2007
bottom left image   bottom right image

Trouble Report Comments:

Name/Time/Date Text top right image
#1 mdeboer
07:18 Jul 05, 2007
I was doing some tests with drawing an Fl_Overlay_Window inside
another window, and it works ok on Linux (didn't try Windows),
but on MacOSX, it draws the contents of the overlay window
(what is drawn in the draw() method) displaced. To be precise,
it draws with the x-position at 0 of the containing window, rather
than at 0 of the overlay window.

I tried to force the contents by adding the x-position inside the
draw, but the clipping region is displaced as well.

The overlay (draw_overlay) however _is_ drawn correctly.

I attach sample code and a screenshot of how it looks on Linux and
on MacOSX.
#2 matt
01:44 Dec 18, 2007
Fixed in Subversion repository.  
bottom left image   bottom right image

Return to Bugs & Features ]


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