X-Git-Url: http://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Fgwindowgui.C;h=53061be9ffbddf048d3ebeff3d23b7e30b49d236;hb=620f70a943c1f47880ec68a908aa03bf463e741f;hp=09a09cb83c288f812b2e0fed3dcefa8adea46b25;hpb=8e69e9e7ab87fd5c273ce30a05c9973e786467d9;p=goodguy%2Fcinelerra.git diff --git a/cinelerra-5.1/cinelerra/gwindowgui.C b/cinelerra-5.1/cinelerra/gwindowgui.C index 09a09cb8..53061be9 100644 --- a/cinelerra-5.1/cinelerra/gwindowgui.C +++ b/cinelerra-5.1/cinelerra/gwindowgui.C @@ -251,7 +251,9 @@ void GWindowGUI::create_objects() continue; } const char *label = toggle_text(tp); - int color = tp->isauto > 0 ? auto_colors[tp->ref] : WHITE; + int color = tp->isauto > 0 ? + auto_colors[tp->ref] : + get_resources()->text_default ; GWindowToggle *toggle = new GWindowToggle(this, x, y, label, color, tp); add_tool(toggles[i] = toggle); if( tp->isauto > 0 ) {