Cleans up InputEditor class.
parent
927ffd0b8b
commit
3792b03a7d
@ -1,18 +1,22 @@
|
||||
#pragma once
|
||||
|
||||
#include "stdint.h"
|
||||
#include "Lib/ImGui/imgui.h"
|
||||
|
||||
namespace Ship {
|
||||
|
||||
class InputEditor {
|
||||
int CurrentPort = 0;
|
||||
int BtnReading = -1;
|
||||
public:
|
||||
int32_t CurrentPort = 0;
|
||||
int32_t BtnReading = -1;
|
||||
bool Opened = false;
|
||||
public:
|
||||
void Init();
|
||||
void DrawButton(const char* label, int n64Btn);
|
||||
void DrawButton(const char* label, int32_t n64Btn);
|
||||
void DrawVirtualStick(const char* label, ImVec2 stick);
|
||||
void DrawControllerSchema();
|
||||
void DrawHud();
|
||||
bool IsOpened();
|
||||
void Open();
|
||||
void Close();
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue