aboutsummaryrefslogtreecommitdiff
path: root/osdocumentinterface.dcl
diff options
context:
space:
mode:
authorCamil Staps2015-07-01 17:45:07 +0200
committerCamil Staps2015-07-01 17:45:07 +0200
commit87cd3a6465ce64e2c0a296c73dfcd8bf510b1fc9 (patch)
tree0a56ce97f5e58387eefdac603f726f731f9f7bcc /osdocumentinterface.dcl
parentInitial commit (diff)
getOSDInfoOffset as windows
Diffstat (limited to 'osdocumentinterface.dcl')
-rw-r--r--osdocumentinterface.dcl5
1 files changed, 5 insertions, 0 deletions
diff --git a/osdocumentinterface.dcl b/osdocumentinterface.dcl
index c674537..d3c7738 100644
--- a/osdocumentinterface.dcl
+++ b/osdocumentinterface.dcl
@@ -74,3 +74,8 @@ getOSDInfoOSToolbar :: !OSDInfo -> Maybe OSToolbar
active menu system. (Always True on Windows; use menu bar on Mac.)
*/
osOSDInfoIsActive :: !OSDInfo !*OSToolbox -> (!Bool, !*OSToolbox)
+
+/* getOSDInfoOffset returns the offset vector (dx,dy) that points to the left-top corner of the client area
+ of the corresponding infrastructure.
+*/
+getOSDInfoOffset :: !OSDInfo !*OSToolbox -> (!(!Int,!Int),!*OSToolbox)