forked from IQ.Lvbs/IQ.Pilot
IQ.Pilot Release Commit @ 0b96bd5
This commit is contained in:
24
iqpilot/tools/cabana/ui/dialogs/settingsdialog.h
Normal file
24
iqpilot/tools/cabana/ui/dialogs/settingsdialog.h
Normal file
@@ -0,0 +1,24 @@
|
||||
#pragma once
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "tools/cabana/core/settings.h"
|
||||
#include "tools/cabana/ui/util.h"
|
||||
|
||||
class SettingsDialog {
|
||||
public:
|
||||
void open();
|
||||
void draw();
|
||||
|
||||
private:
|
||||
void save();
|
||||
|
||||
bool open_ = false;
|
||||
PopupOwner popup_;
|
||||
int theme_ = 0;
|
||||
int cached_minutes_ = 0;
|
||||
int drag_direction_ = 0;
|
||||
int chart_height_ = 0;
|
||||
bool log_livestream_ = false;
|
||||
std::string log_path_;
|
||||
};
|
||||
Reference in New Issue
Block a user