Adding top and left to screen object.

This commit is contained in:
pinkerton%netscape.com 2000-04-20 01:59:24 +00:00
Родитель 8e5c88d19c
Коммит f6035639b0
1 изменённых файлов: 8 добавлений и 0 удалений

Просмотреть файл

@ -37,6 +37,10 @@ class nsIDOMScreen : public nsISupports {
public:
static const nsIID& GetIID() { static nsIID iid = NS_IDOMSCREEN_IID; return iid; }
NS_IMETHOD GetTop(PRInt32* aTop)=0;
NS_IMETHOD GetLeft(PRInt32* aLeft)=0;
NS_IMETHOD GetWidth(PRInt32* aWidth)=0;
NS_IMETHOD GetHeight(PRInt32* aHeight)=0;
@ -56,6 +60,8 @@ public:
#define NS_DECL_IDOMSCREEN \
NS_IMETHOD GetTop(PRInt32* aTop); \
NS_IMETHOD GetLeft(PRInt32* aLeft); \
NS_IMETHOD GetWidth(PRInt32* aWidth); \
NS_IMETHOD GetHeight(PRInt32* aHeight); \
NS_IMETHOD GetPixelDepth(PRInt32* aPixelDepth); \
@ -68,6 +74,8 @@ public:
#define NS_FORWARD_IDOMSCREEN(_to) \
NS_IMETHOD GetTop(PRInt32* aTop) { return _to GetTop(aTop); } \
NS_IMETHOD GetLeft(PRInt32* aLeft) { return _to GetLeft(aLeft); } \
NS_IMETHOD GetWidth(PRInt32* aWidth) { return _to GetWidth(aWidth); } \
NS_IMETHOD GetHeight(PRInt32* aHeight) { return _to GetHeight(aHeight); } \
NS_IMETHOD GetPixelDepth(PRInt32* aPixelDepth) { return _to GetPixelDepth(aPixelDepth); } \