added public DoInlineEdit for the node edit HT event and made RefreshCellRange public (it was protected, but is public in LTreeView). (rev sdagley, appr don)

git-svn-id: svn://10.0.0.236/trunk@107 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
pinkerton
1998-04-08 20:29:54 +00:00
parent e942eae6ca
commit 213e41d92d

View File

@@ -100,6 +100,14 @@ public:
virtual Boolean GetNotifyOnSelectionChange();
void SetRightmostVisibleColumn(UInt16 inLastDesiredColumn);
// an externally public way to tell the table to begin an inplace edit. This is
// useful when handling menu commands, etc and not mouse clicks in the table.
void DoInlineEditing ( const STableCell & inCell ) ;
virtual void RefreshCellRange(
const STableCell &inTopLeft,
const STableCell &inBotRight); // Overridden to fix a bug in PP.
protected:
enum { kMinRowHeight = 18, kDistanceFromIconToText = 5, kIconMargin = 4, kIndentPerLevel = 10,
kIconWidth = 16 };
@@ -122,9 +130,6 @@ protected:
virtual void DrawSelf();
virtual Boolean HandleKeyPress(const EventRecord &inKeyEvent);
virtual void RefreshCellRange(
const STableCell &inTopLeft,
const STableCell &inBotRight); // Overridden to fix a bug in PP.
virtual void Click(SMouseDownEvent &inMouseDown);
virtual void BeTarget();
virtual void DontBeTarget();