3
0
mirror of https://github.com/britzl/monarch.git synced 2025-06-28 19:07:46 +02:00

27 Commits

Author SHA1 Message Date
Björn Ritzl
6474c9a173 Improved the transition module
The transition module will now properly handle if the same transition is started more than once before completed. In such a case only one animation will be played but all senders will be notified when completed.
2017-12-07 23:03:54 +01:00
Björn Ritzl
1d476424ce Added more logging 2017-12-07 21:09:13 +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
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
e6615e2888 Started adding unit tests 2017-11-30 20:25:17 +01:00
Björn Ritzl
036cdb853d Fixed some issues regarding focus lost/gained next/previous screen id 2017-11-27 21:48:21 +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
AGulev
8324b54fc5 remove unneed print 2017-11-20 18:57:06 +03:00
AGulev
36e3f69f48 add more information for focus events 2017-11-20 18:52:18 +03: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
AGulev
de2fa9c4e2 replace hashes with constants 2017-11-03 09:50:28 +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
e24acb51d8 Fixed wrong message constant 2017-09-26 02:16:44 +02:00
Björn Ritzl
1174de2ba5 Cleanup 2017-09-25 21:55:12 +02:00
Björn Ritzl
95fd994fa0 Simplified message constant. Added focus message 2017-09-25 21:33:28 +02:00
Björn Ritzl
e7edfbe173 Changed how transition urls are defined 2017-09-25 21:21:33 +02:00
Björn Ritzl
d397b90dc2 Default to 0 delay 2017-09-25 18:16:04 +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
149c50221c Null fix when handling transitions 2017-09-25 18:01:40 +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