Fix for RDF popdown clipping. This should be extended to handle tool tips.
git-svn-id: svn://10.0.0.236/trunk@11583 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -59,6 +59,7 @@
|
||||
#include <CodeFragments.h>
|
||||
|
||||
#include "LMenuSharing.h"
|
||||
#include "CBrowserWindow.h"
|
||||
|
||||
// On a powerPC, plugins depend on being able to find qd in our symbol table
|
||||
#ifdef powerc
|
||||
@@ -1738,6 +1739,17 @@ Boolean CPluginView::HandleKeyPress(const EventRecord& inKeyEvent)
|
||||
return false;
|
||||
}
|
||||
|
||||
Boolean CPluginView::FocusDraw(LPane *inSubPane)
|
||||
{
|
||||
Boolean revealed = LView::FocusDraw(inSubPane);
|
||||
|
||||
//
|
||||
// Make sure that any exposed popdown view is clipped out before drawing occurs.
|
||||
//
|
||||
CBrowserWindow::ClipOutPopdown(this);
|
||||
|
||||
return revealed;
|
||||
}
|
||||
|
||||
void CPluginView::DrawSelf()
|
||||
{
|
||||
|
||||
@@ -76,6 +76,7 @@ public:
|
||||
virtual void EventMouseUp(const EventRecord &inMacEvent);
|
||||
virtual Boolean ObeyCommand(CommandT inCommand, void *ioParam);
|
||||
virtual Boolean HandleKeyPress(const EventRecord& inKeyEvent);
|
||||
virtual Boolean FocusDraw(LPane *inSubPane = nil);
|
||||
virtual void DrawSelf();
|
||||
virtual void SpendTime(const EventRecord& inMacEvent);
|
||||
virtual void ActivateSelf();
|
||||
|
||||
Reference in New Issue
Block a user