mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Remove rebase junk, update CMakeLists.txt, update Android.mk.
This commit is contained in:
parent
83c70baada
commit
cdf819c9eb
4 changed files with 5 additions and 12 deletions
|
@ -1137,6 +1137,7 @@ set(NativeAppSource
|
|||
UI/GameScreen.cpp
|
||||
UI/GameSettingsScreen.cpp
|
||||
UI/TouchControlLayoutScreen.cpp
|
||||
UI/TouchControlVisibilityScreen.cpp
|
||||
UI/GamepadEmu.cpp
|
||||
UI/UIShader.cpp
|
||||
UI/OnScreenDisplay.cpp
|
||||
|
|
|
@ -303,7 +303,7 @@ void InitPadLayout() {
|
|||
|
||||
int D_pad_X = 2.5 * D_pad_Radius;
|
||||
int D_pad_Y = dp_yres - D_pad_Radius;
|
||||
if (g_Config.bShowTouchAnalogStick){
|
||||
if (g_Config.bShowTouchAnalogStick) {
|
||||
D_pad_Y -= 200 * scale;
|
||||
}
|
||||
|
||||
|
@ -430,21 +430,12 @@ UI::ViewGroup *CreatePadLayout(bool *pause) {
|
|||
const int halfW = dp_xres / 2;
|
||||
|
||||
if (g_Config.bShowTouchControls) {
|
||||
|
||||
float scale = g_Config.fButtonScale;
|
||||
<<<<<<< HEAD
|
||||
<<<<<<< HEAD
|
||||
|
||||
#if USE_PAUSE_BUTTON
|
||||
root->Add(new BoolButton(pause, I_ROUND, I_ARROW, scale, new AnchorLayoutParams(halfW, 20, NONE, NONE, true)))->SetAngle(90);
|
||||
#endif
|
||||
|
||||
=======
|
||||
=======
|
||||
|
||||
>>>>>>> 4936897... Make Toggle All actually function.
|
||||
if (g_Config.bShowTouchCircle)
|
||||
>>>>>>> 86338a5... Add a touch control visibility screen. All touch controls can now be toggled on or off, except for the Pause button on platforms that have it, as a safety precaution.
|
||||
root->Add(new PSPButton(CTRL_CIRCLE, I_ROUND, I_CIRCLE, scale, new AnchorLayoutParams(Action_circle_button_X, Action_circle_button_Y, NONE, NONE, true)));
|
||||
|
||||
if (g_Config.bShowTouchCross)
|
||||
|
|
|
@ -74,10 +74,10 @@ void TouchControlVisibilityScreen::CreateViews() {
|
|||
for (auto i = keyToggles.begin(); i != keyToggles.end(); ++i) {
|
||||
LinearLayout *row = new LinearLayout(ORIENT_HORIZONTAL, new LinearLayoutParams(FILL_PARENT, WRAP_CONTENT));
|
||||
row->SetSpacing(0);
|
||||
|
||||
imageFinder = keyImages.find(i->first);
|
||||
row->Add(new CheckBox(i->second, "", "", new LinearLayoutParams(50, WRAP_CONTENT)));
|
||||
|
||||
imageFinder = keyImages.find(i->first);
|
||||
|
||||
if (imageFinder != keyImages.end()) {
|
||||
row->Add(new Choice(keyImages[imageFinder->first], new LinearLayoutParams(1.0f)));
|
||||
} else {
|
||||
|
|
|
@ -113,6 +113,7 @@ EXEC_AND_LIB_FILES := \
|
|||
$(SRC)/UI/ControlMappingScreen.cpp \
|
||||
$(SRC)/UI/GameSettingsScreen.cpp \
|
||||
$(SRC)/UI/TouchControlLayoutScreen.cpp \
|
||||
$(SRC)/UI/TouchControlVisibilityScreen.cpp \
|
||||
$(SRC)/UI/CwCheatScreen.cpp \
|
||||
$(SRC)/ext/disarm.cpp \
|
||||
$(SRC)/ext/libkirk/AES.c \
|
||||
|
|
Loading…
Add table
Reference in a new issue