Files
OpenSpace/data/assets/base_blank.asset
T
Emma Broman 6e6f425a0a Issue/3337 Custom UI group ordering (#3363)
* remove code for controlling group sorting in ImGui

We only use this for debug and the sorting here is no longer relevant

* Add feature to add custom ordering to UI groups

* Tiny cleanup

* Add numerical ordering for night sky planets

* Update Lua function name and create an event when ordering updated

* Set top-level ordering

* Add function documentation

* Add a custom ordering that previously was hardcoded in UI

* Apply suggestions from code review

Co-authored-by: Alexander Bock <alexander.bock@liu.se>

* Rename GUI ordering function

* Update GUI hash

---------

Co-authored-by: Alexander Bock <alexander.bock@liu.se>
2024-08-22 16:51:28 +02:00

27 lines
828 B
Lua

-- This is a blank scene that that just sets up the default menus/dasboard/keys, etc.
-- Specifying which other assets should be loaded in this scene
asset.require("spice/core")
asset.require("dashboard/default_dashboard")
-- Load default key bindings applicable to most scenes
asset.require("./default_keybindings")
-- Load web gui
local webGui = asset.require("util/webgui")
-- Scale the different UI components based on the operating system's DPI scaling value
asset.require("util/dpiscaling")
-- Load the images required for the launcher to show up
asset.require("util/launcher_images")
-- Modules and component settings
asset.require("modules/touch/default_settings")
asset.onInitialize(function()
webGui.setCefRoute("onscreen")
openspace.setPropertyValueSingle("RenderEngine.VerticalLogOffset", 0.100000)
end)