along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
- $Id$
*/
#ifndef __ardour_location_ui_h__
#define __ardour_location_ui_h__
-#include <gtkmm.h>
+#include <gtkmm/box.h>
+#include <gtkmm/checkbutton.h>
+#include <gtkmm/button.h>
+#include <gtkmm/table.h>
+#include <gtkmm/entry.h>
+#include <gtkmm/label.h>
+
#include <ardour/location.h>
#include <ardour/session.h>
#include "ardour_dialog.h"
-#include "keyboard_target.h"
namespace ARDOUR {
class LocationStack;
void scms_toggled ();
void preemph_toggled ();
- gint entry_focus_event (GdkEventFocus* ev);
-
void end_changed (ARDOUR::Location *);
void start_changed (ARDOUR::Location *);
void name_changed (ARDOUR::Location *);
void set_session (ARDOUR::Session *);
private:
-
-
- ARDOUR::LocationStack *locations;
-
+ ARDOUR::LocationStack* locations;
+
void session_gone();
-
Gtk::VBox location_vpacker;
Gtk::HBox location_hpacker;
void location_removed (ARDOUR::Location *);
void location_added (ARDOUR::Location *);
void map_locations (ARDOUR::Locations::LocationList&);
+
+ protected:
+ bool on_delete_event (GdkEventAny*);
};
#endif // __ardour_location_ui_h__