Refactor ToolTipManager a bit.

* Change ShowTip() point parameter name to where.
* Add a parameterless ResetWindowFrame() overload that get's the current
  where and calls ResetWindowFrame(BPoint where) which does the actual
  work. FrameResized() calls this parameterless ResetWindowFrame()
  method instead of doing the work in that method. This is functionaly
  the same but allows me to call the parameterless ResetWindowFrame()
  elsewhere.
This commit is contained in:
John Scipione
2012-05-02 23:51:49 -04:00
parent dc05c262ac
commit 7f7f5eac6e
2 changed files with 16 additions and 7 deletions
+1 -1
View File
@@ -18,7 +18,7 @@ class BToolTipManager {
public:
static BToolTipManager* Manager();
void ShowTip(BToolTip* tip, BPoint point,
void ShowTip(BToolTip* tip, BPoint where,
void* owner);
void HideTip();