Re: [Lazarus] Showing selection on drawing under Cocoa

2019-10-19 Thread C Western via lazarus
On 17/10/2019 08:09, C Western via lazarus wrote: On 17/10/2019 03:44, Dmitry Boyarintsev via lazarus wrote: On Wed, Oct 16, 2019 at 4:33 PM C Western via lazarus > wrote:     Am I missing something? How does the Cocoa toolkit expect this to     be done?

Re: [Lazarus] Showing selection on drawing under Cocoa

2019-10-17 Thread C Western via lazarus
On 17/10/2019 03:44, Dmitry Boyarintsev via lazarus wrote: On Wed, Oct 16, 2019 at 4:33 PM C Western via lazarus mailto:lazarus@lists.lazarus-ide.org>> wrote: Am I missing something? How does the Cocoa toolkit expect this to be done? I'm see 3 ways of doing that. 1) you just invalidat

Re: [Lazarus] Showing selection on drawing under Cocoa

2019-10-16 Thread Dmitry Boyarintsev via lazarus
On Wed, Oct 16, 2019 at 4:33 PM C Western via lazarus < lazarus@lists.lazarus-ide.org> wrote: > Am I missing something? How does the Cocoa toolkit expect this to be done? > I'm see 3 ways of doing that. 1) you just invalidate the needed rectangle lines (or the entire selected area) and do xor draw

[Lazarus] Showing selection on drawing under Cocoa

2019-10-16 Thread C Western via lazarus
Is there an easy way of indicating a selection on a plot in Cocoa? I have a plot that is relatively time consuming to plot (particularly under Cocoa), and I want to be able to indicate the area selected with a mouse. On other widget sets I can xor a rectangle and do this quickly in the mouse ev