Difference between revisions of "love.window (简体中文)"
(Created page with "{{newin|0.9.0|090|type=module}} Provides an interface for modifying and retrieving information about the program's window. == Functions == {{#ask: Category:Functions...") |
(→函数) |
||
(3 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | {{newin|[[0.9.0]]|090|type= | + | {{newin (简体中文)|[[0.9.0]]|090|type=模块}} |
− | + | 提供一个改变或获取程序窗口信息的接口。 | |
− | == | + | == 函数 == |
{{#ask: [[Category:Functions]] [[parent::love.window (简体中文)]] [[Concept:Current]] | {{#ask: [[Category:Functions]] [[parent::love.window (简体中文)]] [[Concept:Current]] | ||
| headers=hide | | headers=hide | ||
Line 14: | Line 14: | ||
| ?PrettyRemoved | | ?PrettyRemoved | ||
}} | }} | ||
− | == | + | |
+ | == 枚举 == | ||
{{#ask: [[Category:Enums]] [[parent::love.window (简体中文)]] [[Concept:Current]] | {{#ask: [[Category:Enums]] [[parent::love.window (简体中文)]] [[Concept:Current]] | ||
| headers=hide | | headers=hide | ||
Line 27: | Line 28: | ||
[[Category:Modules]] | [[Category:Modules]] | ||
{{#set:Description=Provides an interface for the program's window.}} | {{#set:Description=Provides an interface for the program's window.}} | ||
− | == | + | == 请参阅 == |
− | * [[parent::love]] | + | * [[parent::love (简体中文)]] |
* [[love.resize]] | * [[love.resize]] | ||
* [[love.focus]] | * [[love.focus]] | ||
* [[love.mousefocus]] | * [[love.mousefocus]] | ||
* [[love.visible]] | * [[love.visible]] | ||
− | == | + | == 其他语言 == |
{{i18n|love.window}} | {{i18n|love.window}} |
Latest revision as of 14:24, 14 March 2018
自 LÖVE 0.9.0 可以使用 |
此 模块 在早期版本中不受支持. |
提供一个改变或获取程序窗口信息的接口。
函数
love.window.close (简体中文) | 关闭窗口。 | 0.10.0 | |
love.window.fromPixels (简体中文) | 把以像素为单位的数字转换为设备无关单位。 | 0.9.2 | |
love.window.getDesktopDimensions (简体中文) | 获取桌面(显示器)的宽和高) | 0.9.0 | |
love.window.getDimensions (简体中文) | 获取窗口的宽和高 | 0.9.0 | 0.10.0 |
love.window.getDisplayCount (简体中文) | 获取连接显示器的数量。 | 0.9.0 | |
love.window.getDisplayName (简体中文) | 获取显示器的名称。 | 0.9.2 | |
love.window.getFullscreen (简体中文) | 判断是否全屏。 | 0.9.0 | |
love.window.getFullscreenModes (简体中文) | 获取能支持的分辨率的列表。 | 0.9.0 | |
love.window.getHeight (简体中文) | 获取窗口的高。 | 0.9.0 | 0.10.0 |
love.window.getIcon (简体中文) | 获取窗口图标。 | 0.9.0 | |
love.window.getMode (简体中文) | (待翻译)Gets the display mode and properties of the window. | 0.9.0 | |
love.window.getWidth (简体中文) | 获取窗口的宽 | 0.9.0 | 0.10.0 |
枚举
请参阅
其他语言
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