Beispiel #1
0
Exec_stat MCColors::getprop_legacy(uint4 parid, Properties which, MCExecPoint& ep, Boolean effective)
{
	switch (which)
	{
#ifdef /* MCColors::getprop */ LEGACY_EXEC
	case P_SELECTED_COLOR:
		MCColor color;
		color.pixel = selectedcolor;
		MCscreen->querycolor(color);
		ep.setcolor(color);
		break;
#endif /* MCColors::getprop */ 
	default:
		return MCControl::getprop_legacy(parid, which, ep, effective);
	}
	return ES_NORMAL;
}