afegit mode kiosko
This commit is contained in:
@@ -71,6 +71,13 @@ class Engine {
|
||||
void toggleRealFullscreen();
|
||||
void toggleIntegerScaling();
|
||||
|
||||
// Modo kiosko
|
||||
void setKioskMode(bool enabled) { kiosk_mode_ = enabled; }
|
||||
bool isKioskMode() const { return kiosk_mode_; }
|
||||
|
||||
// Notificaciones (público para InputHandler)
|
||||
void showNotificationForAction(const std::string& text);
|
||||
|
||||
// Modos de aplicación (DEMO/LOGO)
|
||||
void toggleDemoMode();
|
||||
void toggleDemoLiteMode();
|
||||
@@ -131,6 +138,7 @@ class Engine {
|
||||
bool vsync_enabled_ = true;
|
||||
bool fullscreen_enabled_ = false;
|
||||
bool real_fullscreen_enabled_ = false;
|
||||
bool kiosk_mode_ = false;
|
||||
ScalingMode current_scaling_mode_ = ScalingMode::INTEGER; // Modo de escalado actual (F5)
|
||||
|
||||
// Resolución base (configurada por CLI o default)
|
||||
@@ -204,7 +212,6 @@ class Engine {
|
||||
void render();
|
||||
|
||||
// Métodos auxiliares privados (llamados por la interfaz pública)
|
||||
void showNotificationForAction(const std::string& text); // Mostrar notificación solo en modo MANUAL
|
||||
|
||||
// Sistema de cambio de sprites dinámico - Métodos privados
|
||||
void switchTextureInternal(bool show_notification); // Implementación interna del cambio de textura
|
||||
|
||||
Reference in New Issue
Block a user