#include <bcpopupmenu.h>
Inherits BC_SubWindow.
Inherited by AC3ConfigAudioBitrate, ADriverMenu, AssetListMenu, AssetPopup, AutoTypeMenu, CanvasFullScreenPopup, CanvasPopup, ChannelEditEditFreqtable, ChannelEditEditInput, ChannelEditEditNorm, CompressorInput, CWindowMaskMode, DeInterlaceMode, DenoiseFFTSamples, EditPopup, EXRCompression, FolderListMenu, GlobalSearchPositions, GradientRate, GradientShape, KeyframePopup, LabelPopup, MasterLayer, Mode1, Mode2, Mode3, MPEGABitrate, MPEGColorModel, MPEGDerivative, MPEGLayer, MPEGPreset, NudgePopup, OutputTrack, OverlayDirection, OverlayMode, OverlayOutput, ParametricMode, PipePreset, PlaybackModuleFragment, PluginPopup, RecordGUIModeMenu, RerouteOperation, RerouteOutput, RotationSearchPositions, SwapMenu, SynthWaveForm, TIFFColorspace, TIFFCompression, TimeFrontRate, TimeFrontShape, TimeFrontTrackUsage, TransitionPopup, VDriverMenu, ViewBehaviourText, ViewTheme, VModePatch, and ZoomPopup.

Definition at line 14 of file bcpopupmenu.h.
| BC_PopupMenu::BC_PopupMenu | ( | int | x, | |
| int | y, | |||
| int | w, | |||
| char * | text, | |||
| int | use_title = 1, |
|||
| VFrame ** | data = 0, |
|||
| int | margin = -1 | |||
| ) |
Definition at line 23 of file bcpopupmenu.C.
References BUTTON_UP, BC_WindowBase::get_resources(), highlighted, icon, images, menu_popup, popup_down, BC_Resources::popupmenu_margin, status, TOTAL_IMAGES, and w_argument.

| BC_PopupMenu::BC_PopupMenu | ( | int | x, | |
| int | y, | |||
| char * | text, | |||
| int | use_title = 1, |
|||
| VFrame ** | data = 0 | |||
| ) |
Definition at line 51 of file bcpopupmenu.C.
References BUTTON_UP, highlighted, icon, images, menu_popup, popup_down, status, TOTAL_IMAGES, and w_argument.
| BC_PopupMenu::~BC_PopupMenu | ( | ) | [virtual] |
| int BC_PopupMenu::calculate_h | ( | VFrame ** | data = 0 |
) | [static] |
Definition at line 161 of file bcpopupmenu.C.
References BUTTON_UP, BC_Resources::generic_button_images, VFrame::get_h(), BC_WindowBase::get_resources(), and BC_Resources::popupmenu_images.
Referenced by ConfirmScan::create_objects().

| virtual int BC_PopupMenu::handle_event | ( | ) | [inline, virtual] |
Reimplemented in ChannelEditEditInput, CWindowMaskMode, AC3ConfigAudioBitrate, EXRCompression, MPEGLayer, MPEGABitrate, MPEGPreset, MPEGColorModel, MPEGDerivative, TIFFColorspace, TIFFCompression, PipePreset, ViewBehaviourText, ViewTheme, PlaybackModuleFragment, RecordGUIModeMenu, VModePatch, AutoTypeMenu, ZoomPopup, CompressorInput, DeInterlaceMode, DenoiseFFTSamples, GradientShape, GradientRate, MasterLayer, Mode1, Mode2, Mode3, GlobalSearchPositions, RotationSearchPositions, OverlayMode, OverlayDirection, OverlayOutput, OutputTrack, ParametricMode, RerouteOperation, RerouteOutput, SwapMenu, TimeFrontShape, TimeFrontTrackUsage, and TimeFrontRate.
Definition at line 35 of file bcpopupmenu.h.
Referenced by button_press_event(), BC_MenuItem::dispatch_button_release(), and RecordGUIMode::handle_event().
| char * BC_PopupMenu::get_text | ( | ) |
Definition at line 81 of file bcpopupmenu.C.
References text.
Referenced by button_press_event(), ZoomPanel::get_text(), TimeFrontRate::handle_event(), TimeFrontTrackUsage::handle_event(), TimeFrontShape::handle_event(), RerouteOutput::handle_event(), RerouteOperation::handle_event(), ParametricMode::handle_event(), OutputTrack::handle_event(), OverlayOutput::handle_event(), OverlayDirection::handle_event(), OverlayMode::handle_event(), Mode3::handle_event(), Mode2::handle_event(), Mode1::handle_event(), MasterLayer::handle_event(), RotationSearchPositions::handle_event(), GlobalSearchPositions::handle_event(), GradientRate::handle_event(), GradientShape::handle_event(), DenoiseFFTSamples::handle_event(), DeInterlaceMode::handle_event(), CompressorInput::handle_event(), ZoomPopup::handle_event(), AutoTypeMenu::handle_event(), PlaybackModuleFragment::handle_event(), PipePreset::handle_event(), MPEGColorModel::handle_event(), MPEGPreset::handle_event(), MPEGDerivative::handle_event(), MPEGABitrate::handle_event(), MPEGLayer::handle_event(), AC3ConfigAudioBitrate::handle_event(), CWindowMaskMode::handle_event(), and CompressorWindow::update_textboxes().
| int BC_PopupMenu::initialize | ( | ) | [virtual] |
Reimplemented from BC_SubWindow.
Definition at line 104 of file bcpopupmenu.C.
References data, draw_title(), BC_WindowBase::get_resources(), BC_WindowBase::h, BC_MenuPopup::initialize(), BC_SubWindow::initialize(), menu_popup, set_images(), BC_WindowBase::top_level, use_title, BC_WindowBase::w, BC_WindowBase::x, and BC_WindowBase::y.

| int BC_PopupMenu::add_item | ( | BC_MenuItem * | item | ) |
Definition at line 175 of file bcpopupmenu.C.
References BC_MenuPopup::add_item(), and menu_popup.
Referenced by RecordGUIModeMenu::add_items(), ChannelEditEditFreqtable::add_items(), ChannelEditEditNorm::add_items(), ChannelEditEditInput::add_items(), ZoomPanel::calculate_menu(), TimeFrontRate::create_objects(), TimeFrontTrackUsage::create_objects(), TimeFrontShape::create_objects(), SynthWaveForm::create_objects(), SwapMenu::create_objects(), RerouteOutput::create_objects(), RerouteOperation::create_objects(), ParametricMode::create_objects(), OutputTrack::create_objects(), OverlayOutput::create_objects(), OverlayDirection::create_objects(), OverlayMode::create_objects(), Mode3::create_objects(), Mode2::create_objects(), Mode1::create_objects(), MasterLayer::create_objects(), RotationSearchPositions::create_objects(), GlobalSearchPositions::create_objects(), GradientRate::create_objects(), GradientShape::create_objects(), DenoiseFFTWindow::create_objects(), DeInterlaceMode::create_objects(), CompressorInput::create_objects(), AutoTypeMenu::create_objects(), VModePatch::create_objects(), VDriverMenu::create_objects(), TransitionPopup::create_objects(), RecordMonitorGUI::create_objects(), PluginPopup::create_objects(), PlaybackPrefs::create_objects(), NudgePopup::create_objects(), KeyframePopup::create_objects(), ViewTheme::create_objects(), ViewBehaviourText::create_objects(), YUVConfigVideo::create_objects(), TIFFCompression::create_objects(), TIFFColorspace::create_objects(), MPEGColorModel::create_objects(), MPEGPreset::create_objects(), MPEGDerivative::create_objects(), MPEGLayer::create_objects(), EXRCompression::create_objects(), AC3ConfigAudioBitrate::create_objects(), EditPopup::create_objects(), CWindowMaskMode::create_objects(), CWindowGUI::create_objects(), CanvasPopup::create_objects(), CanvasFullScreenPopup::create_objects(), FolderListMenu::create_objects(), AssetListMenu::create_objects(), LabelPopup::create_objects(), AssetPopup::create_objects(), ADriverMenu::create_objects(), MPEGABitrate::set_layer(), and EditPopup::update().

| int BC_PopupMenu::remove_item | ( | BC_MenuItem * | item | ) |
Definition at line 181 of file bcpopupmenu.C.
References menu_popup, and BC_MenuPopup::remove_item().
Referenced by MPEGABitrate::set_layer(), EditPopup::update(), and ZoomPanel::update_menu().

| int BC_PopupMenu::total_items | ( | ) |
Definition at line 187 of file bcpopupmenu.C.
References menu_popup, and BC_MenuPopup::total_menuitems().
Referenced by MPEGABitrate::set_layer(), VModePatch::update(), and ZoomPanel::update_menu().

| BC_MenuItem * BC_PopupMenu::get_item | ( | int | i | ) |
Definition at line 193 of file bcpopupmenu.C.
References BC_MenuPopup::menu_items, menu_popup, and ArrayList< TYPE >::values.
Referenced by VModePatch::update().
| void BC_PopupMenu::set_text | ( | char * | text | ) |
Definition at line 86 of file bcpopupmenu.C.
References draw_title(), and use_title.
Referenced by button_press_event(), RotationSearchPositions::create_objects(), GlobalSearchPositions::create_objects(), BC_MenuItem::dispatch_button_release(), ZoomTumbler::handle_down_event(), SwapItem::handle_event(), VDriverItem::handle_event(), RecordGUIMode::handle_event(), ViewThemeItem::handle_event(), ViewBehaviourItem::handle_event(), PipePreset::handle_event(), ChannelEditEditFreqItem::handle_event(), ChannelEditEditNormItem::handle_event(), ChannelEditEditInputItem::handle_event(), ADriverItem::handle_event(), ZoomTumbler::handle_up_event(), RecordEngine::run_script(), ZoomPanel::set_text(), ZoomPanel::update(), CWindowMaskGUI::update(), SynthWindow::update_gui(), and CompressorWindow::update_textboxes().

| void BC_PopupMenu::set_icon | ( | BC_Pixmap * | pixmap | ) |
Definition at line 95 of file bcpopupmenu.C.
References draw_title(), menu_popup, and use_title.
Referenced by VModePatch::update(), and VModePatch::VModePatch().

| int BC_PopupMenu::draw_title | ( | ) |
Definition at line 198 of file bcpopupmenu.C.
References BUTTON_DN, BC_WindowBase::draw_3segmenth(), BC_WindowBase::draw_center_text(), BC_WindowBase::draw_pixmap(), BC_WindowBase::draw_top_background(), BC_WindowBase::draw_triangle_down_flat(), BC_WindowBase::flash(), BC_Pixmap::get_h(), BC_WindowBase::get_h(), BC_WindowBase::get_resources(), BC_WindowBase::get_text_ascent(), BC_Pixmap::get_w(), BC_WindowBase::get_w(), BC_WindowBase::h, icon, images, margin, MEDIUMFONT, offset, BC_WindowBase::parent_window, BC_Resources::popupmenu_triangle_margin, BC_WindowBase::resources, BC_WindowBase::set_color(), BC_WindowBase::set_font(), status, text, TRIANGLE_H, TRIANGLE_W, use_title, and BC_WindowBase::w.
Referenced by activate_menu(), button_press_event(), button_release_event(), cursor_enter_event(), cursor_leave_event(), cursor_motion_event(), deactivate(), initialize(), reposition_window(), set_icon(), and set_text().

| int BC_PopupMenu::reposition_window | ( | int | x, | |
| int | y | |||
| ) |
Definition at line 301 of file bcpopupmenu.C.
References draw_title(), and BC_WindowBase::reposition_window().
Referenced by VPatchGUI::reposition(), and ZoomPanel::reposition_window().

| int BC_PopupMenu::deactivate | ( | ) | [virtual] |
Reimplemented from BC_WindowBase.
Definition at line 236 of file bcpopupmenu.C.
References BC_WindowBase::active_popup_menu, BC_MenuPopup::deactivate_menu(), draw_title(), menu_popup, popup_down, BC_WindowBase::top_level, and use_title.
Referenced by button_release_event(), BC_WindowBase::deactivate(), deactivate_menu(), BC_MenuItem::dispatch_button_release(), and focus_out_event().

| int BC_PopupMenu::activate_menu | ( | ) |
Definition at line 249 of file bcpopupmenu.C.
References BC_MenuPopup::activate_menu(), BC_WindowBase::active_popup_menu, button_press_x, button_press_y, button_releases, BC_WindowBase::cursor_x, BC_WindowBase::cursor_y, BC_WindowBase::deactivate(), BC_WindowBase::display, draw_title(), BC_WindowBase::get_abs_cursor_x(), BC_WindowBase::get_abs_cursor_y(), BC_WindowBase::get_h(), BC_WindowBase::get_w(), BC_WindowBase::h, menu_popup, popup_down, BC_WindowBase::rootwin, BC_WindowBase::top_level, use_title, BC_WindowBase::w, BC_WindowBase::win, BC_WindowBase::x, and BC_WindowBase::y.
Referenced by NudgePopup::activate_menu(), button_press_event(), RecordMonitorGUI::button_press_event(), Canvas::button_press_event(), AWindowAssets::button_press_event(), AWindowFolders::button_press_event(), TrackCanvas::do_keyframes(), TrackCanvas::do_plugins(), TrackCanvas::do_tracks(), TrackCanvas::do_transitions(), and AWindowAssets::selection_changed().

| int BC_PopupMenu::deactivate_menu | ( | ) |
Definition at line 294 of file bcpopupmenu.C.
References deactivate().

| int BC_PopupMenu::focus_out_event | ( | ) | [virtual] |
Reimplemented from BC_WindowBase.
Definition at line 308 of file bcpopupmenu.C.
References deactivate().

| int BC_PopupMenu::repeat_event | ( | int64_t | duration | ) | [virtual] |
Reimplemented from BC_WindowBase.
Definition at line 315 of file bcpopupmenu.C.
References BUTTON_HI, BC_WindowBase::get_resources(), BC_WindowBase::show_tooltip(), status, BC_Resources::tooltip_delay, BC_WindowBase::tooltip_done, BC_WindowBase::tooltip_text, and BC_WindowBase::top_level.

| int BC_PopupMenu::button_press_event | ( | ) | [virtual] |
Reimplemented from BC_WindowBase.
Definition at line 329 of file bcpopupmenu.C.
References activate_menu(), BUTTON_DN, BUTTON_HI, BUTTON_UP, BC_MenuPopup::dispatch_button_press(), draw_title(), BC_WindowBase::get_buttonpress(), get_text(), BC_MenuItem::get_text(), handle_event(), BC_MenuItem::handle_event(), BC_WindowBase::hide_tooltip(), BC_WindowBase::is_event_win(), BC_MenuPopup::menu_items, menu_popup, popup_down, set_text(), status, BC_WindowBase::top_level, BC_MenuPopup::total_menuitems(), use_title, and ArrayList< TYPE >::values.

| int BC_PopupMenu::button_release_event | ( | ) | [virtual] |
Reimplemented from BC_WindowBase.
Definition at line 384 of file bcpopupmenu.C.
References BUTTON_DN, BUTTON_HI, button_releases, BC_WindowBase::cursor_inside(), deactivate(), BC_MenuPopup::dispatch_button_release(), draw_title(), BC_WindowBase::event_win, BC_WindowBase::hide_tooltip(), highlighted, BC_WindowBase::is_event_win(), menu_popup, popup_down, status, BC_WindowBase::top_level, use_title, and BC_WindowBase::win.

| int BC_PopupMenu::cursor_leave_event | ( | ) | [virtual] |
Reimplemented from BC_WindowBase.
Definition at line 481 of file bcpopupmenu.C.
References BUTTON_HI, BUTTON_UP, BC_MenuPopup::dispatch_cursor_leave(), draw_title(), BC_WindowBase::hide_tooltip(), menu_popup, popup_down, status, and use_title.

| int BC_PopupMenu::cursor_enter_event | ( | ) | [virtual] |
Reimplemented from BC_WindowBase.
Definition at line 501 of file bcpopupmenu.C.
References BUTTON_DN, BC_WindowBase::button_down, BUTTON_HI, BUTTON_UP, draw_title(), BC_WindowBase::is_event_win(), status, BC_WindowBase::tooltip_done, BC_WindowBase::top_level, and use_title.

| int BC_PopupMenu::cursor_motion_event | ( | ) | [virtual] |
Reimplemented from BC_WindowBase.
Definition at line 519 of file bcpopupmenu.C.
References BC_WindowBase::cursor_inside(), BC_MenuPopup::dispatch_motion_event(), draw_title(), BC_WindowBase::event_win, highlighted, menu_popup, popup_down, BC_WindowBase::top_level, use_title, and BC_WindowBase::win.

| int BC_PopupMenu::translation_event | ( | ) | [virtual] |
Reimplemented from BC_WindowBase.
Definition at line 474 of file bcpopupmenu.C.
References BC_MenuPopup::dispatch_translation_event(), menu_popup, and popup_down.

| int BC_PopupMenu::drag_start_event | ( | ) | [virtual] |
Reimplemented from BC_WindowBase.
Definition at line 553 of file bcpopupmenu.C.
References popup_down.
| int BC_PopupMenu::drag_stop_event | ( | ) | [virtual] |
Reimplemented from BC_WindowBase.
Definition at line 560 of file bcpopupmenu.C.
References popup_down.
| int BC_PopupMenu::drag_motion_event | ( | ) | [virtual] |
Reimplemented from BC_WindowBase.
Definition at line 566 of file bcpopupmenu.C.
References popup_down.
| int BC_PopupMenu::set_images | ( | VFrame ** | data | ) |
Definition at line 139 of file bcpopupmenu.C.
References BC_WindowBase::BC_Pixmap, BUTTON_UP, BC_Pixmap::get_h(), BC_WindowBase::get_resources(), BC_WindowBase::get_text_width(), BC_WindowBase::h, images, margin, MEDIUMFONT, BC_WindowBase::parent_window, BC_Resources::popupmenu_triangle_margin, BC_WindowBase::resources, text, BC_WindowBase::w, and w_argument.
Referenced by initialize().

char BC_PopupMenu::text[BCTEXTLEN] [private] |
Definition at line 66 of file bcpopupmenu.h.
Referenced by draw_title(), get_text(), RerouteOutput::handle_event(), RerouteOperation::handle_event(), OutputTrack::handle_event(), OverlayOutput::handle_event(), OverlayDirection::handle_event(), OverlayMode::handle_event(), PipePreset::handle_event(), and set_images().
int BC_PopupMenu::margin [private] |
VFrame** BC_PopupMenu::data [private] |
BC_Pixmap* BC_PopupMenu::images[9] [private] |
Definition at line 69 of file bcpopupmenu.h.
Referenced by BC_PopupMenu(), draw_title(), set_images(), and ~BC_PopupMenu().
BC_Pixmap* BC_PopupMenu::icon [private] |
int BC_PopupMenu::highlighted [private] |
Definition at line 71 of file bcpopupmenu.h.
Referenced by BC_PopupMenu(), button_release_event(), and cursor_motion_event().
int BC_PopupMenu::popup_down [private] |
Definition at line 72 of file bcpopupmenu.h.
Referenced by activate_menu(), BC_PopupMenu(), button_press_event(), button_release_event(), cursor_leave_event(), cursor_motion_event(), deactivate(), drag_motion_event(), drag_start_event(), drag_stop_event(), and translation_event().
int BC_PopupMenu::use_title [private] |
Definition at line 73 of file bcpopupmenu.h.
Referenced by activate_menu(), button_press_event(), button_release_event(), cursor_enter_event(), cursor_leave_event(), cursor_motion_event(), deactivate(), draw_title(), initialize(), set_icon(), and set_text().
int BC_PopupMenu::button_releases [private] |
Definition at line 74 of file bcpopupmenu.h.
Referenced by activate_menu(), and button_release_event().
BC_MenuPopup* BC_PopupMenu::menu_popup [private] |
Definition at line 75 of file bcpopupmenu.h.
Referenced by activate_menu(), add_item(), BC_PopupMenu(), button_press_event(), button_release_event(), cursor_leave_event(), cursor_motion_event(), deactivate(), get_item(), initialize(), remove_item(), set_icon(), total_items(), translation_event(), and ~BC_PopupMenu().
int BC_PopupMenu::button_press_x [private] |
int BC_PopupMenu::button_press_y [private] |
int BC_PopupMenu::w_argument [private] |
int BC_PopupMenu::status [private] |
Definition at line 79 of file bcpopupmenu.h.
Referenced by BC_PopupMenu(), button_press_event(), button_release_event(), cursor_enter_event(), cursor_leave_event(), draw_title(), and repeat_event().
1.5.5