]> git.lyx.org Git - lyx.git/blobdiff - src/insets/inset.C
LyX Drinkers United: patch 2
[lyx.git] / src / insets / inset.C
index c3664b454aa38360507d0ed3e05c874eeddecb5a..5fe964448777f7add2b73930487595da7c934f5b 100644 (file)
 #include <config.h>
 
 #ifdef __GNUG__
-#pragma implementation "lyxinset.h"
+#pragma implementation
 #endif
 
-#include "lyxinset.h"
+#include "inset.h"
 #include "debug.h"
 #include "BufferView.h"
 #include "support/lstrings.h"
@@ -22,6 +22,7 @@
 #include "commandtags.h"
 #include "support/lstrings.h"
 #include "gettext.h"
+#include "lyxfont.h"
 
 using std::endl;
 
@@ -84,34 +85,34 @@ LyXText * Inset::getLyXText(BufferView const * bv, bool const) const
 
 void UpdatableInset::InsetButtonPress(BufferView *, int x, int y, int button)
 {
-       lyxerr.debug() << "Inset Button Press x=" << x
+       lyxerr[Debug::INFO] << "Inset Button Press x=" << x
                       << ", y=" << y << ", button=" << button << endl;
 }
 
 
 void UpdatableInset::InsetButtonRelease(BufferView *, int x, int y, int button)
 {
-       lyxerr.debug() << "Inset Button Release x=" << x
+       lyxerr[Debug::INFO] << "Inset Button Release x=" << x
                       << ", y=" << y << ", button=" << button << endl;
 }
 
 
 void UpdatableInset::InsetKeyPress(XKeyEvent *)
 {
-       lyxerr.debug() << "Inset Keypress" << endl;
+       lyxerr[Debug::INFO] << "Inset Keypress" << endl;
 }
 
 
 void UpdatableInset::InsetMotionNotify(BufferView *, int x, int y, int state)
 {
-       lyxerr.debug() << "Inset Motion Notify x=" << x
+       lyxerr[Debug::INFO] << "Inset Motion Notify x=" << x
                       << ", y=" << y << ", state=" << state << endl;
 }
 
 
 void UpdatableInset::InsetUnlock(BufferView *)
 {
-       lyxerr.debug() << "Inset Unlock" << endl;
+       lyxerr[Debug::INFO] << "Inset Unlock" << endl;
 }