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:
beard%netscape.com
1998-09-30 20:03:22 +00:00
parent afe5d3fcb2
commit a7d74f8cc6
2 changed files with 13 additions and 0 deletions

View File

@@ -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()
{

View File

@@ -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();