зеркало из https://github.com/mozilla/pjs.git
Simplified CreateDisplayList() by removing startup conditions. Broke out display list printing code into separate method ShowDisplayList().
This commit is contained in:
Родитель
93673ee850
Коммит
2222402457
|
@ -137,13 +137,13 @@ private:
|
|||
void RenderView(nsIView *aView, nsIRenderingContext &aRC,
|
||||
const nsRect &aDamageRect, nsRect &aGlobalRect, PRBool &aResult);
|
||||
PRBool CreateDisplayList(nsIView *aView, PRInt32 *aIndex, nscoord aOriginX, nscoord aOriginY,
|
||||
nsIView *aRealView, const nsRect *aDamageRect = nsnull,
|
||||
nsIView *aTopView = nsnull, nsVoidArray *aArray = nsnull,
|
||||
nsIView *aRealView, nsIView *aTopView,
|
||||
const nsRect *aDamageRect = nsnull,
|
||||
nscoord aX = 0, nscoord aY = 0);
|
||||
// void FlattenViewTreeUp(nsIView *aView, PRInt32 *aIndex, const nsRect *aDamageRect,
|
||||
// nsIView *aStartView, nsVoidArray *aArray);
|
||||
PRBool AddToDisplayList(nsVoidArray *aArray, PRInt32 *aIndex,
|
||||
nsIView *aView, nsRect &aRect, PRUint32 aFlags);
|
||||
PRBool AddToDisplayList(PRInt32 *aIndex, nsIView *aView, nsRect &aRect, PRUint32 aFlags);
|
||||
void ShowDisplayList(PRInt32 flatlen);
|
||||
void ComputeViewOffset(nsIView *aView, nscoord *aX, nscoord *aY, PRInt32 aFlag);
|
||||
PRBool DoesViewHaveNativeWidget(nsIView &aView);
|
||||
void PauseTimer(void);
|
||||
|
|
Загрузка…
Ссылка в новой задаче