From f32b891c8bf9b6718b994e5a295be6d12f733ddb Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Fri, 21 Jun 2013 23:19:32 +0200 Subject: [PATCH] F11 per schermo intero! --- boom.project.gmx | 1 + objects/menus.object.gmx | 42 ++++++++++++++++++++++++++++++++++++ objects/placer.object.gmx | 42 ++++++++++++++++++++++++++++++++++++ objects/stack.object.gmx | 42 ++++++++++++++++++++++++++++++++++++ objects/strategy.object.gmx | 42 ++++++++++++++++++++++++++++++++++++ scripts/togglefullscreen.gml | 8 +++++++ 6 files changed, 177 insertions(+) create mode 100644 scripts/togglefullscreen.gml diff --git a/boom.project.gmx b/boom.project.gmx index 06ef7a1..6e25baf 100644 --- a/boom.project.gmx +++ b/boom.project.gmx @@ -35,6 +35,7 @@ + fonts\points diff --git a/objects/menus.object.gmx b/objects/menus.object.gmx index c51692c..5316c38 100644 --- a/objects/menus.object.gmx +++ b/objects/menus.object.gmx @@ -64,6 +64,48 @@ + + + 1 + 601 + 0 + 0 + 0 + -1 + 1 + action_execute_script + + self + 0 + 0 + + + 9 + + + + 0 + 0 + + + 0 + 0 + + + 0 + 0 + + + 0 + 0 + + + 0 + 0 + + + + 1 diff --git a/objects/placer.object.gmx b/objects/placer.object.gmx index 8da3046..42808ac 100644 --- a/objects/placer.object.gmx +++ b/objects/placer.object.gmx @@ -124,6 +124,48 @@ + + + 1 + 601 + 0 + 0 + 0 + -1 + 1 + action_execute_script + + self + 0 + 0 + + + 9 + + + + 0 + 0 + + + 0 + 0 + + + 0 + 0 + + + 0 + 0 + + + 0 + 0 + + + + 1 diff --git a/objects/stack.object.gmx b/objects/stack.object.gmx index 026e693..fefee46 100644 --- a/objects/stack.object.gmx +++ b/objects/stack.object.gmx @@ -612,6 +612,48 @@ + + + 1 + 601 + 0 + 0 + 0 + -1 + 1 + action_execute_script + + self + 0 + 0 + + + 9 + + + + 0 + 0 + + + 0 + 0 + + + 0 + 0 + + + 0 + 0 + + + 0 + 0 + + + + 1 diff --git a/objects/strategy.object.gmx b/objects/strategy.object.gmx index 31a60c8..17ba09e 100644 --- a/objects/strategy.object.gmx +++ b/objects/strategy.object.gmx @@ -702,6 +702,48 @@ + + + 1 + 601 + 0 + 0 + 0 + -1 + 1 + action_execute_script + + self + 0 + 0 + + + 9 + + + + 0 + 0 + + + 0 + 0 + + + 0 + 0 + + + 0 + 0 + + + 0 + 0 + + + + 1 diff --git a/scripts/togglefullscreen.gml b/scripts/togglefullscreen.gml new file mode 100644 index 0000000..db646d1 --- /dev/null +++ b/scripts/togglefullscreen.gml @@ -0,0 +1,8 @@ + if window_get_fullscreen() + { + window_set_fullscreen(false); + } + else + { + window_set_fullscreen(true); + }