|
|
El 26/4/22 a las 07:49, 'melcher....@googlemail.com' via fltk.coredev
escribió:
Yes, that is a known bug. Rounded boxes rely on the parent widget to
draw the background which is not the case for a popup menu. I'll try
to look at the fixes, time permitting.
The problem shows up on normal menus, too, not just popups. The fix I
made is drawing 4 lines in a rectangle with a FL_BLACK mixed with the
color of the menu to cover the 2 pixel corners. It seems to work fine,
but feel free to improve the fixes if you wish.
--
Gonzalo Garramuño
ggarra13@gmail.com
--
You received this message because you are subscribed to the Google Groups "fltk.coredev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fltkcoredev+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fltkcoredev/0dbba520-f425-56b4-523c-15a4539133e5%40gmail.com.
[ Direct Link to Message ] | |
|
| |