marouault 3 years ago
commit c2609d9bf8

@ -6,11 +6,11 @@
//#include "../test/testConnectionMenu.c"
//#include "../test/testDrawMainMenu.c
//#include "../test/testSettingsView.c"
//#include "../test/testCreationMenu.c"
#include "../test/testCreationMenu.c"
//#include "../test/testGameInterface.c"
//#include "../test/testDrawMainMenu.c"
//#include "../test/testSettingsView.c"
#include "../test/testTextInputWithProcessor.c"
//#include "../test/testTextInputWithProcessor.c"
//#include "../test/oldMain__ThisCanBeGameMain.c"
/*
This file is meant to be modified (used only to called other tests functions)
@ -21,14 +21,14 @@ int main(int argc, char *argv[]) {
//testAudioHandler();
//testFontLoader();
//testGenerateurTexture();
testTextInputProcessor();
//testTextInputProcessor();
//testButtonTextureLoader();
//testConnectionMenu();
//testMenuEndGame();
//testButton();
//testGameInterface();
//testDrawMainMenu();
//testCreationMenu();
testCreationMenu();
//testSettingsView();
return 0;

@ -402,6 +402,10 @@ bool gameCreationMenu(SDL_Renderer* renderer, GeneralState* generalState, AudioH
break;
}
break;
case InputType_TextInput:
drawTextInputOnRenderer(renderer, inputElement.data.textInput);
SDL_RenderPresent(renderer);
break;
default:
break;
}

Loading…
Cancel
Save