Added static method for getting the absolute rect in twips and pixels
moved from nsComboboxControlFrame.cpp r=dcone b=18895 git-svn-id: svn://10.0.0.236/trunk@63588 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -243,8 +243,20 @@ public:
|
||||
const nsRect& aDirtyRect,
|
||||
const nsRect& aRect);
|
||||
|
||||
/**
|
||||
* Helper routine to that returns the height of the screen
|
||||
*
|
||||
*/
|
||||
static nsresult GetScreenHeight(nsIPresContext* aPresContext, nscoord& aHeight);
|
||||
|
||||
/**
|
||||
* Helper method to get the absolute position of a frame
|
||||
*
|
||||
*/
|
||||
static nsresult GetAbsoluteFramePosition(nsIPresContext* aPresContext,
|
||||
nsIFrame *aFrame,
|
||||
nsRect& aAbsoluteTwipsRect,
|
||||
nsRect& aAbsolutePixelRect);
|
||||
protected:
|
||||
|
||||
virtual ~nsFormControlFrame();
|
||||
|
||||
Reference in New Issue
Block a user