Rename to `frame_count` for consistency

pull/758/head
jackun 2 years ago
parent ec5952d834
commit f0177703ea
No known key found for this signature in database
GPG Key ID: 119DB3F1D05A9ED3

@ -339,7 +339,7 @@ Parameters that are enabled by default have to be explicitly disabled. These (cu
| `core_load_change` | Changes the colors of cpu core loads, uses the same data from `cpu_load_value` and `cpu_load_change` |
| `cellpadding_y` | Set the vertical cellpadding, default is `-0.085` |
| `frametime` | Display frametime next to fps text |
| `framecount` | Display frame count |
| `frame_count` | Display frame count |
| `table_columns` | Set the number of table columns for ImGui, defaults to 3 |
| `blacklist` | Add a program to the blacklist. e.g `blacklist=vkcube,WatchDogs2.exe` |
| `resolution` | Display the current resolution |

@ -87,7 +87,7 @@ fps
# fps_value=30,60
# fps_color=B22222,FDFD09,39F900
frametime
# framecount
# frame_count
### Display miscellaneous information
# engine_version

@ -902,8 +902,8 @@ void HudElements::gamepad_battery()
#endif
}
void HudElements::framecount(){
if (HUDElements.params->enabled[OVERLAY_PARAM_ENABLED_framecount]){
void HudElements::frame_count(){
if (HUDElements.params->enabled[OVERLAY_PARAM_ENABLED_frame_count]){
ImGui::TableNextRow();
ImGui::TableNextColumn();
ImGui::PushFont(HUDElements.sw_stats->font1);
@ -1100,7 +1100,7 @@ void HudElements::sort_elements(const std::pair<std::string, std::string>& optio
if (param == "fsr") { ordered_functions.push_back({gamescope_fsr, value}); }
if (param == "debug") { ordered_functions.push_back({gamescope_frame_timing, value}); }
if (param == "gamepad_battery") { ordered_functions.push_back({gamepad_battery, value}); }
if (param == "framecount") { ordered_functions.push_back({framecount, value}); }
if (param == "frame_count") { ordered_functions.push_back({frame_count, value}); }
if (param == "fan") { ordered_functions.push_back({fan, value}); }
if (param == "throttling_status") { ordered_functions.push_back({throttling_status, value}); }
if (param == "graphs"){
@ -1148,7 +1148,7 @@ void HudElements::legacy_elements(){
ordered_functions.push_back({wine, value});
#endif
ordered_functions.push_back({frame_timing, value});
ordered_functions.push_back({framecount, value});
ordered_functions.push_back({frame_count, value});
ordered_functions.push_back({gamescope_frame_timing, value});
#ifndef MANGOAPP
ordered_functions.push_back({gamemode, value});

@ -62,7 +62,7 @@ class HudElements{
static void gamescope_fsr();
static void gamescope_frame_timing();
static void gamepad_battery();
static void framecount();
static void frame_count();
static void fan();
static void throttling_status();

@ -63,7 +63,7 @@ typedef unsigned long KeySym;
OVERLAY_PARAM_BOOL(legacy_layout) \
OVERLAY_PARAM_BOOL(cpu_mhz) \
OVERLAY_PARAM_BOOL(frametime) \
OVERLAY_PARAM_BOOL(framecount) \
OVERLAY_PARAM_BOOL(frame_count) \
OVERLAY_PARAM_BOOL(resolution) \
OVERLAY_PARAM_BOOL(show_fps_limit) \
OVERLAY_PARAM_BOOL(fps_color_change) \

Loading…
Cancel
Save