diff options
| author | jacqueline <me@jacqueline.id.au> | 2024-08-29 15:52:34 +1000 |
|---|---|---|
| committer | jacqueline <me@jacqueline.id.au> | 2024-08-29 15:52:34 +1000 |
| commit | 91eaed4b37c7cda29103d3478df3e2c6356f8396 (patch) | |
| tree | de317a6a9b595ee744058db55af0f3f40ea89af8 /luals-stubs | |
| parent | 96a224c0df4f647b3e5dbbcbbedad3a1d38470ba (diff) | |
| download | tangara-fw-91eaed4b37c7cda29103d3478df3e2c6356f8396.tar.gz | |
use snake_case consistently in lua function names
Diffstat (limited to 'luals-stubs')
| -rw-r--r-- | luals-stubs/screen.lua | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/luals-stubs/screen.lua b/luals-stubs/screen.lua index fc1b37f8..14ea75dd 100644 --- a/luals-stubs/screen.lua +++ b/luals-stubs/screen.lua @@ -12,19 +12,19 @@ local screen = {} function screen:new(params) end --- Called just before this screen is first displayed to the user. -function screen:createUi() end +function screen:create_ui() end --- Called whenever this screen is displayed to the user. -function screen:onShown() end +function screen:on_show() end --- Called whenever this screen is being hidden by the user; either because a --- new screen is being pushed on top of this way, or because this screen has --- been popped off of the stack. -function screen:onHidden() end +function screen:on_hide() end --- Called when this screen is about to be popped off of the stack. If this --- returns false, it will not be popped. May be a function, or any boolean --- convertable value. -function screen:canPop() end +function screen:can_pop() end return screen |
