#include <boost/scoped_ptr.hpp>
#include <vector>
+namespace lyx {
+namespace frontend {
+class Tooltips;
class XFormsToolbar;
class XFormsView;
-class Tooltips;
class XLayoutBox: public LayoutBox {
void add(FuncRequest const & func, std::string const & tooltip);
void hide(bool);
void show(bool);
- void update();
+ void update();
LayoutBox * layout() const { return layout_.get(); }
/// an item on the toolbar
///
Pixmap unused_pixmap;
Pixmap active_pixmap;
- Pixmap active_mask;
Pixmap inactive_pixmap;
- Pixmap inactive_mask;
+ Pixmap mask;
};
///
XFormsView::Position position_;
///
- lyx::frontend::Box * toolbar_;
+ boost::shared_ptr<Box> toolbar_;
///
- lyx::frontend::BoxList * toolbar_buttons_;
+ BoxList * toolbar_buttons_;
///
- lyx::frontend::WidgetMap widgets_;
+ WidgetMap widgets_;
typedef std::vector<FuncRequest> Funcs;
boost::scoped_ptr<XLayoutBox> layout_;
};
+} // namespace frontend
+} // namespace lyx
+
#endif