mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-09-08 04:18:14 +00:00
Added setting configured color to button texts for messagebox on Android.
This commit is contained in:
@@ -741,6 +741,9 @@ public class SDLActivity extends Activity {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
button.setText(buttonTexts[i]);
|
button.setText(buttonTexts[i]);
|
||||||
|
if (textColor != Color.TRANSPARENT) {
|
||||||
|
button.setTextColor(textColor);
|
||||||
|
}
|
||||||
if (buttonBorderColor != Color.TRANSPARENT) {
|
if (buttonBorderColor != Color.TRANSPARENT) {
|
||||||
// TODO set color for border of messagebox button
|
// TODO set color for border of messagebox button
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user