-
- Downloads
Quite tricky modification, quite tough problem:
TGView frame (base of TGTextView) has a child window - TGViewFrame. TGViewFrame is never actually painted (DoRedraw never gets called for this window), but ... it receives Expose event and delegates it to ... its parent - TGTextView, and TGTextView, it its DoRedraw (or DrawRegion) .... tries to paint into child window - TGViewFrame. While this is may be OK for X11 or Window, with Cocoa it's a total mess and disaster - if some view is to be updated, it does not expect a child to be suddenly rendered in the middle of work. View is not a window. I've added some quite risky code to address this problem (text scrolling is still wrong) - only "static rendering" for a text view works now. git-svn-id: http://root.cern.ch/svn/root/trunk@44075 27541ba8-7e3a-0410-8455-c3a389f83636
Showing
- graf2d/cocoa/inc/QuartzWindow.h 4 additions, 0 deletionsgraf2d/cocoa/inc/QuartzWindow.h
- graf2d/cocoa/src/QuartzWindow.mm 100 additions, 0 deletionsgraf2d/cocoa/src/QuartzWindow.mm
- graf2d/cocoa/src/TGCocoa.mm 85 additions, 2 deletionsgraf2d/cocoa/src/TGCocoa.mm
- gui/gui/src/TGView.cxx 2 additions, 0 deletionsgui/gui/src/TGView.cxx
Loading
Please register or sign in to comment