From 5dddf0639ce68f677c79ed51cc98f362358f7efb Mon Sep 17 00:00:00 2001 From: cuz Date: Mon, 25 Jul 2005 18:45:13 +0000 Subject: [PATCH] Updates: More em_ function, mouse_ functions git-svn-id: svn://svn.cc65.org/cc65/trunk@3550 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- doc/funcref.sgml | 394 +++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 380 insertions(+), 14 deletions(-) diff --git a/doc/funcref.sgml b/doc/funcref.sgml index c36599d6e..02da396dd 100644 --- a/doc/funcref.sgml +++ b/doc/funcref.sgml @@ -206,9 +206,11 @@ function. + + @@ -263,20 +265,20 @@ function.

- - - - - - - - - - - - + + + + + + + + + + + + - + (incomplete) @@ -1772,6 +1774,32 @@ loaded. +em_install

+ + + +/ + +Not all drivers are able to detect if the supported hardware is really +present. +The function is only available as fastcall function, so it may only be +used in presence of a prototype. + +, +, + + + + + em_load_driver

@@ -1852,13 +1880,40 @@ by the driver in 256 byte pages. +em_uninstall

+ + + +/ + +If the driver has been loaded using /, / +should be used instead of The function is only available as fastcall function, so it may only be +used in presence of a prototype. + +, +, + + + + + em_unload

/ - @@ -3187,6 +3242,317 @@ relocatable o65 modules for use with this function. +mouse_box

+ + + +/ + +The function does not check if the mouse cursor is currently within the +given rectangle. Placing the mouse cursor within the bounding box is the +responsibility of the programmer. +While the bounding box may be larger than the actual screen size, the +standard mouse cursor draw routines may fail to set the cursor to coordinates +outside of the screen area. Depending on the platform, you may have to supply +your own mouse cursor routines. +The function is only available as fastcall function, so it may only be +used in presence of a prototype. + + + + + + +mouse_buttons

+ + + +/ + +The function is only available as fastcall function, so it may only be +used in presence of a prototype. + +, + + + + + +mouse_geterrormsg

+ + + +/ + +The function will return "Unknown error" for invalid error codes. +The function is only available as fastcall function, so it may only be +used in presence of a prototype. + +, +, + + + + + +mouse_hide

+ + + +/ +/ and +/ to make the mouse cursor +visible. + +The function is only available as fastcall function, so it may only be +used in presence of a prototype. + + + + + + +mouse_info

+ + + +/ + +The / instead. +The function is only available as fastcall function, so it may only be +used in presence of a prototype. + +, + + + + + +mouse_install

+ + + +/ + +Not all drivers are able to detect if the supported hardware is really +present. +After installing a driver, the mouse cursor is hidden. +The function is only available as fastcall function, so it may only be +used in presence of a prototype. + +, +, + + + + + +mouse_load_driver

+ + + +/ + +The driver is loaded by name, so currently you must know the type of +mouse that should be supported. There is no autodetect capability. +Not all drivers are able to detect if the supported hardware is really +present. +After installing a driver, the mouse cursor is hidden. +The function is only available as fastcall function, so it may only be +used in presence of a prototype. + +, +, + + + + + +mouse_move

+ + + +/ + +The function does not check if the new position is within the bounding +box specified with /. +The function is only available as fastcall function, so it may only be +used in presence of a prototype. + + + + + + +mouse_pos

+ + + +/ + +The / instead. +The function is only available as fastcall function, so it may only be +used in presence of a prototype. + +, + + + + + +mouse_show

+ + + +/ +/ and +/. + +The function is only available as fastcall function, so it may only be +used in presence of a prototype. + + + + + + +mouse_uninstall

+ + + +/ + +If the driver has been loaded using /, / +should be used instead of The function is only available as fastcall function, so it may only be +used in presence of a prototype. + +, +, + + + + + +mouse_unload

+ + + +/ + +The function does nothing if no driver is loaded. + +, +, + + + + + offsetof

-- 2.39.5