Enable TTS on demand, instead of fully disabling it when project setting is not set.

This commit is contained in:
Pāvels Nadtočajevs
2025-04-01 11:59:04 +03:00
parent cc7217970d
commit 4638ade13f
16 changed files with 240 additions and 84 deletions

View File

@ -687,6 +687,8 @@ class DisplayServerWindows : public DisplayServer {
HWND _find_window_from_process_id(OS::ProcessID p_pid, HWND p_current_hwnd);
void initialize_tts() const;
public:
LRESULT WndProcFileDialog(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam);
LRESULT WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam);