#include "gtkmm2ext/window_title.h"
#include "widgets/fastmeter.h"
+#include "widgets/prompter.h"
#include "ardour/ardour.h"
#include "ardour/audio_backend.h"
#include "opts.h"
#include "pingback.h"
#include "processor_box.h"
-#include "prompter.h"
#include "public_editor.h"
#include "rc_option_editor.h"
#include "route_time_axis.h"
bool
-ARDOUR_UI::process_snapshot_session_prompter (ArdourPrompter& prompter, bool switch_to_it)
+ARDOUR_UI::process_snapshot_session_prompter (Prompter& prompter, bool switch_to_it)
{
string snapname;
void
ARDOUR_UI::snapshot_session (bool switch_to_it)
{
- ArdourPrompter prompter (true);
+ Prompter prompter (true);
prompter.set_name ("Prompter");
prompter.add_button (Gtk::Stock::SAVE, Gtk::RESPONSE_ACCEPT);
return;
}
- ArdourPrompter prompter (true);
+ Prompter prompter (true);
string name;
prompter.set_name ("Prompter");
}
bool
-ARDOUR_UI::process_save_template_prompter (ArdourPrompter& prompter)
+ARDOUR_UI::process_save_template_prompter (Prompter& prompter)
{
string name;
void
ARDOUR_UI::save_template ()
{
- ArdourPrompter prompter (true);
+ Prompter prompter (true);
if (!check_audioengine (_main_window)) {
return;
class DuplicateRouteDialog;
class MainClock;
class Mixer_UI;
-class ArdourPrompter;
class PublicEditor;
class SaveAsDialog;
class SessionDialog;
}
namespace ArdourWidgets {
+ class Prompter;
class Tabbable;
}
void open_session ();
void open_recent_session ();
- bool process_save_template_prompter (ArdourPrompter& prompter);
+ bool process_save_template_prompter (ArdourWidgets::Prompter& prompter);
void save_template ();
void manage_templates ();
guint32 last_key_press_time;
- bool process_snapshot_session_prompter (ArdourPrompter& prompter, bool switch_to_it);
+ bool process_snapshot_session_prompter (ArdourWidgets::Prompter& prompter, bool switch_to_it);
void snapshot_session (bool switch_to_it);
void quick_snapshot_session (bool switch_to_it); //does not promtp for name, just makes a timestamped file
#include "automation_time_axis.h"
#include "keyboard.h"
#include "playlist_selector.h"
-#include "prompter.h"
#include "public_editor.h"
#include "audio_region_view.h"
#include "audio_streamview.h"
#include "ardour/session_handle.h"
#include "gui_object.h"
-#include "prompter.h"
#include "selectable.h"
namespace PBD {
#include "canvas/item.h"
#include "canvas/rectangle.h"
+#include "widgets/prompter.h"
+
#include "editor.h"
#include "marker.h"
#include "selection.h"
#include "editing.h"
#include "gui_thread.h"
#include "actions.h"
-#include "prompter.h"
#include "editor_drag.h"
#include "pbd/i18n.h"
return;
}
- ArdourPrompter dialog (true);
+ ArdourWidgets::Prompter dialog (true);
string txt;
dialog.set_prompt (_("New Name:"));
#include "ardour/session.h"
#include "ardour/types.h"
+#include "widgets/prompter.h"
+
#include "actions.h"
#include "ardour_ui.h"
#include "editor.h"
#include "region_gain_line.h"
#include "automation_time_axis.h"
#include "control_point.h"
-#include "prompter.h"
#include "selection.h"
#include "keyboard.h"
#include "editing.h"
{
using namespace Gtkmm2ext;
- ArdourPrompter prompter (false);
+ ArdourWidgets::Prompter prompter (false);
prompter.set_prompt (_("Name for region:"));
prompter.set_initial_text (clicked_regionview->region()->name());
#include "widgets/choice.h"
#include "widgets/popup.h"
+#include "widgets/prompter.h"
#include "ardour/audio_track.h"
#include "ardour/audioregion.h"
return true;
}
- ArdourPrompter dialog (true);
+ Prompter dialog (true);
dialog.set_prompt (_("New Name:"));
#include "gui_thread.h"
#include "keyboard.h"
#include "marker.h"
-#include "prompter.h"
#include "route_group_dialog.h"
#include "route_time_axis.h"
#include "time_axis_view.h"
#include "ardour/session_directory.h"
#include "widgets/choice.h"
+#include "widgets/prompter.h"
#include "editor_snapshots.h"
#include "ardour_ui.h"
#include "pbd/i18n.h"
#include "utils.h"
-#include "prompter.h"
using namespace std;
using namespace PBD;
void
EditorSnapshots::rename (std::string old_name)
{
- ArdourPrompter prompter(true);
+ ArdourWidgets::Prompter prompter(true);
string new_name;
#include "widgets/slider_controller.h"
#include "widgets/tooltips.h"
-#include "prompter.h"
#include "plugin_ui.h"
#include "gui_thread.h"
#include "automation_controller.h"
#include "gui_thread.h"
#include "keyboard.h"
#include "location_ui.h"
-#include "prompter.h"
#include "utils.h"
#include "public_editor.h"
#include "ui_config.h"
#include "plugin_selector.h"
#include "plugin_ui.h"
#include "point_selection.h"
-#include "prompter.h"
#include "region_view.h"
#include "rgb_macros.h"
#include "selection.h"
#include "public_editor.h"
#include "mouse_cursors.h"
#include "ardour_ui.h"
-#include "prompter.h"
#include "utils.h"
#include "route_sorter.h"
#include "actions.h"
#include "ardour_window.h"
#include "ardour_ui.h"
-#include "prompter.h"
#include "plugin_ui.h"
#include "utils.h"
#include "gui_thread.h"
#include "gtkmm2ext/rgb_macros.h"
#include "widgets/choice.h"
+#include "widgets/prompter.h"
#include "widgets/tooltips.h"
#include "ardour/amp.h"
void
ProcessorBox::rename_processor (boost::shared_ptr<Processor> processor)
{
- ArdourPrompter name_prompter (true);
+ Prompter name_prompter (true);
string result;
name_prompter.set_title (_("Rename Processor"));
name_prompter.set_prompt (_("New name:"));
+++ /dev/null
-/*
- Copyright (C) 2002 Paul Davis
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2 of the License, or
- (at your option) any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-
-*/
-
-#include "prompter.h"
-
-ArdourPrompter::ArdourPrompter (bool modal)
- : ArdourWidgets::Prompter (modal)
-{
-}
-
+++ /dev/null
-/*
- Copyright (C) 2002 Paul Davis
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2 of the License, or
- (at your option) any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-
-*/
-
-#ifndef __ardour_gtk_prompter_h__
-#define __ardour_gtk_prompter_h__
-
-#include "widgets/prompter.h"
-
-class ArdourPrompter : public ArdourWidgets::Prompter
-{
-public:
- ArdourPrompter (bool modal = false);
-};
-
-#endif /* __ardour_gtk_prompter_h__ */
#include "gtkmm2ext/utils.h"
#include "widgets/ardour_button.h"
+#include "widgets/prompter.h"
#include "widgets/tooltips.h"
#include "ardour_ui.h"
#include "paste_context.h"
#include "playlist_selector.h"
#include "point_selection.h"
-#include "prompter.h"
#include "public_editor.h"
#include "region_view.h"
#include "rgb_macros.h"
void
RouteTimeAxisView::rename_current_playlist ()
{
- ArdourPrompter prompter (true);
+ Prompter prompter (true);
string name;
boost::shared_ptr<Track> tr = track();
// TODO: The prompter "new" button should be de-activated if the user
// specifies a playlist name which already exists in the session.
- ArdourPrompter prompter (true);
+ Prompter prompter (true);
if (copy) {
prompter.set_title (_("New Copy Playlist"));
#include "widgets/ardour_button.h"
#include "widgets/binding_proxy.h"
+#include "widgets/prompter.h"
#include "ardour_dialog.h"
#include "ardour_ui.h"
#include "latency_gui.h"
#include "mixer_strip.h"
#include "plugin_pin_dialog.h"
-#include "prompter.h"
#include "rgb_macros.h"
#include "route_time_axis.h"
#include "route_ui.h"
void
RouteUI::route_rename ()
{
- ArdourPrompter name_prompter (true);
+ ArdourWidgets::Prompter name_prompter (true);
string result;
bool done = false;
}
bool
-RouteUI::process_save_template_prompter (ArdourPrompter& prompter, const std::string& dir)
+RouteUI::process_save_template_prompter (Prompter& prompter, const std::string& dir)
{
std::string path;
std::string safe_name;
return;
}
- ArdourPrompter prompter (true); // modal
+ Prompter prompter (true); // modal
prompter.set_title (_("Save As Template"));
prompter.set_prompt (_("Template name:"));
namespace ArdourWidgets {
class ArdourButton;
+ class Prompter;
}
class ArdourWindow;
virtual void map_frozen ();
void adjust_latency ();
- bool process_save_template_prompter (ArdourPrompter& prompter, const std::string& dir);
+ bool process_save_template_prompter (ArdourWidgets::Prompter& prompter, const std::string& dir);
void save_as_template ();
static Gtkmm2ext::ActiveState solo_active_state (boost::shared_ptr<ARDOUR::Stripable>);
#include "ardour/tempo_map_importer.h"
#include "gtkmm2ext/utils.h"
+#include "widgets/prompter.h"
#include "gui_thread.h"
-#include "prompter.h"
#include "session_import_dialog.h"
#include "pbd/i18n.h"
std::pair<bool, string>
SessionImportDialog::open_rename_dialog (string text, string name)
{
- ArdourPrompter prompter(true);
+ ArdourWidgets::Prompter prompter(true);
string new_name;
prompter.set_name ("Prompter");
#include "ardour_ui.h"
#include "editing.h"
#include "gui_thread.h"
-#include "prompter.h"
#include "sfdb_ui.h"
#include "editing.h"
#include "gain_meter.h"
#include "widgets/focus_entry.h"
-#include "prompter.h"
#include "axis_view.h"
#include "enums.h"
#include "editing.h"
'processor_selection.cc',
'patch_change_dialog.cc',
'progress_reporter.cc',
- 'prompter.cc',
'public_editor.cc',
'quantize_dialog.cc',
'rc_option_editor.cc',