зеркало из https://github.com/mozilla/gecko-dev.git
Mac only change.
This commit is contained in:
Родитель
bbabc2af1c
Коммит
68f14d0c22
|
@ -35,7 +35,7 @@
|
|||
// ムムムムムムムムムムムムムムムムムムムムムムムムムムムムムムムムムムムムムムムムムムムムムムムムムムムムムムムムムムムムムムムムムムムムムムムムムムム
|
||||
|
||||
CBevelView::CBevelView(LStream *inStream)
|
||||
: LView(inStream),
|
||||
: LOffscreenView(inStream),
|
||||
mBevelList(sizeof(SSubBevel)),
|
||||
mBevelGrowIcon(true)
|
||||
{
|
||||
|
|
|
@ -30,7 +30,7 @@ typedef struct SSubBevel {
|
|||
Rect cachedLocalFrame;
|
||||
} SSubBevel;
|
||||
|
||||
class CBevelView : public LView
|
||||
class CBevelView : public LOffscreenView
|
||||
{
|
||||
public:
|
||||
enum { class_ID = 'BvVw' };
|
||||
|
|
|
@ -65,8 +65,10 @@ void CPatternBevelView::DrawBeveledFill(void)
|
|||
Point theAlignment;
|
||||
CSharedPatternWorld::CalcRelativePoint(this, CSharedPatternWorld::eOrientation_Port, theAlignment);
|
||||
|
||||
CGrafPtr thePort = (CGrafPtr)GetMacPort();
|
||||
|
||||
//CGrafPtr thePort = (CGrafPtr)GetMacPort();
|
||||
CGrafPtr thePort;
|
||||
GetPort ( (GrafPtr*) &thePort );
|
||||
|
||||
StClipRgnState theClipSaver(mBevelRegion);
|
||||
mPatternWorld->Fill(thePort, theFrame, theAlignment);
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче