全屏鞋子应用程序?

发布于 2024-07-16 16:19:04 字数 679 浏览 8 评论 0原文

我查看了文档,但一无所获 - 有没有办法让 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 好像没有什么作用?

I looked around the documentation but found nothing - is there a way to make a Shoes app display full screen?

Possibly something like..

Shoes.app :fullscreen => true do
  para "test"
end

Looking in the source-code, the following lines mentioning "fullscreen" (among others):

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;

..so it all seems to be there, just doing :fullscreen => true seems to have no effect?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

谎言 2024-07-23 16:19:04

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 将在下一个版本中工作!

Opps, the app->fullscreen code quoted in the question was from the latest development code, not the current 2/Raisins release..

$ 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 will work in the next version!

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文