Hi
>What is the current status of wxCaret and/or wxOverlay on wxOSX?
I’ve written some code once for this, trying to port my carbon code over, but I havent’t finished things. I’ll look at caret sample when using that code
Best,
Stefan
>What is the current status of wxCaret and/or wxOverlay on wxOSX?
I’ve written some code once for this, trying to port my carbon code over, but I havent’t finished things. I’ll look at caret sample when using that code
Hi
>What is the current status of wxCaret and/or wxOverlay on wxOSX?
I’ve written some code once for this, trying to port my carbon code over, but I havent’t finished things. I’ll look at caret sample when using that code
If you'd like some help/someone to take a look, let me know. Otherwise (depending on timeline) I'll end up writing my own NSImage-screenshot-based workaround (or something).
Thanks, although it’s not working yet, you could include things in your build by preparing the following, that way I could commit to overlay.mm in master without breaking something for the others
#if defined(__WXDFB__)
#define wxHAS_NATIVE_OVERLAY 1
#elif defined(__WXOSX__) && wxOSX_USE_COCOA
#define wxHAS_NATIVE_OVERLAY 1
#else
// don't define wxHAS_NATIVE_OVERLAY
#endif
#if defined(__WXOSX__) && wxOSX_USE_COCOA
#include "wx/osx/cocoa/private/overlay.h"
#elif defined(__WXDFB__)
Thanks,
Stefan
Hi
>If you'd like some help/someone to take a look, let me know. Otherwise (depending on timeline) I'll end up writing my own NSImage-screenshot-based workaround (or something).
If you have modified your source according to my last post, you could pull again, I’ve updated the cocoa implementation. The caret sample works for me now, but the orientation of the drawing is upside down, doesn’t really matter for caret, but would for other overlays, I hope I’ll get my head around all modifications that have been done to the code regarding the current transformation matrix, then I hope I’ll find the right angle …
Best,
Stefan