
Public Member Functions | |
| VideoScopeWindow (VideoScopeEffect *plugin, int x, int y) | |
| ~VideoScopeWindow () | |
| void | calculate_sizes (int w, int h) |
| int | get_label_width () |
| int | get_widget_area_height () |
| void | create_objects () |
| int | close_event () |
| int | resize_event (int w, int h) |
| void | allocate_bitmaps () |
| void | draw_labels () |
Data Fields | |
| VideoScopeEffect * | plugin |
| VideoScopeWaveform * | waveform |
| VideoScopeVectorscope * | vectorscope |
| VideoScopeShow709Limits * | show_709_limits |
| VideoScopeShow601Limits * | show_601_limits |
| VideoScopeShowIRELimits * | show_IRE_limits |
| VideoScopeDrawLinesInverse * | draw_lines_inverse |
| BC_Bitmap * | waveform_bitmap |
| BC_Bitmap * | vector_bitmap |
| int | vector_x |
| int | vector_y |
| int | vector_w |
| int | vector_h |
| int | wave_x |
| int | wave_y |
| int | wave_w |
| int | wave_h |
Definition at line 181 of file videoscope.C.
| VideoScopeWindow::VideoScopeWindow | ( | VideoScopeEffect * | plugin, | |
| int | x, | |||
| int | y | |||
| ) |
| VideoScopeWindow::~VideoScopeWindow | ( | ) |
| void VideoScopeWindow::calculate_sizes | ( | int | w, | |
| int | h | |||
| ) |
Definition at line 362 of file videoscope.C.
References get_label_width(), H_SPACE, MIN, V_INSET, vector_h, vector_w, vector_x, vector_y, wave_h, wave_w, wave_x, and wave_y.
Referenced by create_objects(), and resize_event().

| int VideoScopeWindow::get_label_width | ( | ) |
Definition at line 385 of file videoscope.C.
References BC_WindowBase::get_text_width(), LABEL_WIDTH_SAMPLE, and SMALLFONT.
Referenced by calculate_sizes(), and draw_labels().

| int VideoScopeWindow::get_widget_area_height | ( | ) |
Definition at line 390 of file videoscope.C.
References BC_WindowBase::get_text_height(), MEDIUMFONT, and WIDGET_HSPACE_SAMPLE.
Referenced by create_objects(), and resize_event().

| void VideoScopeWindow::create_objects | ( | ) |
Definition at line 398 of file videoscope.C.
References BC_WindowBase::add_subwindow(), allocate_bitmaps(), VideoScopeVectorscope::calculate_graduations(), VideoScopeWaveform::calculate_graduations(), calculate_sizes(), BC_WindowBase::draw_box(), VideoScopeVectorscope::draw_graduations(), VideoScopeWaveform::draw_graduations(), draw_labels(), draw_lines_inverse, BC_WindowBase::flush(), BC_WindowBase::get_bg_color(), BC_WindowBase::get_h(), BC_WindowBase::get_resources(), BC_WindowBase::get_text_width(), BC_WindowBase::get_w(), get_widget_area_height(), BC_WindowBase::h, MEDIUMFONT, plugin, BC_WindowBase::set_color(), show_601_limits, show_709_limits, show_IRE_limits, BC_WindowBase::show_window(), vector_h, vector_w, vector_x, vector_y, vectorscope, BC_WindowBase::w, wave_h, wave_w, wave_x, wave_y, waveform, WIDGET_HSPACE_SAMPLE, WIDGET_VSPACE, BC_WindowBase::x, and BC_WindowBase::y.

| int VideoScopeWindow::close_event | ( | ) | [virtual] |
Reimplemented from BC_WindowBase.
| int VideoScopeWindow::resize_event | ( | int | w, | |
| int | h | |||
| ) | [virtual] |
Reimplemented from BC_WindowBase.
Definition at line 445 of file videoscope.C.
References allocate_bitmaps(), VideoScopeVectorscope::calculate_graduations(), VideoScopeWaveform::calculate_graduations(), calculate_sizes(), BC_WindowBase::clear_box(), BC_WindowBase::draw_box(), VideoScopeVectorscope::draw_graduations(), VideoScopeWaveform::draw_graduations(), draw_labels(), draw_lines_inverse, BC_WindowBase::flash(), BC_WindowBase::get_bg_color(), BC_WindowBase::get_resources(), get_widget_area_height(), BC_WindowBase::get_x(), VideoScopeEffect::h, plugin, BC_Toggle::reposition_window(), BC_WindowBase::reposition_window(), BC_WindowBase::set_color(), show_601_limits, show_709_limits, show_IRE_limits, vector_h, vector_w, vector_x, vector_y, vectorscope, VideoScopeEffect::w, wave_h, wave_w, wave_x, wave_y, waveform, WIDGET_VSPACE, and BC_WindowBase::y.

| void VideoScopeWindow::allocate_bitmaps | ( | ) |
Definition at line 485 of file videoscope.C.
References BC_WindowBase::new_bitmap(), vector_bitmap, vector_h, vector_w, wave_h, wave_w, and waveform_bitmap.
Referenced by create_objects(), and resize_event().

| void VideoScopeWindow::draw_labels | ( | ) |
Definition at line 566 of file videoscope.C.
References BLUE, BC_WindowBase::draw_center_text(), BC_WindowBase::draw_rectangle(), BC_WindowBase::flash(), BC_WindowBase::flush(), get_label_width(), BC_WindowBase::get_text_ascent(), VideoScopeVectorscope::grads, VideoScopeWaveform::grads, GREEN, VideoScopeGraduation::label, LTGREY, MEDIUMFONT, VideoScopeVectorscope::NUM_GRADS, VideoScopeWaveform::NUM_GRADS, RED, BC_WindowBase::set_color(), BC_WindowBase::set_font(), SMALLFONT, vector_h, vector_w, vector_x, vector_y, vectorscope, wave_h, wave_w, wave_x, wave_y, waveform, and VideoScopeGraduation::y.
Referenced by create_objects(), and resize_event().

Definition at line 197 of file videoscope.C.
Referenced by create_objects(), draw_labels(), VideoScopeEffect::render_gui(), and resize_event().
Definition at line 198 of file videoscope.C.
Referenced by create_objects(), draw_labels(), VideoScopeEffect::render_gui(), and resize_event().
Definition at line 203 of file videoscope.C.
Referenced by allocate_bitmaps(), VideoScopeUnit::render_data(), VideoScopeEffect::render_gui(), VideoScopeWindow(), and ~VideoScopeWindow().
Definition at line 204 of file videoscope.C.
Referenced by allocate_bitmaps(), VideoScopeUnit::render_data(), VideoScopeEffect::render_gui(), VideoScopeWindow(), and ~VideoScopeWindow().
Definition at line 206 of file videoscope.C.
Referenced by calculate_sizes(), create_objects(), draw_labels(), and resize_event().
Definition at line 206 of file videoscope.C.
Referenced by calculate_sizes(), create_objects(), draw_labels(), and resize_event().
Definition at line 206 of file videoscope.C.
Referenced by allocate_bitmaps(), calculate_sizes(), create_objects(), draw_labels(), and resize_event().
Definition at line 206 of file videoscope.C.
Referenced by allocate_bitmaps(), calculate_sizes(), create_objects(), draw_labels(), and resize_event().
Definition at line 207 of file videoscope.C.
Referenced by calculate_sizes(), create_objects(), draw_labels(), and resize_event().
Definition at line 207 of file videoscope.C.
Referenced by calculate_sizes(), create_objects(), draw_labels(), and resize_event().
Definition at line 207 of file videoscope.C.
Referenced by allocate_bitmaps(), calculate_sizes(), create_objects(), draw_labels(), VideoScopeUnit::render_data(), and resize_event().
Definition at line 207 of file videoscope.C.
Referenced by allocate_bitmaps(), calculate_sizes(), create_objects(), draw_labels(), VideoScopeUnit::render_data(), and resize_event().
1.5.5