Skip to content

Commit

Permalink
Update runtime.md
Browse files Browse the repository at this point in the history
Changed Method layout
  • Loading branch information
dcrawl authored Aug 22, 2023
1 parent 82450f9 commit 86c01a5
Showing 1 changed file with 19 additions and 25 deletions.
44 changes: 19 additions & 25 deletions docs/runtime.md
Original file line number Diff line number Diff line change
Expand Up @@ -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. |



0 comments on commit 86c01a5

Please sign in to comment.