Eliminado código DEPRECATED de ui_manager
This commit is contained in:
@@ -111,14 +111,6 @@ class UIManager {
|
||||
*/
|
||||
void updatePhysicalWindowSize(int width, int height);
|
||||
|
||||
/**
|
||||
* @brief Establece texto obsoleto (DEPRECATED - usar Notifier en su lugar)
|
||||
* @param text Texto a mostrar
|
||||
* @param pos Posición X del texto
|
||||
* @param current_screen_width Ancho de pantalla (para cálculos)
|
||||
*/
|
||||
void setTextObsolete(const std::string& text, int pos, int current_screen_width);
|
||||
|
||||
// === Getters ===
|
||||
|
||||
/**
|
||||
@@ -131,11 +123,6 @@ class UIManager {
|
||||
*/
|
||||
int getCurrentFPS() const { return fps_current_; }
|
||||
|
||||
/**
|
||||
* @brief Verifica si texto obsoleto está visible
|
||||
*/
|
||||
bool isTextObsoleteVisible() const { return show_text_; }
|
||||
|
||||
private:
|
||||
/**
|
||||
* @brief Renderiza HUD de debug (solo si show_debug_ == true)
|
||||
@@ -153,12 +140,6 @@ class UIManager {
|
||||
const Shape* active_shape,
|
||||
float shape_convergence);
|
||||
|
||||
/**
|
||||
* @brief Renderiza texto obsoleto centrado (DEPRECATED)
|
||||
* @param current_screen_width Ancho lógico de pantalla
|
||||
*/
|
||||
void renderObsoleteText(int current_screen_width);
|
||||
|
||||
/**
|
||||
* @brief Convierte dirección de gravedad a string
|
||||
* @param direction Dirección como int (cast de GravityDirection)
|
||||
@@ -175,7 +156,6 @@ class UIManager {
|
||||
int calculateFontSize(int physical_width, int physical_height) const;
|
||||
|
||||
// === Recursos de renderizado ===
|
||||
TextRenderer* text_renderer_; // Texto obsoleto (DEPRECATED)
|
||||
TextRenderer* text_renderer_debug_; // HUD de debug
|
||||
TextRenderer* text_renderer_notifier_; // Notificaciones
|
||||
Notifier* notifier_; // Sistema de notificaciones
|
||||
@@ -183,12 +163,6 @@ class UIManager {
|
||||
|
||||
// === Estado de UI ===
|
||||
bool show_debug_; // HUD de debug activo (tecla F12)
|
||||
bool show_text_; // Texto obsoleto visible (DEPRECATED)
|
||||
|
||||
// === Sistema de texto obsoleto (DEPRECATED) ===
|
||||
std::string text_; // Texto a mostrar
|
||||
int text_pos_; // Posición X del texto
|
||||
Uint64 text_init_time_; // Tiempo de inicio de texto
|
||||
|
||||
// === Sistema de FPS ===
|
||||
Uint64 fps_last_time_; // Último tiempo de actualización de FPS
|
||||
|
||||
Reference in New Issue
Block a user