我查看了文档,但没有发现任何内容 - 有没有办法让Shoes应用全屏显示?
可能是......
Shoes.app :fullscreen => true do
para "test"
end
查看源代码,以下几行提到“全屏”(等等):
shoes/app.c:58: app->fullscreen = FALSE;
shoes/native/cocoa.m:851: if (app->fullscreen) {
shoes/native/gtk.c:557: if (app->fullscreen)
shoes/native/cocoa.m:872:shoes_native_app_fullscreen(shoes_app *app, char yn)
shoes/native/windows.c:934: if (app->fullscreen)
shoes/native/windows.c:935: style = WINDOW_STYLE_FULLSCREEN;
..所以这一切似乎都存在,只是做:fullscreen => true
似乎没有效果?
答案 0 :(得分:4)
Opps,问题中引用的app->fullscreen
代码来自最新的开发代码,而不是当前的2/Raisins
版本。
$ git co 2/Raisins
HEAD is now at 42dda8a... * bugs: closing some bugs, moving others to the next release.
$ grep -r -i fullscreen *
[nothing]
$ git co master
Switched to branch "master"
$ grep -r -i fullscreen *
shoes/app.c: app->fullscreen = FALSE;
[...]
:fullscreen
将在下一版本中使用!