3
0
mirror of https://github.com/britzl/monarch.git synced 2025-06-27 02:17:53 +02:00

38 Commits

Author SHA1 Message Date
Björn Ritzl
4c6e26fd71 Removed backward comp fix for monarch.back() 2024-01-12 08:31:48 +01:00
Björn Ritzl
85123c84e9 Show how to use monarch listeners 2023-08-08 22:49:58 +02:00
Björn Ritzl
4e13660d63 Use new on_transition() 2023-08-02 07:47:47 +02:00
Björn Ritzl
2eb67bf29d Squashed commit of the following:
commit 698cdba5a469f900b902da360ad05e103cd1a39b
Author: Björn Ritzl <bjorn.ritzl@gmail.com>
Date:   Wed Mar 29 11:10:49 2023 +0200

    Documentation

commit d8de338a465066a9b9ff1bb6d20b5476e78d6359
Author: Björn Ritzl <bjorn.ritzl@gmail.com>
Date:   Wed Mar 29 10:40:38 2023 +0200

    Added focus and post listener setup functions

commit 55910abd74542513795dae3ccb9b4fd87da22b74
Author: Björn Ritzl <bjorn.ritzl@gmail.com>
Date:   Wed Mar 29 09:49:00 2023 +0200

    Update gui.lua

commit a055af032fb47d67647e0b7bc09ad4721fd623d7
Author: Björn Ritzl <bjorn.ritzl@gmail.com>
Date:   Wed Mar 29 09:19:49 2023 +0200

    Improve transition setup
2023-07-27 23:53:37 +02:00
Björn Ritzl
e0b0a286e3 Added sliding window example 2023-03-28 15:42:39 +02:00
Björn Ritzl
c14e4a8a46 Added more screens to the basic example 2023-02-10 00:09:06 +01:00
Björn Ritzl
398e78670f Moved advanced example to subfolder. Added basic example. 2021-04-26 22:48:44 +02:00
Björn Ritzl
49dd390812
Added queue support to Monarch (#49)
* Created queue and added show() as a queuable action
* Improved logic in confirm popup - It should not crash if there is no next screen in data
* Fixed indentation
* Made the new queue a lot more stable. Fixed tests.
* Removed debug output
* Fixed issue with html5 builds
2019-08-05 14:37:25 +02:00
Björn Ritzl
478835f888
New options to keep focus on screens even when covered by other screens (#51)
* Added option to continue to receive input when below a popup

* Added option to not remove input focus when a screen is put on top of another one
2019-08-03 15:44:39 +02:00
Björn Ritzl
9ab73567f8 No need to pass in a hash when getting the data 2019-08-01 06:16:15 +02:00
Björn Ritzl
05f91dd763 Make sure focus_lost messages is received
Fixes #42
2019-03-17 21:50:01 +01:00
Björn Ritzl
79df80df33 Added show() function for adding outside the stack. Fixes #26 2019-01-11 11:11:19 +01:00
Björn Ritzl
7740499821 Added support for automatically preloading screens 2019-01-11 08:47:06 +01:00
Björn Ritzl
f38f624a3b Moved the popup inside the menu to test how nested screens work 2019-01-11 06:52:57 +01:00
Björn Ritzl
3443484cce Added support for collection factories 2018-07-27 13:28:36 +02:00
Björn Ritzl
3a7187b844 Added layers to all guis in the example 2018-07-27 12:30:33 +02:00
Björn Ritzl
8d1051f0fd Added Timestep below Popup
Fixes #25
2018-07-26 10:52:03 +02:00
Björn Ritzl
bc4260d72a Added fade in/out transition 2018-07-13 06:54:26 +02:00
Björn Ritzl
d1cf8281c9 Added helpers for common sets of transitions 2018-06-16 22:43:25 +02:00
Björn Ritzl
a4cef48239 Handle layout change and window resize for transitions 2018-03-19 22:56:12 +01:00
Björn Ritzl
9cdf4817e8 Added popup_on_popup flag to screens 2017-12-28 00:02:10 +01:00
Björn Ritzl
007a4eced3 Improved on the state handling while showing/hiding screens
Also added simple debug logging
2017-12-07 20:49:48 +01:00
Björn Ritzl
1479839ed0 Improved the wait the example app is delaying startup until all screens are ready 2017-12-07 20:48:18 +01:00
Björn Ritzl
19e9c0d8a7 Added multiple bugfixes 2017-12-06 21:25:27 +01:00
Björn Ritzl
1b3b16c355 Added more documentation. Changed monarch.get_stack() 2017-12-01 09:31:50 +01:00
Björn Ritzl
62684f9795
Merge pull request #8 from AGulev/master
Replace strings with constants / new type of transactions / information for the focus messages
2017-11-27 21:21:46 +01:00
Björn Ritzl
895bc6f9ed
Merge pull request #5 from subsoap/master
Adding monarch.screen_exists(id)
2017-11-27 21:16:13 +01:00
AGulev
4ead8d9d42 Merge remote-tracking branch 'upstream/master'
# Conflicts:
#	monarch/monarch.lua
2017-11-27 10:57:32 +03:00
Björn Ritzl
4c65581456 A couple of bug fixes. Added reload option. 2017-11-22 13:28:27 +01:00
Brian Kramer
8df7ddd32f Adding monarch.screen_exists(id)
In some projects may need to wait until initial screen has been
registered before attempting to show it
2017-11-08 09:29:25 -08:00
AGulev
00c458a05a scale_in and scale_out transactions 2017-11-03 10:24:37 +03:00
Björn Ritzl
e46a703b25 Changed from controller_url to focus_url. Improved docs 2017-09-28 08:22:05 +02:00
Björn Ritzl
e7edfbe173 Changed how transition urls are defined 2017-09-25 21:21:33 +02:00
Björn Ritzl
592418fef7 Fixed a too high render order value 2017-09-25 21:20:58 +02:00
Björn Ritzl
09e2478378 Allow data to be passed when showing or going back 2017-09-25 18:15:55 +02:00
Björn Ritzl
9be4eeb87c Added optional callback function when transition is done 2017-09-17 18:55:39 +02:00
Björn Ritzl
a68fac766f Improved examples. Added transitions 2017-09-04 21:26:06 +02:00
Björn Ritzl
0bb9b69a45 Initial commit 2017-09-04 12:01:57 +02:00