mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-19 00:41:43 +00:00
[wpigui] Add platform-specific preferences save
This commit is contained in:
committed by
Peter Johnson
parent
751dea32ae
commit
2c5668af46
@@ -91,7 +91,7 @@ int main() {
|
||||
gPlotProvider = std::make_unique<glass::PlotProvider>("Plot");
|
||||
gNtProvider = std::make_unique<glass::NetworkTablesProvider>("NTProvider");
|
||||
|
||||
gui::AddInit([] { ImGui::GetIO().IniFilename = "glass.ini"; });
|
||||
gui::ConfigurePlatformSaveFile("glass.ini");
|
||||
gPlotProvider->GlobalInit();
|
||||
gui::AddInit([] { gPlotProvider->ResetTime(); });
|
||||
gNtProvider->GlobalInit();
|
||||
|
||||
Reference in New Issue
Block a user