#include "LColor.h"
#include "lyxfont.h"
+using lyx::docstring;
+
using std::max;
using std::string;
void Painter::rectText(int x, int y,
- string const & str,
+ docstring const & str,
LyXFont const & font,
LColor_color back,
LColor_color frame)
}
-void Painter::buttonText(int x, int y, string const & str, LyXFont const & font)
+void Painter::buttonText(int x, int y, docstring const & str, LyXFont const & font)
{
int width;
int ascent;