osx - What is the best way to show the content below the NSWindow? -
here ui mock up:
the blue background screen, , red nswindow, , build nsview? (yellow) on top of nswindow. nsview transparent, can shows live information behind red nswindow. best way implement nsview? suggestions? thanks.
***one more remarks, yellow view not need transparent, need use analysis. so, if can raw data or transfer nsimage great.
my 2 cents. let view nsimageview. can draw background clear
- (void)drawrect:(nsrect)rect { [[nscolor clearcolor] set]; nsrectfill(rect); }
convert whatever draw in there image using [nsbitmapimagerep initwithfocussedviewrect:]. work?
Comments
Post a Comment