From 86c01a553e8613d597749f8484d429eca1cf16d4 Mon Sep 17 00:00:00 2001 From: dcrawl Date: Tue, 22 Aug 2023 15:23:15 -0300 Subject: [PATCH] Update runtime.md Changed Method layout --- docs/runtime.md | 44 +++++++++++++++++++------------------------- 1 file changed, 19 insertions(+), 25 deletions(-) diff --git a/docs/runtime.md b/docs/runtime.md index 2e46c3a..18724bf 100644 --- a/docs/runtime.md +++ b/docs/runtime.md @@ -33,30 +33,24 @@ end ## Environment and Utility -| Category | Functions | Description | -|:---:|---|---| -| Application | production? | Returns true if the DragonRuby Application is running as a Production release. | -| | quit_requested? | Returns true if a request to quit the Application was made. | -| | request_quit | Makes a request for DragonRuby to clean up the Application process and quit to the operating system. | -| | | | -| Mouse | cursor_shown? | Returns true if the Mouse Cursor is visible. | -| | hide_cursor | Turns the Mouse Cursor invisible. | -| | set_cursor | Sets the sprite used for the Mouse Cursor. | -| | set_mouse_grab | Sets the Grab mode of the Mouse Cursor. | -| | set_system_cursor | Changes the appearance of the Mouse Cursor using system cursors. | -| | show_cursor | Turns the Mouse Cursor visible. | -| | | | -| Networking | open_url | Opens the URL in user’s default browser. | -| | | | -| Operating System | exec | Executes a OS shell command and returns result in a string. | -| | platform_mappings | A hash of attributes related to each OS platform. | -| | platform? | The OS platform that DragonRuby is currently running on. | -| | system | Executes a OS shell command and returns result to the console. | -| | | | -| String | calcstringbox | Returns the pixel dimensions of a String should it be rendered in a font. | -| | | | -| Window | set_window_fullscreen | Sets the game to Fullscreen or Windowed modes. | -| | set_window_scale | Sets a scaling factor for the Window. | -| | window_fullscreen? | Returns true if the Window is currently in Fullscreen mode. | +### Application + +| Functions | Description | +|---|---| +| production? | Returns true if the DragonRuby Application is running as a Production release. | +| quit_requested? | Returns true if a request to quit the Application was made. | +| request_quit | Makes a request for DragonRuby to clean up the Application process and quit to the operating system. | + +## Mouse + +| Functions | Description | +|---|---| +| cursor_shown? | Returns true if the Mouse Cursor is visible. | +| hide_cursor | Turns the Mouse Cursor invisible. | +| set_cursor | Sets the sprite used for the Mouse Cursor. | +| set_mouse_grab | Sets the Grab mode of the Mouse Cursor. | +| set_system_cursor | Changes the appearance of the Mouse Cursor using system cursors. | +| show_cursor | Turns the Mouse Cursor visible. | +