mirror of
https://github.com/cookiengineer/audacity
synced 2025-06-16 16:10:06 +02:00
Move declarations in CellularPanel, keep abstract functions together
This commit is contained in:
parent
370d3e6338
commit
648d7ddb73
@ -48,6 +48,20 @@ public:
|
|||||||
// area into cells
|
// area into cells
|
||||||
virtual std::shared_ptr<TrackPanelNode> Root() = 0;
|
virtual std::shared_ptr<TrackPanelNode> Root() = 0;
|
||||||
|
|
||||||
|
virtual TrackPanelCell *GetFocusedCell() = 0;
|
||||||
|
virtual void SetFocusedCell() = 0;
|
||||||
|
|
||||||
|
virtual void ProcessUIHandleResult
|
||||||
|
(TrackPanelCell *pClickedCell, TrackPanelCell *pLatestCell,
|
||||||
|
unsigned refreshResult) = 0;
|
||||||
|
|
||||||
|
virtual void UpdateStatusMessage( const wxString & ) = 0;
|
||||||
|
|
||||||
|
// Whether this panel keeps focus after a click and drag, or only borrows
|
||||||
|
// it.
|
||||||
|
virtual bool TakesFocus() const = 0;
|
||||||
|
|
||||||
|
public:
|
||||||
// Structure and functions for generalized visitation of the subdivision
|
// Structure and functions for generalized visitation of the subdivision
|
||||||
struct Visitor {
|
struct Visitor {
|
||||||
virtual ~Visitor();
|
virtual ~Visitor();
|
||||||
@ -70,20 +84,6 @@ public:
|
|||||||
void VisitPreorder( const SimpleNodeVisitor &visitor );
|
void VisitPreorder( const SimpleNodeVisitor &visitor );
|
||||||
void VisitPostorder( const SimpleNodeVisitor &visitor );
|
void VisitPostorder( const SimpleNodeVisitor &visitor );
|
||||||
|
|
||||||
virtual TrackPanelCell *GetFocusedCell() = 0;
|
|
||||||
virtual void SetFocusedCell() = 0;
|
|
||||||
|
|
||||||
virtual void ProcessUIHandleResult
|
|
||||||
(TrackPanelCell *pClickedCell, TrackPanelCell *pLatestCell,
|
|
||||||
unsigned refreshResult) = 0;
|
|
||||||
|
|
||||||
virtual void UpdateStatusMessage( const wxString & ) = 0;
|
|
||||||
|
|
||||||
// Whether this panel keeps focus after a click and drag, or only borrows
|
|
||||||
// it.
|
|
||||||
virtual bool TakesFocus() const = 0;
|
|
||||||
|
|
||||||
public:
|
|
||||||
// Find cell by coordinate
|
// Find cell by coordinate
|
||||||
struct FoundCell {
|
struct FoundCell {
|
||||||
std::shared_ptr< TrackPanelCell > pCell;
|
std::shared_ptr< TrackPanelCell > pCell;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user