#include "support/docstring.h"
#include "lyxfunc.h"
-using lyx::char_type;
-using lyx::docstring;
-
using std::string;
namespace lyx {
public:
LyxMenu() { menu_.reset(new ::Menu); }
- ::Menu& getBackMenu() { return *menu_.get(); }
+ ::Menu & getBackMenu() { return *menu_.get(); }
void clearBackMenu() { menu_.reset(new ::Menu); }
private:
#include <vector>
+namespace lyx {
+
class LyXView;
-namespace lyx {
namespace frontend {
class GMenubar : public Menubar, public sigc::trackable {
#include <gtkmm.h>
+namespace lyx {
+
Timeout::Timeout(unsigned int msec, Type t)
: pimpl_(new lyx::frontend::GTimeout(*this)),
type(t), timeout_ms(msec)
{}
-namespace lyx {
namespace frontend {
GTimeout::GTimeout(Timeout & owner)
layoutSelected(owner_, layoutGuiName);
}
-} // namespace frontend
-} // namespace lyx
-
-
Toolbars::ToolbarPtr make_toolbar(ToolbarBackend::Toolbar const & tbb,
LyXView & owner)
{
return Toolbars::ToolbarPtr(new GToolbar(tbb, owner));
}
-namespace lyx {
-namespace frontend {
-
GToolbar::GToolbar(ToolbarBackend::Toolbar const & tbb, LyXView & owner)
: owner_(dynamic_cast<GView &>(owner))
{
};
} // namespace frontend
-} // namespace lyx
Toolbars::ToolbarPtr make_toolbar(ToolbarBackend::Toolbar const & tbb,
LyXView & owner);
+} // namespace lyx
+
#endif // NOT GTOOLBAR_H
// FIXME: defined in X.h, spuriously pulled in by some gui headers
#undef CursorShape
+namespace lyx {
+
class LColor_color;
class LyXView;
-namespace lyx {
namespace frontend {
class ColorCache {
#include <iomanip>
-using lyx::support::subst;
-
using std::string;
using std::endl;
namespace lyx {
+using support::subst;
+
frontend::Application * createApplication(int & argc, char * argv[])
{
return new frontend::GuiApplication(argc, argv);
#include <config.h>
-
-
-namespace lyx {
-
private:
XftFont * font;
XftFont * fontS;
-
+};
} // namespace lyx
-};
+
#endif // XFT_FONT_METRICS_H