#include "font.h"
#include "insets/insettext.h"
#include "ColorHandler.h"
+#include "language.h"
using std::max;
using std::min;
-static
+namespace {
+
GC createGC()
{
XGCValues val;
| GCLineWidth | GCLineStyle , &val);
}
+} // namespace anon
+
// Constructor
LyXScreen::LyXScreen(WorkArea & o)
void LyXScreen::setCursorColor()
{
- if (!lyxColorHandler) return;
+ if (!lyxColorHandler.get()) return;
GC gc = lyxColorHandler->getGCForeground(LColor::cursor);