* 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>
* Make it possible to query a propertyowner by uri with the getpropertytopic
* Remove automatic reloading of ui from drag and drop script
* Add function for uri for propertyowners
* Add uri to the to_json for the propertyowner
* Add comment for the propertyOwner function and update the comment for the property function to clearer distinguish between uris and identifiers
* Go back to the old events but with uris instead as their member
* Apply feedback from PR
* Address PR comments
---------
Co-authored-by: Ylva Selling <ylva.selling@liu.se>
Add the option to add geojson components to globes, from geojson files. One geojson file creates one GeoJsonComponent, which in turn may contain multiple GlobeGeometryFeatures
Geojson is a format that supports points, lines, and polygons. In addition to the basic functionality, extra features have been added that will long-term allow rendering the geometry needed to represent KML files (another format for geospatial geometry data). Here are links to references for both formats:
Geojson: https://geojson.org/
KML: https://developers.google.com/kml/documentation/kmlreference
data/assets/examples/geojson includes some example files that I have used for testing. Any geojson file can also be added through drag-n-drop. Note however that you might need to change the AltitudeMode or HeightOffset properties for the feature to be visible.
* Add actions for zodiac constellations + some improvements
* Add fade to actions
* Add fade scripts that is able to take regex identifiers and fade screen space renderables
- Turn the planet lighting actions from mixed case to lower case
- Fix the openspace.rebindKey Lua function which did not work before
- Fix the openspace.downloadFile function which would fail when not waiting for the the result
- Rename openspace.walkDirectoryFolder to openspace.walkDirectoryFolders for consistency
- Remove the openspace.saveLastChangeToProfile function
Adapting Lua functions to new codegen functionality
Improve the documentation itself
Add some styling to generated documentation
Have parameter names for Lua-defined Lua function documentation
Co-authored-by: Emma Broman <emma.broman@liu.se>
* Add action manager to handle actions in replacement of keyboard shortcuts
* Implement new Action concept
* Remove the shortcutscomponent as it is no longer needed
* Update profile version from 1.0 to 1.1
* Add action dialog
* Restructure of key specification in keys.h
* Remove solid field-of-view keybind from the newhorizons profile as the setting no longer exists