Re: [fltk.general] Transparency on edge of Window with FL_ROUND_BOX

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 
 All Forums  |  Back to fltk.general  ]
 
Previous Message ]New Message | Reply ]Next Message ]

Re: Transparency on edge of Window with FL_ROUND_BOX Albrecht Schlosser Apr 30, 2021 top right image
 
On 4/30/21 7:10 PM Jeff Paranich wrote:

In an attempt to make FLTK a smidge more modern looking, I've disabled the title bar (window decorations) on my GUI and changed box to FL_ROUND_BOX; but notice it still draws a black background outside the rounded corner.  Is there a way to change this to a transparency?  Here is an image for reference...

https://imgur.com/a/yGqZjMw

You should take a look at FLTK/examples/shapedwindow.cxx to see how you can create a shaped window.

--
You received this message because you are subscribed to the Google Groups "fltk.general" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fltkgeneral+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fltkgeneral/004d134c-25ae-543d-655d-5a873eee02ba%40online.de.
Direct Link to Message ]
 
bottom left image   bottom right image
Previous Message ]New Message | Reply ]Next Message ]
 
 

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'.