#include <config.h>
#include "Alert.h"
+#include "Alert_pimpl.h"
#include "debug.h"
#include "lyx_gui.h"
-#include "Alert_pimpl.h"
-
using std::endl;
-using std::pair;
using std::make_pair;
+using std::pair;
+
int Alert::prompt(string const & title, string const & question,
int default_button, int escape_button,
-2003-09-04 Angus Leeming <angus@localhost.localdomain>
+2003-09-05 Angus Leeming <leeming@lyx.org>
+
+ * WorkArea.C: removed. It was entirely empty.
+ * Makefile.am: remove WorkArea.C
+
+ * *.C: rearranged #includes in alphabetical and directory order.
+
+2003-09-04 Angus Leeming <leeming@lyx.org>
* Alert_pimpl.h: move out #include "debug.h".
* LyXView.h: move out #include "types.h".
#include <config.h>
#include "Dialogs.h"
+
#include "controllers/Dialog.h"
+
#include <boost/signals/signal2.hpp>
#include <boost/bind.hpp>
#include <config.h>
#include "LyXView.h"
+#include "Dialogs.h"
+#include "Timeout.h"
+#include "Toolbar.h"
+#include "Menubar.h"
+
+#include "buffer.h"
+#include "BufferView.h"
+#include "bufferview_funcs.h"
#include "debug.h"
+#include "funcrequest.h"
+#include "gettext.h"
#include "intl.h"
+#include "lyx_cb.h"
+#include "lyxfunc.h"
#include "lyxrc.h"
#include "lyxtext.h"
-#include "buffer.h"
#include "MenuBackend.h"
-#include "gettext.h"
-#include "lyxfunc.h"
-#include "funcrequest.h"
-#include "lyx_cb.h"
-#include "BufferView.h"
-#include "bufferview_funcs.h"
-#include "Dialogs.h"
-#include "Toolbar.h"
-#include "Timeout.h"
-#include "Menubar.h"
#include "controllers/ControlCommandBuffer.h"
+
#include "mathed/math_cursor.h"
#include "support/filetools.h" // OnlyFilename()
using namespace lyx::support;
using std::endl;
+
string current_layout;
Timeout.h \
Toolbar.C \
Toolbar.h \
- WorkArea.C \
WorkArea.h \
WorkAreaFactory.h \
font_metrics.h \
#include <config.h>
-
#include "Painter.h"
+#include "font_metrics.h"
#include "lyxfont.h"
#include "WorkArea.h"
-#include "frontends/font_metrics.h"
using std::max;
+
Painter & Painter::button(int x, int y, int w, int h)
{
fillRectangle(x, y, w, h, LColor::buttonbg);
#include <config.h>
#include "Timeout.h"
+
#include "support/LAssert.h"
using namespace lyx::support;
#include <config.h>
-
#include "Toolbar.h"
-#include "ToolbarBackend.h"
+
#include "debug.h"
#include "LyXAction.h"
+#include "ToolbarBackend.h"
-using std::endl;
Toolbar::Toolbar()
: last_textclass_(-1)
+++ /dev/null
-/**
- * \file WorkArea.C
- * This file is part of LyX, the document processor.
- * Licence details can be found in the file COPYING.
- *
- * \author Asger and Juergen
- *
- * Full author contact details are available in file CREDITS.
- */
-
-#include <config.h>
-
-
-#include "WorkArea.h"
#include "guiapi.h"
#include "Dialogs.h"
+
extern "C" {
void gui_show_dialog(Dialogs * d, char const * name, char const * data)
#include <config.h>
#include "screen.h"
+#include "font_metrics.h"
+#include "lyx_gui.h"
+#include "Painter.h"
+#include "WorkArea.h"
-#include "lyxtext.h"
-#include "lyxrc.h"
-#include "lyxrow.h"
#include "BufferView.h"
#include "buffer.h"
-#include "WorkArea.h"
-#include "Painter.h"
-#include "font_metrics.h"
-#include "language.h"
#include "debug.h"
-#include "rowpainter.h"
-#include "insets/updatableinset.h"
-#include "lyx_gui.h"
-#include "metricsinfo.h"
-
-// Splash screen-specific stuff
+#include "language.h"
#include "lyxfont.h"
+#include "lyxrc.h"
+#include "lyxrow.h"
+#include "lyxtext.h"
+#include "metricsinfo.h"
+#include "rowpainter.h"
#include "version.h"
-#include "graphics/GraphicsLoader.h"
+#include "insets/updatableinset.h"
+
#include "graphics/GraphicsImage.h"
+#include "graphics/GraphicsLoader.h"
#include "support/filetools.h" // LibFileSearch
using std::min;
using std::max;
-using std::endl;
+
namespace {