You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit dcadffb
Browse filesBrowse the repository at this point in the historyBrowse files
AddOption(guiReplyTimeout, uint32_t, 100, "", 0, "Time in ms the Qt GUI waits at most for the display to process its update")
118
118
AddOption(guiMaxUpdatesAhead, uint32_t, 3, "", 0, "Number of updates the Qt GUI may send ahead of the last one the display has processed, before it waits for the display")
119
-
AddOption(consoleDelay, float, 0.5f, "", 0, "Time in seconds to open / close the console (^ key)")
120
-
AddOption(consoleAlpha, float, 0.8f, "", 0, "Opacity of the console background")
119
+
AddOption(consoleDelay, float, 0.3f, "", 0, "Time in seconds to open / close the console (^ key)")
120
+
AddOption(consoleAlpha, float, 0.85f, "", 0, "Opacity of the console background")
121
121
AddOption(consoleVertical, float, 0.5f, "", 0, "Fraction of the window height covered by the fully opened console")
122
122
AddOption(consoleHistorySize, uint32_t, 1000000, "", 0, "Number of console lines kept, the history is shortened to this when it reaches twice the size")
123
123
AddOption(setInfoTime, float, 5.0f, "", 0, "Time in seconds an info message (SetInfo) is shown fully opaque")
Copy file name to clipboardExpand all lines: GPU/GPUTracking/display/frontend/GPUDisplayFrontend.h
+4-3Lines changed: 4 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -24,6 +24,7 @@
24
24
#include<mutex>
25
25
#include<thread>
26
26
#include<condition_variable>
27
+
#include<functional>
27
28
#include<string>
28
29
#include<utility>
29
30
#include<vector>
@@ -157,8 +158,7 @@ class GPUDisplayFrontend : public GPUDisplayFrontendInterface, public GPUDisplay
157
158
private:
158
159
structGPUDisplayConfiguration;
159
160
structconfigRTTIExt;
160
-
structconfigKey;
161
-
std::unique_ptr<GPUDisplayConfiguration, void (*)(GPUDisplayConfiguration*)> mConfigRTTI{nullptr, nullptr}; // Deleter set in GPUDisplayFrontendConfig.cxx, the only place where GPUDisplayConfiguration is defined
161
+
std::unique_ptr<GPUDisplayConfiguration, void (*)(GPUDisplayConfiguration*)> mConfiguration{nullptr, nullptr}; // Deleter set in GPUDisplayFrontendConfig.cxx, the only place where GPUDisplayConfiguration is defined
162
162
163
163
voidHandleExternalGUIKeys();
164
164
staticint32_ttranslateExternalKey(uint32_t translationMode, uint64_t extendedKey); // Key code of an encoded key of sendExternalGUIKey (+ SPECIAL_KEYS_SHIFTED with SHIFT), -1 if unknown
@@ -172,7 +172,8 @@ class GPUDisplayFrontend : public GPUDisplayFrontendInterface, public GPUDisplay
172
172
voidsetGUILayout(GPUDisplayGUIChannel& channel) const; // Copy the GUI elements of the add_gui_binding calls to the channel
173
173
voidapplyGUIValues(const GPUDisplayGUIUpdate& update); // Call the setter of the GUI elements changed in the GUI (element id, value), and show the info of their options
174
174
voidlistConfig();
175
-
const std::vector<std::string>& getHelpText() const; // Help text of all key bindings, one line per binding
175
+
const std::vector<std::string>& getHelpText(); // Help text of all key bindings, one line per binding, rebuilt after key bindings changed
176
+
voidlistKeys(const std::function<void(const std::string&)>& print); // Bound keys with action / key down mapping and option, then unbound actions and mappings, then the key down mappings with their keys, one line per call
0 commit comments