Global: Reduce includes of common headers.
In many places, string, map, or Common.h were included but not needed.
This commit is contained in:
parent
3df6cb704f
commit
2479d52202
162 changed files with 144 additions and 185 deletions
|
@ -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;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue