FLTK logo

Re: [fltk.general] Background Fill for Group

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: Background Fill for Group imm Jun 16, 2021  
 
On Wed, 16 Jun 2021, 20:07 Webb Hinton wrote:
What's a good approach to creating a Group that has a "filled" background?  I.e when a widget moves inside of it's parent group, the background is "cleared", thus avoiding the "tracing" effect you get otherwise:


If your group has a box type set, you will not get that tracing effect.

In fltk, "frame" types are only responsible for drawing the border, whereas "box" types draw the border and the background.

Note that Mo made some naming choices around the use of the word Frame in the rust port that are "unfortunate" and confusing here...
--
Ian
From my Fairphone FP3

--
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/CAGFM6dYDHhpbdVz-s68%2BNSshWjiCESPVbHfaNVmuOC7ET3PYjQ%40mail.gmail.com.
Direct Link to Message ]
 
     
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'.