colorpicker rework, cin.desktop+shortcuts+license updates, edit titlebar colors+auto...
[goodguy/cinelerra.git] / cinelerra-5.1 / cinelerra / mwindow.C
index a84e11a16f725d464c8cd3eb6c2660abac607854..77c1eba14aa08c97aa73e8467273b4dc017c4333 100644 (file)
@@ -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