Añadida textura en el menu de introducción de JailerID

Cambiados los colores de algunos menus (experimental)
Retocados algunos textos del menu de JailerID
This commit is contained in:
2023-09-26 21:23:41 +02:00
parent d7533c5504
commit e41aec37b0
7 changed files with 20 additions and 5 deletions

View File

@@ -272,7 +272,7 @@ CONFIGURACIO EN LINEA
INTRODUEIX UN JAILER_ID
## 91 - ENTER ID
O DEIXA BUIT PER A
DEIXA BUIT PER A
## 92 - ENTER ID
MODE FORA DE LINEA

View File

@@ -272,7 +272,7 @@ ONLINE CONFIGURATION
PLEASE ENTER AN ID
## 91 - ENTER ID
OR LEAVE BLANK FOR
LEAVE BLANK FOR
## 92 - ENTER ID
OFFLINE MODE

View File

@@ -272,7 +272,7 @@ CONFIGURACION ONLNE
INTRODUCE UN JAILER_ID
## 91 - ENTER ID
O DEJA EN BLANCO PARA
DEJA EN BLANCO PARA
## 92 - ENTER ID
MODO OFFLINE
MODO SIN CONEXION

View File

@@ -21,6 +21,9 @@ centerY=96
selector_color=229,28,35,255
selector_text_color=255,241,118
selector_color=255,122,0,255
selector_text_color=127,61,0,255
defaultActionWhenCancel=14
[item]

View File

@@ -17,6 +17,9 @@ centerX=128
selector_color=229,28,35,0
selector_text_color=255,180,0
selector_color=255,122,0,255
selector_text_color=127,61,0,255
defaultActionWhenCancel=3
[item]

View File

@@ -17,6 +17,9 @@ centerX=128
selector_color=229,28,35,0
selector_text_color=255,180,0
selector_color=255,122,0,255
selector_text_color=127,61,0,255
defaultActionWhenCancel=3
[item]

View File

@@ -220,11 +220,17 @@ void EnterID::fillTexture()
// Inicializa los textos
iniTexts();
// Rellena la textura de texto
// Rellena la textura con un color de fondo
SDL_SetRenderTarget(renderer, textTexture);
SDL_SetRenderDrawColor(renderer, bgColor.r, bgColor.g, bgColor.b, 0xFF);
SDL_RenderClear(renderer);
// Añade el efecto de degradado en el fondo
Texture *gradient = new Texture(renderer, asset->get("title_gradient.png"));
SDL_Rect rect = {0, 0, GAMECANVAS_WIDTH, GAMECANVAS_HEIGHT};
gradient->render(renderer, 0, 0, &rect);
delete gradient;
// Escribe el texto en la textura
const int desp = 40;
const int size = text->getCharacterSize() + 2;