diff options
Diffstat (limited to 'macosx')
-rw-r--r-- | macosx/tkMacOSXWm.c | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/macosx/tkMacOSXWm.c b/macosx/tkMacOSXWm.c index 39990e6..c9f4e9c 100644 --- a/macosx/tkMacOSXWm.c +++ b/macosx/tkMacOSXWm.c @@ -6757,6 +6757,52 @@ RemapWindows( } /* + *---------------------------------------------------------------------- + * + * TkpHeightOfScreen + * + * Return the height (in pixels) of the screen. + * + * Results: + * The pixel height of the screen. + * + * Side effects: + * None. + * + *---------------------------------------------------------------------- + */ + +int +TkpHeightOfScreen( + Tk_Window tkwin) +{ + return HeightOfScreen(Tk_Screen(tkwin)); +} + +/* + *---------------------------------------------------------------------- + * + * TkpWidthOfScreen + * + * Return the width (in pixels) of the screen. + * + * Results: + * The pixel width of the screen. + * + * Side effects: + * None. + * + *---------------------------------------------------------------------- + */ + +int +TkpWidthOfScreen( + Tk_Window tkwin) +{ + return WidthOfScreen(Tk_Screen(tkwin)); +} + +/* * Local Variables: * mode: objc * c-basic-offset: 4 |