-
Notifications
You must be signed in to change notification settings - Fork 124
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CSplashScreen not showing when embedded into CLayeredViewContainer #12
Comments
So, here's am minimal code example that implements an eyedropper that shows the pixel color under the mouse cursor. The code works fine unless we embed that view in a CLayeredViewContainer on Mac, pa->getColor(color); always returns black in that case. On Windows it works either way which implies that it has something to do with the CALayer based implementation. I'm aware that the backround graphic could be accessed directly, but imagine the CEyedropperView ::drawRect() implementation could draw anything.
|
OK, now I understand the issue. The problem is, that CLayeredViewContainers are an optimization and are not redrawn in a normal way. So you cannot call draw(..) or drawRect(..) on it. That are no-ops. |
CSplashScreens that are embedded into CLayeredViewContainers don't show on splash() when running on Mac Cocoa.
The text was updated successfully, but these errors were encountered: