* ====================================================== */
#include <config.h>
-#include <cmath>
-#include <cctype>
+
#ifdef __GNUG__
#pragma implementation
#endif
#include "WorkArea.h"
#include "debug.h"
-#include "support/lstrings.h"
#include "LyXView.h"
-#include "support/filetools.h" // LibFileSearch
#include "lyxrc.h" // lyxrc.show_banner
#include "version.h" // lyx_version
-#include "support/LAssert.h"
#if FL_REVISION < 89 || (FL_REVISION == 89 && FL_FIXLEVEL < 5)
#include "lyxlookup.h"
#endif
+#include "support/filetools.h" // LibFileSearch
+#include "support/lstrings.h"
+#include "support/LAssert.h"
+
+#include <cmath>
+#include <cctype>
+
using std::endl;
+using std::abs;
FL_OBJECT * figinset_canvas;
-// needed to make the c++ compiler find the correct version of abs.
-// This is at least true for g++.
-//using std::abs;
-
namespace {
inline
<< width << 'x' << height << endl;
//
FL_OBJECT * obj;
- int const bw = int(std::abs(float(fl_get_border_width())));
+ int const bw = int(abs(fl_get_border_width()));
// We really want to get rid of figinset_canvas.
::figinset_canvas = figinset_canvas = obj =
{
fl_freeze_all_forms();
- int const bw = int(std::abs(float(fl_get_border_width())));
+ int const bw = int(abs(fl_get_border_width()));
// a box
fl_set_object_geometry(backgroundbox, xpos, ypos, width - 15, height);