mirror of
https://github.com/QB64Official/qb64.git
synced 2024-07-03 08:51:22 +00:00
Updates help files.
This commit is contained in:
parent
4de09d6658
commit
0afa42cc46
|
@ -7,10 +7,8 @@ The [[_MOUSEMOVEMENTX]] function returns the relative horizontal position of the
|
||||||
|
|
||||||
|
|
||||||
* Returns the relative horizontal cursor pixel position compared to the previous cursor position. Negative values are moves to the left.
|
* Returns the relative horizontal cursor pixel position compared to the previous cursor position. Negative values are moves to the left.
|
||||||
* '''Note:''' A [[_MOUSESHOW]] statement will disable [[_MOUSEMOVEMENTX]] or [[_MOUSEMOVEMENTY]] relative mouse movement reads.
|
|
||||||
* Can also be used to check for any mouse movements to enable a program or close [[Screen Saver Programs]].
|
* Can also be used to check for any mouse movements to enable a program or close [[Screen Saver Programs]].
|
||||||
* Sets the mouse to a relative movement mode which can be read by [[_WHEEL]] instead of [[_AXIS]] as mouse [[_DEVICES|device]] 2.
|
* On Windows only, [[_MOUSEMOVEMENTX]] will continue to track the mouse when it is outside the program window.
|
||||||
|
|
||||||
|
|
||||||
{{PageExamples}}
|
{{PageExamples}}
|
||||||
''Example 1:'' Since values returned are relative to the last position, the returns can be positive or negative.
|
''Example 1:'' Since values returned are relative to the last position, the returns can be positive or negative.
|
||||||
|
|
|
@ -7,9 +7,8 @@ The [[_MOUSEMOVEMENTY]] function returns the relative vertical position of the m
|
||||||
|
|
||||||
|
|
||||||
* Returns the relative vertical cursor pixel position compared to the previous cursor position. Negative values are up moves.
|
* Returns the relative vertical cursor pixel position compared to the previous cursor position. Negative values are up moves.
|
||||||
* '''Note:''' A [[_MOUSESHOW]] statement will disable [[_MOUSEMOVEMENTX]] or [[_MOUSEMOVEMENTY]] relative mouse movement reads.
|
|
||||||
* Can also be used to check for any mouse movements to enable a program or close [[Screen Saver Programs]].
|
* Can also be used to check for any mouse movements to enable a program or close [[Screen Saver Programs]].
|
||||||
* Sets the mouse to a relative movement mode which can be read by [[_WHEEL]] instead of [[_AXIS]] as mouse [[_DEVICES|device]] 2.
|
* On Windows only, [[_MOUSEMOVEMENTY]] will continue to track the mouse when it is outside the program window.
|
||||||
|
|
||||||
|
|
||||||
''Example:'' MOD is used to keep vertical movement of circle and cursor inside of the SCREEN 13 window(200).
|
''Example:'' MOD is used to keep vertical movement of circle and cursor inside of the SCREEN 13 window(200).
|
||||||
|
|
|
@ -7,8 +7,8 @@ The [[_MOUSESHOW]] statement displays the mouse cursor and can change its shape.
|
||||||
|
|
||||||
|
|
||||||
{{PageDescription}}
|
{{PageDescription}}
|
||||||
* Simply use the statement whenever [[_MOUSEHIDE]] has been used previously.
|
* Simply use the statement without a parameter whenever [[_MOUSEHIDE]] has been used previously.
|
||||||
* In '''version 1.000 and up''' the following {{Parameter|cursorShape$}} can be displayed:
|
* The following {{Parameter|cursorShape$}} can be displayed:
|
||||||
::_MOUSESHOW "LINK" will display an upward pointing hand cursor used to denote hypertext
|
::_MOUSESHOW "LINK" will display an upward pointing hand cursor used to denote hypertext
|
||||||
::_MOUSESHOW "TEXT" will display the I cursor often used in text entry areas
|
::_MOUSESHOW "TEXT" will display the I cursor often used in text entry areas
|
||||||
::_MOUSESHOW "CROSSHAIR" will display a crosshair cursor
|
::_MOUSESHOW "CROSSHAIR" will display a crosshair cursor
|
||||||
|
@ -17,16 +17,9 @@ The [[_MOUSESHOW]] statement displays the mouse cursor and can change its shape.
|
||||||
::_MOUSESHOW "TOPLEFT_BOTTOMRIGHT" will display bottom diagonal arrow cursor for movement
|
::_MOUSESHOW "TOPLEFT_BOTTOMRIGHT" will display bottom diagonal arrow cursor for movement
|
||||||
::_MOUSESHOW "TOPRIGHT_BOTTOMLEFT" will display bottom diagonal arrow cursor for movement
|
::_MOUSESHOW "TOPRIGHT_BOTTOMLEFT" will display bottom diagonal arrow cursor for movement
|
||||||
::_MOUSESHOW "DEFAULT" can be used after a mouse cursor statement above was previously used.
|
::_MOUSESHOW "DEFAULT" can be used after a mouse cursor statement above was previously used.
|
||||||
* This statement will also disable [[_MOUSEMOVEMENTX]] or [[_MOUSEMOVEMENTY]] relative mouse movement reads.
|
|
||||||
* The mouse cursor will not interfere with any print or graphic screen changes in '''QB64'''.
|
|
||||||
|
|
||||||
|
|
||||||
===QBasic/QuickBASIC===
|
|
||||||
* _MOUSEHIDE statements do not accumulate like they did with [[ABSOLUTE]] or [[INTERRUPT]] in QBasic.
|
|
||||||
|
|
||||||
|
|
||||||
{{PageExamples}}
|
{{PageExamples}}
|
||||||
''Example 1:'' '''QB64 1.000 and up''' allow special cursors to be displayed by using special string parameters:
|
''Example 1:'' Special cursors can be displayed by using special string parameters:
|
||||||
{{CodeStart}}
|
{{CodeStart}}
|
||||||
{{Cl|_MOUSESHOW}} "default": {{Cl|_DELAY}} 0.5
|
{{Cl|_MOUSESHOW}} "default": {{Cl|_DELAY}} 0.5
|
||||||
{{Cl|_MOUSESHOW}} "link": {{Cl|_DELAY}} 0.5 'a hand, typically used in web browsers
|
{{Cl|_MOUSESHOW}} "link": {{Cl|_DELAY}} 0.5 'a hand, typically used in web browsers
|
||||||
|
@ -37,7 +30,7 @@ The [[_MOUSESHOW]] statement displays the mouse cursor and can change its shape.
|
||||||
{{Cl|_MOUSESHOW}} "topleft_bottomright": {{Cl|_DELAY}} 0.5
|
{{Cl|_MOUSESHOW}} "topleft_bottomright": {{Cl|_DELAY}} 0.5
|
||||||
{{Cl|_MOUSESHOW}} "topright_bottomleft": {{Cl|_DELAY}} 0.5
|
{{Cl|_MOUSESHOW}} "topright_bottomleft": {{Cl|_DELAY}} 0.5
|
||||||
{{CodeEnd}}
|
{{CodeEnd}}
|
||||||
: '''Note:''' There is no hourglass, stopwatch or spinning colorful wheel in the list. The fact is that these typically only appear in a program when something has gone terribly wrong and the program has crashed or frozen.
|
: '''Note:''' There is no hourglass, stopwatch or spinning colorful wheel in the list. These typically only appear in a program when something has gone terribly wrong and the program has crashed or frozen.
|
||||||
|
|
||||||
|
|
||||||
{{PageSeeAlso}}
|
{{PageSeeAlso}}
|
||||||
|
|
Loading…
Reference in a new issue