#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().
