refactor(GUI): Cleaned gui function defs

This commit is contained in:
Yimura 2022-01-04 22:16:36 +01:00
parent 0d3d7ec4c8
commit e71e2f0aa6
5 changed files with 43 additions and 56 deletions

View File

@ -4,15 +4,15 @@
namespace big namespace big
{ {
struct modal_debug namespace modal_debug
{ {
static void modal_new_global(); void modal_new_global();
}; }
struct tab_debug namespace tab_debug
{ {
static void tab_globals(); void tab_globals();
static void tab_script_events(); void tab_script_events();
static void _tab_debug(); void _tab_debug();
}; }
} }

View File

@ -4,25 +4,23 @@
namespace big namespace big
{ {
class tab_current_profile namespace tab_current_profile
{ {
public: void tab_brakes();
static void tab_brakes(); void tab_gearing();
static void tab_gearing(); void tab_general();
static void tab_general(); void tab_other();
static void tab_other(); void tab_rollbars();
static void tab_rollbars(); void tab_roll_centre_height();
static void tab_roll_centre_height(); void tab_suspension();
static void tab_suspension(); void tab_steering();
static void tab_steering(); void tab_traction();
static void tab_traction(); void tab_transmission();
static void tab_transmission(); }
};
class modal_handling namespace modal_handling
{ {
public: void modal_save_handling();
static void modal_save_handling(); void modal_update_handling();
static void modal_update_handling(); }
};
} }

View File

@ -1,14 +1,10 @@
#pragma once #pragma once
#include "current_profile/current_profile_tabs.hpp" #include "current_profile/current_profile_tabs.hpp"
namespace big namespace big::tab_handling
{ {
class tab_handling void tab_current_profile();
{ void tab_my_profiles();
public: void tab_saved_profiles();
static void tab_current_profile(); void tab_search();
static void tab_my_profiles();
static void tab_saved_profiles();
static void tab_search();
};
} }

View File

@ -2,18 +2,15 @@
#include "common.hpp" #include "common.hpp"
#include "imgui.h" #include "imgui.h"
namespace big namespace big::tab_main
{ {
class tab_main { void tab_tunables();
public: void tab_self();
static void tab_tunables(); void tab_recovery();
static void tab_self(); void tab_settings();
static void tab_recovery(); void tab_spawn();
static void tab_settings(); void tab_spoofing();
static void tab_spawn(); void tab_vehicle();
static void tab_spoofing(); void tab_weapons();
static void tab_vehicle(); void tab_teleport();
static void tab_weapons();
static void tab_teleport();
};
} }

View File

@ -2,13 +2,9 @@
#include "common.hpp" #include "common.hpp"
#include "imgui.h" #include "imgui.h"
namespace big namespace big::tab_player
{ {
class tab_player void tab_info();
{ void tab_teleport();
public: void tab_toxic();
static void tab_info();
static void tab_teleport();
static void tab_toxic();
};
} }