Re: NSTextView with irregular shape

2013-02-14 Thread Vyacheslav Karamov
I want the same text view as Apple iMessages has. I have such bullet image and I plan to use it as textview's shape. Actually this one http://i.piccy.info/i7/e52f246522784139d1c75bf53bb466e6/4-55-1897/58781878/iMessages.png 14.02.2013 22:18, Kyle Sluder пишет: On Thu, Feb 14, 2013, at 12:00 P

Re: NSTextView with irregular shape

2013-02-14 Thread Kyle Sluder
On Thu, Feb 14, 2013, at 12:00 PM, Vyacheslav Karamov wrote: > I know how to implement custom text layout. Good example of this I have > found in "Cocoa Programming Developer's Handbook" by David Chisnall. > This book gives an example how to implement custo text layout, but I > don't understand

Re: NSTextView with irregular shape

2013-02-14 Thread Vyacheslav Karamov
I know how to implement custom text layout. Good example of this I have found in "Cocoa Programming Developer's Handbook" by David Chisnall. This book gives an example how to implement custo text layout, but I don't understand how to implement custom shape of NSTextView. Because my widget grow

Re: NSTextView with irregular shape

2013-02-14 Thread Vyacheslav Karamov
No, I have already implemented bubbles. It is just NSTableView descendant. 14.02.2013 19:13, Kyle Sluder пишет: On Feb 14, 2013, at 3:11 AM, Vyacheslav Karamov wrote: Hello All! I need to implement NSTextView descendant similar to one used in Mac iMessages App. I have implemented live resi

Re: NSTextView with irregular shape

2013-02-14 Thread Kyle Sluder
On Feb 14, 2013, at 3:11 AM, Vyacheslav Karamov wrote: > Hello All! > > I need to implement NSTextView descendant similar to one used in Mac > iMessages App. > I have implemented live resizing, but how to set resizable image as its > custom shape? Messages doesn't use custom-shaped text views

Re: NSTextView with irregular shape

2013-02-14 Thread Keary Suska
On Feb 14, 2013, at 4:11 AM, Vyacheslav Karamov wrote: > I need to implement NSTextView descendant similar to one used in Mac > iMessages App. > I have implemented live resizing, but how to set resizable image as its > custom shape? AFAIK, custom text box geometry is really a function of NSText