- add_subwindow(new_label =
- new LabelGUI(mwindow,
- this,
- pixel,
- LabelGUI::get_y(mwindow, this),
+ add_subwindow(new_label = new LabelGUI(mwindow, this,
+ pixel, LabelGUI::get_y(mwindow, this),
current->position));
new_label->set_cursor(INHERIT_CURSOR, 0, 0);
new_label->set_tooltip(current->textstr);
new_label->label = current;
labels.append(new_label);
}
current->position));
new_label->set_cursor(INHERIT_CURSOR, 0, 0);
new_label->set_tooltip(current->textstr);
new_label->label = current;
labels.append(new_label);
}
CLAMP(in_x, 0, get_w());
CLAMP(out_x, 0, get_w());
set_color(mwindow->theme->inout_highlight_color);
CLAMP(in_x, 0, get_w());
CLAMP(out_x, 0, get_w());
set_color(mwindow->theme->inout_highlight_color);
set_line_width(lw);
set_inverse();
draw_line(in_x, get_h()-2*lw, out_x, get_h()-2*lw);
set_line_width(lw);
set_inverse();
draw_line(in_x, get_h()-2*lw, out_x, get_h()-2*lw);
//printf("TimeBar::draw_range %d %p\n", __LINE__, get_edl());
if( has_preview() && get_edl() ) {
int x1, x2;
get_preview_pixels(x1, x2);
//printf("TimeBar::draw_range %d %p\n", __LINE__, get_edl());
if( has_preview() && get_edl() ) {
int x1, x2;
get_preview_pixels(x1, x2);
draw_3segmenth(0, 0, x1, mwindow->theme->timebar_view_data);
draw_top_background(get_parent(), x1, 0, x2 - x1, get_h());
draw_3segmenth(x2, 0, get_w() - x2, mwindow->theme->timebar_view_data);
draw_3segmenth(0, 0, x1, mwindow->theme->timebar_view_data);
draw_top_background(get_parent(), x1, 0, x2 - x1, get_h());
draw_3segmenth(x2, 0, get_w() - x2, mwindow->theme->timebar_view_data);
mwindow->gui->hide_cursor(0);
mwindow->gui->draw_cursor(1);
mwindow->gui->flash_canvas(0);
mwindow->gui->activate_timeline();
mwindow->gui->zoombar->update();
mwindow->gui->unlock_window();
mwindow->gui->hide_cursor(0);
mwindow->gui->draw_cursor(1);
mwindow->gui->flash_canvas(0);
mwindow->gui->activate_timeline();
mwindow->gui->zoombar->update();
mwindow->gui->unlock_window();