Convertit "param" a variable global en lloc de anar marejant amb punterets i passant 8.000.000 de paràmetres
This commit is contained in:
@@ -23,7 +23,6 @@ private:
|
||||
|
||||
// Variables
|
||||
options_t *options; // Opciones del programa
|
||||
param_t *param; // Puntero con todos los parametros del programa
|
||||
section_t *section; // Indicador para el bucle del titulo
|
||||
bool enabled; // Indica si el objeto está habilitado
|
||||
int x; // Posición donde dibujar el texto
|
||||
@@ -47,7 +46,7 @@ private:
|
||||
|
||||
public:
|
||||
// Constructor
|
||||
DefineButtons(Input *input, Text *text, param_t *param, options_t *options, section_t *section);
|
||||
DefineButtons(Input *input, Text *text, options_t *options, section_t *section);
|
||||
|
||||
// Destructor
|
||||
~DefineButtons();
|
||||
|
||||
Reference in New Issue
Block a user