#include <bcbutton.h>
Inherits BC_SubWindow.
Inherited by AVC1394GUIFForward, AVC1394GUIPause, AVC1394GUIPlay, AVC1394GUIReverse, AVC1394GUIRewind, AVC1394GUISeekEnd, AVC1394GUISeekStart, AVC1394GUIStop, AWindowAppend, AWindowDeleteDisk, AWindowDeleteFolder, AWindowDeleteProject, AWindowInfo, AWindowNewFolder, AWindowPaste, AWindowRedrawIndex, AWindowRenameFolder, AWindowView, BC_CancelButton, BC_FileBoxDelete, BC_FileBoxIcons, BC_FileBoxNewfolder, BC_FileBoxReload, BC_FileBoxText, BC_FileBoxUpdir, BC_FileBoxUseThis, BC_GenericButton, BC_OKButton, BrowseButton, CanvasTool, ChannelButton, CWindowCameraBottom, CWindowCameraCenter, CWindowCameraLeft, CWindowCameraMiddle, CWindowCameraRight, CWindowCameraTop, CWindowProjectorBottom, CWindowProjectorCenter, CWindowProjectorLeft, CWindowProjectorMiddle, CWindowProjectorRight, CWindowProjectorTop, CWindowReset, EditAppend, EditCopy, EditCut, EditDelInPoint, EditDelOutPoint, EditExtract, EditFit, EditFitAutos, EditInPoint, EditInsert, EditLabelbutton, EditLift, EditManualGoto, EditNextLabel, EditOutPoint, EditOverwrite, EditPaste, EditPresentation, EditPrevLabel, EditRedo, EditSplice, EditToClip, EditTransition, EditUndo, FormatAParams, FormatSwapExtents, FormatVParams, LiveChannelSelect, MeterReset, NewSwapExtents, NextLabel, PrevLabel, PTransportButton, RecordGUIBack, RecordGUIDCOffset, RecordGUIEnd, RecordGUIFwd, RecordGUIPlay, RecordGUIRec, RecordGUIRecFrame, RecordGUIReset, RecordGUIResetTranslation, RecordGUIRewind, RecordGUISave, RecordGUIStop, ReIndexCancelButton, ReIndexOkButton, ResizeTrackSwap, StatusBarCancel, TipClose, TipNext, and TipPrev.

Public Member Functions | |
| BC_Button (int x, int y, VFrame **data) | |
| BC_Button (int x, int y, int w, VFrame **data) | |
| virtual | ~BC_Button () |
| virtual int | handle_event () |
| int | repeat_event (int64_t repeat_id) |
| virtual int | draw_face () |
| void | disable () |
| void | enable () |
| int | initialize () |
| virtual int | set_images (VFrame **data) |
| int | cursor_enter_event () |
| int | cursor_leave_event () |
| int | button_press_event () |
| int | button_release_event () |
| int | cursor_motion_event () |
| int | update_bitmaps (VFrame **data) |
| int | reposition_window (int x, int y) |
| void | set_underline (int number) |
Private Attributes | |
| BC_Pixmap * | images [3] |
| VFrame ** | data |
| int | status |
| int | w_argument |
| int | underline_number |
| int | enabled |
Friends | |
| class | BC_GenericButton |
Definition at line 11 of file bcbutton.h.
| BC_Button::BC_Button | ( | int | x, | |
| int | y, | |||
| VFrame ** | data | |||
| ) |
Definition at line 19 of file bcbutton.C.
References BUTTON_UP, enabled, images, status, underline_number, and w_argument.
| BC_Button::BC_Button | ( | int | x, | |
| int | y, | |||
| int | w, | |||
| VFrame ** | data | |||
| ) |
Definition at line 33 of file bcbutton.C.
References BUTTON_UP, enabled, images, status, underline_number, and w_argument.
| BC_Button::~BC_Button | ( | ) | [virtual] |
| virtual int BC_Button::handle_event | ( | ) | [inline, virtual] |
Reimplemented in AVC1394GUISeekStart, AVC1394GUIRewind, AVC1394GUIReverse, AVC1394GUIStop, AVC1394GUIPause, AVC1394GUIPlay, AVC1394GUIFForward, AVC1394GUISeekEnd, AWindowNewFolder, AWindowDeleteFolder, AWindowRenameFolder, AWindowDeleteDisk, AWindowDeleteProject, AWindowInfo, AWindowRedrawIndex, AWindowPaste, AWindowAppend, AWindowView, BatchRenderNew, BatchRenderDelete, BatchRenderSaveList, BatchRenderLoadList, BatchRenderStart, BatchRenderStop, BatchRenderCancel, BrowseButton, ChannelEditSelect, ChannelEditAdd, ChannelEditMoveUp, ChannelEditMoveDown, ChannelEditSort, ChannelEditScan, ChannelEditDel, ChannelEdit, ChannelEditPicture, ChannelButton, ConfirmQuitYesButton, ConfirmQuitNoButton, ConfirmQuitCancelButton, CWindowReset, CWindowCropOK, CWindowMaskDelete, CWindowMaskCycleNext, CWindowMaskCyclePrev, CWindowCameraLeft, CWindowCameraCenter, CWindowCameraRight, CWindowCameraTop, CWindowCameraMiddle, CWindowCameraBottom, CWindowProjectorLeft, CWindowProjectorCenter, CWindowProjectorRight, CWindowProjectorTop, CWindowProjectorMiddle, CWindowProjectorBottom, DeleteAllIndexes, EditHandle, EditHandleIn, EditHandleOut, EditInPoint, EditOutPoint, EditDelInPoint, EditDelOutPoint, EditSplice, EditOverwrite, EditLift, EditExtract, EditToClip, EditManualGoto, EditCut, EditCopy, EditAppend, EditInsert, EditPaste, EditTransition, EditPresentation, EditUndo, EditRedo, EditLabelbutton, EditFit, EditFitAutos, EditPrevLabel, EditNextLabel, FormatAParams, FormatVParams, KeyframeHandle, PrevLabel, NextLabel, MenuEffectWindowOK, MenuEffectWindowCancel, MeterReset, NewSwapExtents, PrefsRenderFarmNewNode, PrefsRenderFarmReplaceNode, PrefsRenderFarmDelNode, PrefsRenderFarmSortNodes, PrefsRenderFarmReset, RewindButton, FastReverseButton, ReverseButton, FrameReverseButton, PlayButton, FramePlayButton, FastPlayButton, EndButton, StopButton, PreferencesButton, PreferencesApply, PreferencesOK, PreferencesCancel, QuestionYesButton, QuestionNoButton, RecordGUISave, RecordGUICancel, RecordGUIOK, RecordGUIStartBatches, RecordGUIStopbatches, RecordGUIActivateBatch, RecordGUIStartOver, RecordGUINewBatch, RecordGUIDeleteBatch, RecordGUILabel, RecordGUIDCOffset, RecordGUIReset, RecordGUIResetTranslation, RecordGUIRec, RecordGUIRecFrame, RecordGUIPlay, RecordGUIStop, RecordGUIRewind, RecordGUIBack, RecordGUIFwd, RecordGUIEnd, ReIndexOkButton, ReIndexCancelButton, SaveRenderProfileButton, DeleteRenderProfileButton, ResizeTrackSwap, SetFormatApply, FormatSwapExtents, StatusBarCancel, TipNext, TipPrev, TipClose, TransitionHandle, BC_OKTextButton, BC_CancelTextButton, BC_OKButton, BC_CancelButton, BC_FileBoxOK, BC_FileBoxUseThis, BC_FileBoxCancel, BC_FileBoxText, BC_FileBoxIcons, BC_FileBoxNewfolder, BC_FileBoxUpdir, BC_FileBoxDelete, BC_FileBoxReload, ChromaKeyColor, ChromaKeyUseColorPicker, ChromaKeyColor, ChromaKeyUseColorPicker, ColorBalanceWhite, ColorBalanceReset, CompressorClear, GammaColorPicker, GradientInColorButton, GradientOutColorButton, HistogramReset, LiveChannelSelect, PerspectiveReset, ShapeWipeBrowseButton, NewSvgButton, EditSvgButton, SynthAddOsc, SynthDelOsc, SynthClear, ThresholdLowColorButton, ThresholdMidColorButton, ThresholdHighColorButton, TitleColorButton, and TitleColorStrokeButton.
Definition at line 20 of file bcbutton.h.
Referenced by button_release_event().
| int BC_Button::repeat_event | ( | int64_t | repeat_id | ) | [virtual] |
Reimplemented from BC_WindowBase.
Definition at line 135 of file bcbutton.C.
References BUTTON_UPHI, 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_Button::draw_face | ( | ) | [virtual] |
Reimplemented in BC_GenericButton.
Definition at line 121 of file bcbutton.C.
References BC_Pixmap::draw_pixmap(), BC_WindowBase::draw_top_background(), BC_WindowBase::flash(), BC_WindowBase::h, images, BC_WindowBase::parent_window, BC_WindowBase::pixmap, status, and BC_WindowBase::w.
Referenced by button_press_event(), button_release_event(), cursor_enter_event(), cursor_leave_event(), cursor_motion_event(), disable(), enable(), initialize(), reposition_window(), EditHandles::update(), and update_bitmaps().

| void BC_Button::disable | ( | ) |
Definition at line 92 of file bcbutton.C.
References draw_face(), and enabled.
Referenced by BatchRenderThread::start_rendering().

| void BC_Button::enable | ( | ) |
Definition at line 86 of file bcbutton.C.
References draw_face(), and enabled.
Referenced by BatchRenderThread::start_rendering(), BatchRenderThread::test_edl_files(), and BatchRenderThread::update_done().

| int BC_Button::initialize | ( | ) | [virtual] |
Reimplemented from BC_SubWindow.
Definition at line 56 of file bcbutton.C.
References data, draw_face(), BC_SubWindow::initialize(), and set_images().

| int BC_Button::set_images | ( | VFrame ** | data | ) | [virtual] |
Reimplemented in BC_GenericButton.
Definition at line 104 of file bcbutton.C.
References BC_WindowBase::BC_Pixmap, BUTTON_UP, BC_Pixmap::get_h(), BC_Pixmap::get_w(), BC_WindowBase::h, images, BC_WindowBase::parent_window, BC_WindowBase::w, and w_argument.
Referenced by initialize(), and update_bitmaps().

| int BC_Button::cursor_enter_event | ( | ) | [virtual] |
Reimplemented from BC_WindowBase.
Definition at line 149 of file bcbutton.C.
References BC_WindowBase::button_down, BUTTON_DOWNHI, BUTTON_UP, BUTTON_UPHI, draw_face(), enabled, BC_WindowBase::event_win, status, BC_WindowBase::tooltip_done, BC_WindowBase::top_level, and BC_WindowBase::win.

| int BC_Button::cursor_leave_event | ( | ) | [virtual] |
Reimplemented from BC_WindowBase.
Definition at line 165 of file bcbutton.C.
References BUTTON_UP, BUTTON_UPHI, draw_face(), BC_WindowBase::hide_tooltip(), and status.

| int BC_Button::button_press_event | ( | ) | [virtual] |
Reimplemented from BC_WindowBase.
Definition at line 179 of file bcbutton.C.
References BUTTON_DOWNHI, BUTTON_UP, BUTTON_UPHI, draw_face(), enabled, BC_WindowBase::event_win, BC_WindowBase::get_buttonpress(), BC_WindowBase::hide_tooltip(), status, BC_WindowBase::top_level, and BC_WindowBase::win.

| int BC_Button::button_release_event | ( | ) | [virtual] |
Reimplemented from BC_WindowBase.
Definition at line 191 of file bcbutton.C.
References BUTTON_DOWNHI, BUTTON_UPHI, BC_WindowBase::cursor_inside(), draw_face(), BC_WindowBase::event_win, handle_event(), BC_WindowBase::hide_tooltip(), status, BC_WindowBase::top_level, and BC_WindowBase::win.

| int BC_Button::cursor_motion_event | ( | ) | [virtual] |
Reimplemented from BC_WindowBase.
Definition at line 211 of file bcbutton.C.
References BC_WindowBase::button_down, BUTTON_DOWNHI, BUTTON_UP, BC_WindowBase::cursor_inside(), draw_face(), BC_WindowBase::event_win, status, BC_WindowBase::top_level, and BC_WindowBase::win.

| int BC_Button::update_bitmaps | ( | VFrame ** | data | ) |
Definition at line 77 of file bcbutton.C.
References draw_face(), BC_WindowBase::draw_top_background(), BC_WindowBase::h, BC_WindowBase::parent_window, set_images(), and BC_WindowBase::w.

| int BC_Button::reposition_window | ( | int | x, | |
| int | y | |||
| ) |
Definition at line 69 of file bcbutton.C.
References draw_face(), and BC_WindowBase::reposition_window().
Referenced by PlayTransport::flip_vertical(), ChannelPicker::reposition(), PlayTransport::reposition_buttons(), EditPanel::reposition_buttons(), RecordTransport::reposition_window(), FormatTools::reposition_window(), AVC1394Transport::reposition_window(), TitleWindow::resize_event(), LiveVideoWindow::resize_event(), BC_FileBox::resize_event(), BC_CancelTextButton::resize_event(), BC_OKTextButton::resize_event(), BC_CancelButton::resize_event(), BC_OKButton::resize_event(), StatusBar::resize_event(), BatchRenderGUI::resize_event(), TransitionHandles::update(), and EditHandles::update().

| void BC_Button::set_underline | ( | int | number | ) |
Definition at line 99 of file bcbutton.C.
References underline_number.
Referenced by ConfirmQuitNoButton::ConfirmQuitNoButton(), ConfirmQuitYesButton::ConfirmQuitYesButton(), QuestionNoButton::QuestionNoButton(), QuestionYesButton::QuestionYesButton(), and RecordGUILabel::RecordGUILabel().
friend class BC_GenericButton [friend] |
BC_Pixmap* BC_Button::images[3] [private] |
Definition at line 40 of file bcbutton.h.
Referenced by BC_Button(), BC_GenericButton::draw_face(), draw_face(), BC_GenericButton::set_images(), set_images(), and ~BC_Button().
VFrame** BC_Button::data [private] |
int BC_Button::status [private] |
Definition at line 42 of file bcbutton.h.
Referenced by BC_Button(), button_press_event(), button_release_event(), cursor_enter_event(), cursor_leave_event(), cursor_motion_event(), BC_GenericButton::draw_face(), draw_face(), and repeat_event().
int BC_Button::w_argument [private] |
Definition at line 43 of file bcbutton.h.
Referenced by BC_Button(), BC_GenericButton::set_images(), and set_images().
int BC_Button::underline_number [private] |
Definition at line 44 of file bcbutton.h.
Referenced by BC_Button(), BC_GenericButton::draw_face(), and set_underline().
int BC_Button::enabled [private] |
Definition at line 45 of file bcbutton.h.
Referenced by BC_Button(), button_press_event(), cursor_enter_event(), disable(), BC_GenericButton::draw_face(), and enable().
1.5.5