input: el nombre de los mandos ya no se redimensiona ni se añade el índice
This commit is contained in:
4
main.cpp
4
main.cpp
@@ -97,7 +97,7 @@ int main(int argc, char *argv[])
|
||||
input->bindKey(INPUT_DOWN, SDL_SCANCODE_DOWN);
|
||||
input->bindKey(INPUT_LEFT, SDL_SCANCODE_LEFT);
|
||||
input->bindKey(INPUT_RIGHT, SDL_SCANCODE_RIGHT);
|
||||
string controllerName = "";
|
||||
string controllerName = "htfvhfhk";
|
||||
int numControllers = input->getNumControllers();
|
||||
if (numControllers > 0)
|
||||
{
|
||||
@@ -278,7 +278,7 @@ int main(int argc, char *argv[])
|
||||
text->writeDX(TXT_CENTER | TXT_COLOR | TXT_STROKE, options->screen.nativeWidth / 2, text->getCharacterSize() * 7, "Pulsa 'N' para mostrar", 1, {240, 240, 240}, 1, {0, 0, 192});
|
||||
text->writeDX(TXT_CENTER | TXT_COLOR | TXT_STROKE, options->screen.nativeWidth / 2, text->getCharacterSize() * 8, "una notificacion", 1, {240, 240, 240}, 1, {0, 0, 192});
|
||||
debugText->writeCentered(options->screen.nativeWidth / 2, options->screen.nativeHeight / 2, controllerName);
|
||||
debugText->writeCentered(options->screen.nativeWidth / 2, (options->screen.nativeHeight / 2) + debugText->getCharacterSize(), inputPressed);
|
||||
debugText->writeCentered(options->screen.nativeWidth / 2, (options->screen.nativeHeight / 2) + (debugText->getCharacterSize()*2), inputPressed);
|
||||
|
||||
// Vuelca el buffer en pantalla
|
||||
screen->blit();
|
||||
|
||||
Reference in New Issue
Block a user