#include "FuncRequest.h"
#include "gettext.h"
#include "LaTeXFeatures.h"
-#include "LColor.h"
+#include "Color.h"
#include "Lexer.h"
#include "MetricsInfo.h"
#include "Paragraph.h"
setLabel(label);
- font.setColor(LColor::foreground);
- setBackgroundColor(LColor::background);
+ font.setColor(Color::foreground);
+ setBackgroundColor(Color::background);
setLabelFont(font);
}
: type(label),
use_parbox(false),
inner_box(true),
- width(LyXLength("100col%")),
+ width(Length("100col%")),
special("none"),
pos('t'),
hor_pos('c'),
inner_pos('t'),
- height(LyXLength("1in")),
+ height(Length("1in")),
height_special("totalheight") // default is 1\\totalheight
{}
return;
if (token == "width") {
lex.next();
- width = LyXLength(lex.getString());
+ width = Length(lex.getString());
} else {
lyxerr << "InsetBox::Read: Missing 'width'-tag!" << endl;
lex.pushToken(token);
return;
if (token == "height") {
lex.next();
- height = LyXLength(lex.getString());
+ height = Length(lex.getString());
} else {
lyxerr << "InsetBox::Read: Missing 'height'-tag!" << endl;
lex.pushToken(token);