mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-01-05 11:09:37 -06:00
Add Lua functions to query keyboard bindings and remove individual keybinds
Add core script file that defines possibility of rebinding keyboard commands to a different key Enable the execution of global customization scripts Make `scene_helper.lua` a script automatically included in the ScriptScheduler
This commit is contained in:
@@ -51,6 +51,9 @@ public:
|
||||
/// The key that stores the location of the SGCT configuration file that is used on
|
||||
/// application launch
|
||||
static const std::string KeyConfigSgct;
|
||||
/// The key that defines a list of scripts for global customization that get executed
|
||||
/// regardless of which scene is loaded
|
||||
static const std::string KeyGlobalCustomizationScripts;
|
||||
/// The part of the key that defines the type
|
||||
static const std::string PartType;
|
||||
/// The part of the key that defines the file
|
||||
|
||||
@@ -104,8 +104,6 @@ public:
|
||||
void writeDocumentation();
|
||||
void toggleShutdownMode();
|
||||
|
||||
void runPostInitializationScripts(const std::string& sceneDescription);
|
||||
|
||||
// Guaranteed to return a valid pointer
|
||||
ConfigurationManager& configurationManager();
|
||||
LuaConsole& console();
|
||||
@@ -178,6 +176,8 @@ private:
|
||||
void gatherCommandlineArguments();
|
||||
void loadFonts();
|
||||
void runPreInitializationScripts(const std::string& sceneDescription);
|
||||
void runPostInitializationScripts(const std::string& sceneDescription);
|
||||
void runGlobalCustomizationScripts(const std::string& sceneDescription);
|
||||
void configureLogging();
|
||||
|
||||
// Components
|
||||
|
||||
Reference in New Issue
Block a user