Difference between revisions of "love.mouse (简体中文)"
(→鼠标) |
|||
Line 1: | Line 1: | ||
+ | 提供鼠标接口的东东. | ||
+ | == 函数 == | ||
+ | {{#ask: [[Category:Functions]] [[parent::love.mouse]] [[Concept:Current]] | ||
+ | | headers=hide | ||
+ | | ?Description | ||
+ | }} | ||
+ | == 枚举|类似属性的东西 == | ||
+ | {{#ask: [[Category:Enums]] [[parent::love.mouse]] [[Concept:Current]] | ||
+ | | headers=hide | ||
+ | | ?Description | ||
+ | }} | ||
+ | == 顺便看看 == | ||
+ | * [[parent::love]] | ||
+ | * [[love.mousepressed]] | ||
+ | * [[love.mousereleased]] | ||
+ | [[Category:Modules]] | ||
+ | {{#set:Description=提供鼠标接口的模块.}} | ||
+ | {{#set:Since=000}} | ||
== 多国语言 == | == 多国语言 == | ||
{{i18n|love.mouse}} | {{i18n|love.mouse}} |
Revision as of 03:25, 15 March 2013
提供鼠标接口的东东.
Contents
函数
love.mouse.getCursor | Gets the current Cursor. |
love.mouse.getPosition | Returns the current position of the mouse. |
love.mouse.getRelativeMode | Gets whether relative mode is enabled for the mouse. |
love.mouse.getSystemCursor | Gets a Cursor object representing a system-native hardware cursor. |
love.mouse.getX | Returns the current x-position of the mouse. |
love.mouse.getY | Returns the current y-position of the mouse. |
love.mouse.hasCursor | Gets whether cursor functionality is supported. |
love.mouse.isCursorSupported | Gets whether cursor functionality is supported. |
love.mouse.isDown | Checks whether a certain button is down. |
love.mouse.isGrabbed | Checks if the mouse is grabbed. |
love.mouse.isVisible | Checks if the cursor is visible. |
love.mouse.newCursor | Creates a new hardware Cursor object from an image. |
love.mouse.setCursor | Sets the current mouse cursor. |
love.mouse.setGrab | Grabs the mouse and confines it to the window. |
love.mouse.setGrabbed | Grabs the mouse and confines it to the window. |
love.mouse.setPosition | Sets the current position of the mouse. |
love.mouse.setRelativeMode | Sets whether relative mode is enabled for the mouse. |
love.mouse.setVisible | Sets the current visibility of the cursor. |
love.mouse.setX | Sets the current X position of the mouse. |
love.mouse.setY | Sets the current Y position of the mouse. |
枚举|类似属性的东西
CursorType | Types of hardware cursors. |
MouseConstant | Mouse buttons. |
顺便看看
多国语言
Dansk –
Deutsch –
English –
Español –
Français –
Indonesia –
Italiano –
Lietuviškai –
Magyar –
Nederlands –
Polski –
Português –
Română –
Slovenský –
Suomi –
Svenska –
Türkçe –
Česky –
Ελληνικά –
Български –
Русский –
Српски –
Українська –
עברית –
ไทย –
日本語 –
正體中文 –
简体中文 –
Tiếng Việt –
한국어
More info