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