#include <Selection.h>
Definition at line 24 of file Selection.h.
Public Member Functions | |
| Selection () | |
| Selection (size_t startFrame, size_t endFrame) | |
| Selection (const Selection &) | |
| Selection & | operator= (const Selection &) |
| virtual | ~Selection () |
| bool | isEmpty () const |
| size_t | getStartFrame () const |
| size_t | getEndFrame () const |
| bool | contains (size_t frame) const |
| bool | operator< (const Selection &) const |
| bool | operator== (const Selection &) const |
Protected Attributes | |
| size_t | m_startFrame |
| size_t | m_endFrame |
| Selection::Selection | ( | ) |
Definition at line 19 of file Selection.cpp.
| Selection::Selection | ( | size_t | startFrame, | |
| size_t | endFrame | |||
| ) |
| Selection::Selection | ( | const Selection & | ) |
Definition at line 36 of file Selection.cpp.
| Selection::~Selection | ( | ) | [virtual] |
Definition at line 52 of file Selection.cpp.
| bool Selection::isEmpty | ( | ) | const |
Definition at line 57 of file Selection.cpp.
References m_endFrame, and m_startFrame.
Referenced by Pane::editSelectionDrag(), Pane::editSelectionEnd(), Pane::editSelectionStart(), Pane::getSelectionAt(), ViewManager::haveInProgressSelection(), AudioCallbackPlaySource::mixModels(), operator<(), operator==(), Pane::selectionIsBeingEdited(), Pane::updateContextHelp(), and MainWindow::updateVisibleRangeDisplay().
| size_t Selection::getStartFrame | ( | ) | const |
Definition at line 63 of file Selection.cpp.
References m_startFrame.
Referenced by TimeValueLayer::copy(), TimeInstantLayer::copy(), TextLayer::copy(), NoteLayer::copy(), ImageLayer::copy(), TimeValueLayer::deleteSelection(), TimeInstantLayer::deleteSelection(), TextLayer::deleteSelection(), NoteLayer::deleteSelection(), ImageLayer::deleteSelection(), Pane::drawEditingSelection(), Pane::editSelectionEnd(), Pane::getSelectionAt(), AudioCallbackPlaySource::mixModels(), Pane::mouseReleaseEvent(), TimeValueLayer::moveSelection(), TimeInstantLayer::moveSelection(), TextLayer::moveSelection(), NoteLayer::moveSelection(), ImageLayer::moveSelection(), TimeValueLayer::resizeSelection(), TimeInstantLayer::resizeSelection(), TextLayer::resizeSelection(), NoteLayer::resizeSelection(), ImageLayer::resizeSelection(), and MainWindow::updateVisibleRangeDisplay().
| size_t Selection::getEndFrame | ( | ) | const |
Definition at line 69 of file Selection.cpp.
References m_endFrame.
Referenced by TimeValueLayer::copy(), TimeInstantLayer::copy(), TextLayer::copy(), NoteLayer::copy(), ImageLayer::copy(), TimeValueLayer::deleteSelection(), TimeInstantLayer::deleteSelection(), TextLayer::deleteSelection(), NoteLayer::deleteSelection(), ImageLayer::deleteSelection(), Pane::drawEditingSelection(), Pane::editSelectionEnd(), Pane::getSelectionAt(), AudioCallbackPlaySource::mixModels(), Pane::mouseReleaseEvent(), TimeValueLayer::moveSelection(), TimeInstantLayer::moveSelection(), TextLayer::moveSelection(), NoteLayer::moveSelection(), ImageLayer::moveSelection(), TimeValueLayer::resizeSelection(), TimeInstantLayer::resizeSelection(), TextLayer::resizeSelection(), NoteLayer::resizeSelection(), ImageLayer::resizeSelection(), and MainWindow::updateVisibleRangeDisplay().
| bool Selection::contains | ( | size_t | frame | ) | const |
Definition at line 75 of file Selection.cpp.
References m_endFrame, and m_startFrame.
Referenced by TimeValueLayer::copy(), TimeInstantLayer::copy(), TextLayer::copy(), NoteLayer::copy(), ImageLayer::copy(), TimeValueLayer::deleteSelection(), TimeInstantLayer::deleteSelection(), TextLayer::deleteSelection(), NoteLayer::deleteSelection(), ImageLayer::deleteSelection(), TimeValueLayer::moveSelection(), TimeInstantLayer::moveSelection(), TextLayer::moveSelection(), NoteLayer::moveSelection(), ImageLayer::moveSelection(), TimeValueLayer::resizeSelection(), TimeInstantLayer::resizeSelection(), TextLayer::resizeSelection(), NoteLayer::resizeSelection(), and ImageLayer::resizeSelection().
| bool Selection::operator< | ( | const Selection & | ) | const |
| bool Selection::operator== | ( | const Selection & | ) | const |
size_t Selection::m_startFrame [protected] |
Definition at line 42 of file Selection.h.
Referenced by contains(), getStartFrame(), isEmpty(), operator<(), operator=(), operator==(), and Selection().
size_t Selection::m_endFrame [protected] |
Definition at line 43 of file Selection.h.
Referenced by contains(), getEndFrame(), isEmpty(), operator=(), operator==(), and Selection().
1.5.1