[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
one last thing for NSTableView...
From: |
Matt Rice |
Subject: |
one last thing for NSTableView... |
Date: |
Sat, 11 Nov 2006 10:43:02 -0800 |
User-agent: |
GNUMail (Version 1.2.0) |
<foo.diff>
about to call it done for my changes on NSTableView.... (assuming no
issues pop up/nobody wants to revert anything)
heres one last thing... (its actually multiple things)
a) currently it doesn't draw the edited cell, because NSTextFieldCell
would draw right over the field editor.
this makes it so that it just frames the rect if shows first responder
assuming the field editor will take care of drawing
the interior.
b) NSButtonCells seem to be NSTextCellType, so the field editor gets
activated on double click
this has been changed to call both _trackCell: and _editColumn: then
NSButtonCell overrides editWithFrame:/selectWithFrame: to do nothing
c) drawRow:... has been changed to draw the editedCell (the copy)
instead of not drawing the original version of the
imho the framing of the cell is kind of ugly, and it should be taking
up the entire space (its currently inset when drawing with a grid)
but thats another patch if this one looks ok
foo.diff
Description: Text document
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- one last thing for NSTableView...,
Matt Rice <=