Global: Reduce includes of common headers.

In many places, string, map, or Common.h were included but not needed.
This commit is contained in:
Unknown W. Brackets 2022-01-30 15:49:02 -08:00
parent 3df6cb704f
commit 2479d52202
162 changed files with 144 additions and 185 deletions

View file

@ -17,20 +17,19 @@
#pragma once
#include <functional>
#include "Common/UI/View.h"
#include "MiscScreens.h"
class TiltAnalogSettingsScreen : public UIDialogScreenWithBackground {
public:
TiltAnalogSettingsScreen() : currentTiltX_(0), currentTiltY_(0) {}
TiltAnalogSettingsScreen() {}
void CreateViews() override;
bool axis(const AxisInput &axis) override;
private:
UI::EventReturn OnCalibrate(UI::EventParams &e);
float currentTiltX_, currentTiltY_;
float currentTiltX_ = 0.0f;
float currentTiltY_ = 0.0f;
};