FLTK logo

Re: [fltk.general] Strange artefacts visible on controls

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: Strange artefacts visible on controls Jck_01 Jul 06, 2022  
 

środa, 6 lipca 2022 o 17:48:12 UTC+2 Ian MacArthur napisał(a):
On Wed, 6 Jul 2022 at 16:41, Mohammed wrote:
>
> Wouldn’t using std::unique_ptr interfere with FLTK’s parent/child ownership system. If a unique_ptr fell out if scope it would call delete on the pointer and this might lead to issues.
>

Hi Mo,
Yes, that's a fair point.
I was kind of assuming the pointer was instantiated in some "global"
scope, but that may not be the case...

It is instantiated in the dialog window object which in turn is instantiated in the object of a main window so it will never fell out of a scope when the program runs.

--
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/86833a54-29e7-46ae-9241-e68d9ad2d525n%40googlegroups.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'.