Files
chatterino2/src/singletons
pajlada 913193f8b5 Split up Window Layout loading into a loading and application stage (#1964)
* Split up Window Layout loading into a loading and application stage

Previously, we were creating UI elements at while we were reading the window-layout.json file.
We now read the window-layout.json file fully first, which results in a
WindowLayout struct which is built up of a list of windows with a list
of tabs with a root node which contains containers and splits.
This WindowLayout can then be applied.

This will enable PRs like #1940 to start Chatterino with Window Layouts
that aren't defined in a json file.

This commit has deprecated loading of v1 window layouts (we're now on v2). If a v1 window layout is there, it will just be ignored and Chatterino will boot up as if it did not have a window layout at all, and on save that old window layout will be gone.

* Fix compile error for mac
2020-09-19 17:14:10 +02:00
..
2020-02-16 14:24:11 +01:00
2018-08-02 14:23:27 +02:00
2018-08-02 14:23:27 +02:00
2020-02-16 14:24:11 +01:00
2019-10-07 15:46:41 +02:00
2019-10-07 15:46:41 +02:00
2020-01-03 20:51:37 +01:00
2018-08-02 14:23:27 +02:00
2020-08-22 11:45:18 +02:00
2020-08-23 11:28:22 +02:00
2018-12-02 19:20:14 +01:00
2020-06-12 19:44:05 +02:00