ardour
Classes | Public Member Functions | Private Member Functions | Private Attributes | List of all members
EditorSnapshots Class Reference

#include <editor_snapshots.h>

Inheritance diagram for EditorSnapshots:
EditorComponent ARDOUR::SessionHandlePtr

Classes

struct  Columns
 

Public Member Functions

 EditorSnapshots (Editor *)
 
void set_session (ARDOUR::Session *)
 
Gtk::Widget & widget ()
 
void redisplay ()
 
- Public Member Functions inherited from EditorComponent
 EditorComponent (Editor *)
 
virtual ~EditorComponent ()
 
- Public Member Functions inherited from ARDOUR::SessionHandlePtr
 SessionHandlePtr (ARDOUR::Session *s)
 
 SessionHandlePtr ()
 
virtual ~SessionHandlePtr ()
 

Private Member Functions

bool button_press (GdkEventButton *)
 
void selection_changed ()
 
void popup_context_menu (int, int32_t, std::string)
 
void remove (std::string)
 
void rename (std::string)
 

Private Attributes

Gtk::ScrolledWindow _scroller
 
Columns _columns
 
Glib::RefPtr< Gtk::ListStore > _model
 
Gtk::TreeView _display
 
Gtk::Menu _menu
 

Additional Inherited Members

- Protected Member Functions inherited from ARDOUR::SessionHandlePtr
virtual void session_going_away ()
 
- Protected Attributes inherited from EditorComponent
Editor_editor
 
- Protected Attributes inherited from ARDOUR::SessionHandlePtr
ARDOUR::Session_session
 
PBD::ScopedConnectionList _session_connections
 

Detailed Description

Definition at line 26 of file editor_snapshots.h.

Constructor & Destructor Documentation

EditorSnapshots::EditorSnapshots ( Editor e)

Definition at line 37 of file editor_snapshots.cc.

Member Function Documentation

bool EditorSnapshots::button_press ( GdkEventButton *  ev)
private

Definition at line 85 of file editor_snapshots.cc.

void EditorSnapshots::popup_context_menu ( int  button,
int32_t  time,
std::string  snapshot_name 
)
private

Pop up the snapshot display context menu.

Parameters
buttonButton used to open the menu.
timeMenu open time.
snapshot_nameName of the snapshot that the menu click was over.

Definition at line 113 of file editor_snapshots.cc.

void EditorSnapshots::redisplay ( )

Definition at line 171 of file editor_snapshots.cc.

void EditorSnapshots::remove ( std::string  name)
private

Definition at line 153 of file editor_snapshots.cc.

void EditorSnapshots::rename ( std::string  old_name)
private

Definition at line 130 of file editor_snapshots.cc.

void EditorSnapshots::selection_changed ( )
private

A new snapshot has been selected.

Definition at line 64 of file editor_snapshots.cc.

void EditorSnapshots::set_session ( ARDOUR::Session s)
virtual

Reimplemented from ARDOUR::SessionHandlePtr.

Definition at line 54 of file editor_snapshots.cc.

Gtk::Widget& EditorSnapshots::widget ( )
inline

Definition at line 33 of file editor_snapshots.h.

Member Data Documentation

Columns EditorSnapshots::_columns
private

Definition at line 52 of file editor_snapshots.h.

Gtk::TreeView EditorSnapshots::_display
private

Definition at line 54 of file editor_snapshots.h.

Gtk::Menu EditorSnapshots::_menu
private

Definition at line 55 of file editor_snapshots.h.

Glib::RefPtr<Gtk::ListStore> EditorSnapshots::_model
private

Definition at line 53 of file editor_snapshots.h.

Gtk::ScrolledWindow EditorSnapshots::_scroller
private

Definition at line 41 of file editor_snapshots.h.


The documentation for this class was generated from the following files: