#include "Color.h"
#include "forms_fwd.h"
-#include "support/std_string.h"
#include <boost/scoped_ptr.hpp>
#include <X11/Xlib.h> // for Pixmap
+namespace lyx {
+namespace frontend {
-class Tooltips;
class FD_colorpicker;
class FD_colorpicker_rgb;
class FD_colorpicker_hsv;
+class Tooltips;
-
-class FormColorpicker
-{
+class FormColorpicker {
public:
FormColorpicker();
~FormColorpicker();
a color is chosen (or the dialog is closed).
\param color the color used to initialise the dialog.
*/
- RGBColor const & requestColor(RGBColor const & color);
+ lyx::RGBColor const & requestColor(lyx::RGBColor const & color);
/** Input callback function.
* Invoked only by the xforms callback interface
int minh_;
/// The title displayed by the Window Manager.
- string title_;
+ std::string title_;
- RGBColor input_color_;
- RGBColor color_;
+ lyx::RGBColor input_color_;
+ lyx::RGBColor color_;
bool finished_;
/// Passed to the window manager to give a pretty little symbol ;-)
boost::scoped_ptr<FD_colorpicker_hsv> hsv_;
};
+} // namespace frontend
+} // namespace lyx
+
#endif // FORMCOLORPICKER_H