Drawing an old style Terminal Cursor
Drawing an old style Terminal Cursor
- Subject: Drawing an old style Terminal Cursor
- From: Tom Gray <email@hidden>
- Date: Tue, 23 Jul 2002 17:38:51 -0400
Anyone out there have any idea how I could go about drawing an old style
terminal cursor on top of an NSTextView?
I would like to be able to have a cursor I could move around on the
"Terminal" which the user could see and move. I would like the cursor to be
a rectangle that would overlay the text underneath it.
My thoughts are to invert the background and foreground of a rectangle
around each character on the screen.
Alternatively I could create another view on top of my NSTextView and draw a
graphic on that view. (Would the text from the bottom view be visible
through the cursor?)
Just looking for ideas.
--
Tom Gray
email@hidden
or
email@hidden
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.