X-Git-Url: https://git.cinelerra-gg.org/git/?p=goodguy%2Fcinelerra.git;a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Fawindowgui.C;h=265f31ae33ef61307d136ca586552f50b065bddd;hp=a88acce6cc95473fa02a2da27cf60d092e69651a;hb=4710b00debcb86b8ff626c4af3473afe338408ae;hpb=0495d0555cc8e2526b7e3677fb7ef4d802f5ebe2 diff --git a/cinelerra-5.1/cinelerra/awindowgui.C b/cinelerra-5.1/cinelerra/awindowgui.C index a88acce6..265f31ae 100644 --- a/cinelerra-5.1/cinelerra/awindowgui.C +++ b/cinelerra-5.1/cinelerra/awindowgui.C @@ -1490,7 +1490,7 @@ void AWindowGUI::create_objects() int nw = get_text_width(MEDIUMFONT, _(av_names[i])); if( tw < nw ) tw = nw; } - int pw = BC_PopupMenu::calculate_w(4, tw, -1) + 16; + int pw = BC_PopupMenu::calculate_w(4, tw, 1) + 16; const char *text = _(AVIconDrawing::avicon_names[vicon_drawing]); add_subwindow(avicon_drawing = new AVIconDrawing(this, fw, fy, pw, text)); avicon_drawing->create_objects(); @@ -3335,7 +3335,7 @@ int AVIconDrawingItem::handle_event() int AVIconDrawing::draw_face(int dx, int color) { int ret = BC_PopupMenu::draw_face(dx, color); - if( agui->play_off ) { + if( agui->play_off && agui->vicon_drawing != AVICON_NO_PLAY ) { int lx = get_margin(), ly = get_h()/2; draw_line(lx,ly, get_w()-2*lx,ly); } @@ -3343,7 +3343,7 @@ int AVIconDrawing::draw_face(int dx, int color) } AVIconDrawing::AVIconDrawing(AWindowGUI *agui, int x, int y, int w, const char *text) - : BC_PopupMenu(x-w, y, w, text, -1, 0, 4) + : BC_PopupMenu(x-w, y, w, text, 1, 0, 4) { this->agui = agui; }