summaryrefslogtreecommitdiffstats
path: root/unix/tkUnixWm.c
diff options
context:
space:
mode:
Diffstat (limited to 'unix/tkUnixWm.c')
-rw-r--r--unix/tkUnixWm.c46
1 files changed, 46 insertions, 0 deletions
diff --git a/unix/tkUnixWm.c b/unix/tkUnixWm.c
index 19ac86c..6c0edc9 100644
--- a/unix/tkUnixWm.c
+++ b/unix/tkUnixWm.c
@@ -7413,6 +7413,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: c
* c-basic-offset: 4