add DECLARE_STYLE_FIELD_SETTER macro to minimize code copying