ASAPCabinetFE
 
Loading...
Searching...
No Matches
first_run.cpp File Reference

Implementation of the initial configuration setup for ASAPCabinetFE. More...

#include "core/first_run.h"
#include "log/logging.h"
#include <SDL2/SDL.h>
#include <memory>
+ Include dependency graph for first_run.cpp:

Functions

bool runInitialConfig (IConfigService *configService, IKeybindProvider *keybindProvider, const std::string &configPath)
 Executes the initial configuration setup.
 

Detailed Description

Implementation of the initial configuration setup for ASAPCabinetFE.

Function Documentation

◆ runInitialConfig()

bool runInitialConfig ( IConfigService configService,
IKeybindProvider keybindProvider,
const std::string &  configPath 
)

Executes the initial configuration setup.

This function initializes and runs the configuration UI using the provided configuration service and configuration file path. It sets up an SDL window and renderer, uses ImGuiManager for ImGui rendering, and applies settings via ConfigUI.

Parameters
configServiceThe configuration service for managing settings.
configPathThe file path to the configuration file.
Returns
True if the configuration was successfully applied, false otherwise.
+ Here is the call graph for this function: