the massive preparations - settings and sysConf

This commit is contained in:
tildearrow 2024-05-26 23:30:33 -05:00
parent 35a2bb7a53
commit e12bf82f49
16 changed files with 43460 additions and 21654 deletions

View file

@ -515,6 +515,12 @@ bool FurnaceGUI::InvCheckbox(const char* label, bool* value) {
return false;
}
bool FurnaceGUI::LocalizedComboGetter(void* data, int idx, const char** out_text) {
const char* const* items=(const char* const*)data;
if (out_text) *out_text=_(items[idx]);
return true;
}
void FurnaceGUI::sameLineMaybe(float width) {
if (width<0.0f) width=ImGui::GetFrameHeight();