[client] rework the configuration overlay to allow for tabs

This commit is contained in:
Geoffrey McRae
2021-08-12 09:04:45 +10:00
parent fe6339fc77
commit 6387bf2d2e
11 changed files with 159 additions and 69 deletions

View File

@@ -626,7 +626,7 @@ static void debugCallback(GLenum source, GLenum type, GLuint id,
DEBUG_PRINT(level, "GL message (source: %s, type: %s): %s", sourceName, typeName, message);
}
static void egl_config_ui(void * opaque)
static void egl_configUI(void * opaque, int * id)
{
struct Inst * this = opaque;
egl_damageConfigUI(this->damage);
@@ -822,7 +822,7 @@ static bool egl_renderStartup(LG_Renderer * renderer, bool useDMA)
return false;
}
app_overlayConfigRegister("EGL", egl_config_ui, this);
app_overlayConfigRegister("EGL", egl_configUI, this);
this->imgui = true;
return true;