[fix] fix control bar position when stream window created

This commit is contained in:
dijunkun
2025-04-10 16:46:53 +08:00
parent 193e905b28
commit fcd0488624
8 changed files with 219 additions and 188 deletions

View File

@@ -240,7 +240,7 @@ class Render {
std::unique_ptr<Thumbnail> thumbnail_;
// recent connections
std::map<std::string, SDL_Texture *> recent_connection_textures_;
std::map<std::string, Thumbnail::RecentConnection> recent_connections_;
int recent_connection_image_width_ = 160;
int recent_connection_image_height_ = 90;
uint32_t recent_connection_image_save_time_ = 0;
@@ -296,13 +296,13 @@ class Render {
char input_password_tmp_[7] = "";
char input_password_[7] = "";
std::string random_password_ = "";
char remote_password_[7] = "";
char new_password_[7] = "";
char remote_id_display_[12] = "";
std::string remote_id_ = "";
unsigned char audio_buffer_[720];
int audio_len_ = 0;
bool audio_buffer_fresh_ = false;
bool need_to_rejoin_ = false;
bool just_created_ = false;
// stream window render
SDL_Window *stream_window_ = nullptr;