#include "FormColorpicker.h"
#include "forms/form_colorpicker.h"
-#include "xforms_resize.h"
#include "Tooltips.h"
-#include "Color.h"
+#include "xforms_resize.h"
#include "gettext.h"
#include "lyxrc.h"
-#include "support/LAssert.h"
#include "support/filetools.h" // LibFileSearch
#include "support/tostr.h"
#include "lyx_forms.h"
-#include "Lsstream.h"
-#include <iomanip>
+using std::string;
+namespace lyx {
+namespace frontend {
namespace {
// assign an icon to the form
string const iconname =
- lyx::support::LibFileSearch("images", "lyx", "xpm");
+ support::LibFileSearch("images", "lyx", "xpm");
if (!iconname.empty()) {
unsigned int w, h;
void C_FormColorpickerInputCB(FL_OBJECT * ob, long d)
{
- lyx::support::Assert(ob && ob->form && ob->form->u_vdata);
+ BOOST_ASSERT(ob && ob->form && ob->form->u_vdata);
FormColorpicker * ptr =
static_cast<FormColorpicker *>(ob->form->u_vdata);
ptr->input(ob, d);
static int C_WMHideCB(FL_FORM * form, void *)
{
// Close the dialog cleanly, even if the WM is used to do so.
- lyx::support::Assert(form && form->u_vdata);
+ BOOST_ASSERT(form && form->u_vdata);
FormColorpicker * ptr = static_cast<FormColorpicker *>(form->u_vdata);
ptr->input(0, 0);
return FL_CANCEL;
}
} // extern "C"
+
+} // namespace frontend
+} // namespace lyx