summaryrefslogtreecommitdiff
path: root/gtk2_ardour/floating_text_entry.h
diff options
context:
space:
mode:
authorVKamyshniy <VKamyshniy@wavesglobal.com>2014-11-25 00:28:33 +0200
committerPaul Davis <paul@linuxaudiosystems.com>2014-11-25 12:17:26 +0200
commitc14c365419857d96b197e1002ecc229d50fc7e6d (patch)
tree5c0c927533708c86af3396fd1e9da5d605406acf /gtk2_ardour/floating_text_entry.h
parent76334847c58a04fdc9d5fd8c25e6dcdfbcbd44da (diff)
[Summary] Fixing behavior of the FloatingTextEntry
Diffstat (limited to 'gtk2_ardour/floating_text_entry.h')
-rw-r--r--gtk2_ardour/floating_text_entry.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/gtk2_ardour/floating_text_entry.h b/gtk2_ardour/floating_text_entry.h
index fc69085dfd..b2872a14e4 100644
--- a/gtk2_ardour/floating_text_entry.h
+++ b/gtk2_ardour/floating_text_entry.h
@@ -21,10 +21,9 @@
#define __floating_text_entry_h__
#include <gtkmm/entry.h>
+#include <gtkmm/Window.h>
-#include "ardour_window.h"
-
-class FloatingTextEntry : public ArdourWindow
+class FloatingTextEntry : public Gtk::Window
{
public:
FloatingTextEntry (const std::string& initial_contents);
@@ -36,7 +35,7 @@ class FloatingTextEntry : public ArdourWindow
bool entry_changed;
/* handlers for Entry events */
-
+ bool entry_focus_out (GdkEventFocus*);
bool key_press (GdkEventKey*);
void activated ();
bool button_press (GdkEventButton*);