X-Git-Url: https://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Fmwindow.C;h=77c1eba14aa08c97aa73e8467273b4dc017c4333;hb=258d9cb69d560f40961acdd20866e12e940c2f93;hp=a84e11a16f725d464c8cd3eb6c2660abac607854;hpb=0b9b147db71b52ac26c6916569a1e407bb2651bc;p=goodguy%2Fcinelerra.git diff --git a/cinelerra-5.1/cinelerra/mwindow.C b/cinelerra-5.1/cinelerra/mwindow.C index a84e11a1..77c1eba1 100644 --- a/cinelerra-5.1/cinelerra/mwindow.C +++ b/cinelerra-5.1/cinelerra/mwindow.C @@ -3292,6 +3292,14 @@ void MWindow::hide_keyframe_gui(Plugin *plugin) keyframe_gui_lock->unlock(); } +int MWindow::get_title_color(Edit *edit) +{ + int color = edit->color; + if( color < 0 && preferences->autocolor_assets ) + color = edit->get_hash_color(); + return color; +} + void MWindow::update_keyframe_guis() { // Send new configuration to keyframe GUI's