예제 #1
0
EncodingEntry::EncodingEntry(ZLStringOption &encodingOption) : 
	AbstractEncodingEntry(encodingOption.value()), 
	myEncodingOption(encodingOption) {
}
ZLFontFamilyOptionEntry::ZLFontFamilyOptionEntry(ZLStringOption &option, const ZLPaintContext &context) : myOption(option), myContext(context) {
	std::string value = option.value();
	if (!value.empty()) {
		option.setValue(myContext.realFontFamilyName(value));
	}
}