@@ -43,6 +43,7 @@ enum MCLayerModeHint
4343};
4444
4545struct MCInterfaceMargins ;
46+ union MCBitmapEffect;
4647
4748class MCControl : public MCObject
4849{
@@ -330,11 +331,6 @@ class MCControl : public MCObject
330331 void DoSetHScrollbar (MCExecContext& ctxt, MCScrollbar*& hsb, uint2& sbw);
331332 void DoSetVScrollbar (MCExecContext& ctxt, MCScrollbar*& vsb, uint2& sbw);
332333 void DoSetScrollbarWidth (MCExecContext& ctxt, uint2& sbw, uinteger_t p_width);
333-
334- void DoGetBitmapEffectArray (MCExecContext& ctxt, Properties which, MCArrayRef& r_array);
335- void DoSetBitmapEffectArray (MCExecContext& ctxt, Properties which, MCArrayRef p_array);
336- // void DoGetBitmapEffectElement(MCExecContext& ctxt, Properties which, MCNameRef p_prop, MCValueRef& r_value);
337- // void DoSetBitmapEffectElement(MCExecContext& ctxt, Properties which, MCNameRef p_prop, MCValueRef p_value);
338334
339335 void EffectRedraw (MCRectangle p_old_rect);
340336
@@ -363,33 +359,17 @@ class MCControl : public MCObject
363359 virtual void SetShowFocusBorder (MCExecContext& ctxt, bool setting);
364360 virtual void SetOpaque (MCExecContext& ctxt, bool setting);
365361 virtual void SetShadow (MCExecContext& ctxt, const MCInterfaceShadow& p_shadow);
366-
367- void GetDropShadow (MCExecContext& ctxt, MCArrayRef& r_array);
368- void SetDropShadow (MCExecContext& ctxt, MCArrayRef p_array);
369- void GetInnerShadow (MCExecContext& ctxt, MCArrayRef& r_array);
370- void SetInnerShadow (MCExecContext& ctxt, MCArrayRef p_array);
371- void GetOuterGlow (MCExecContext& ctxt, MCArrayRef& r_array);
372- void SetOuterGlow (MCExecContext& ctxt, MCArrayRef p_array);
373- void GetInnerGlow (MCExecContext& ctxt, MCArrayRef& r_array);
374- void SetInnerGlow (MCExecContext& ctxt, MCArrayRef p_array);
375- void GetColorOverlay (MCExecContext& ctxt, MCArrayRef& r_array);
376- void SetColorOverlay (MCExecContext& ctxt, MCArrayRef p_array);
377-
378- void GetBitmapEffectDropShadowColor (MCExecContext& ctxt, MCNameRef index, MCColor*& r_color);
379- void SetBitmapEffectDropShadowColor (MCExecContext& ctxt, MCNameRef index, MCColor* p_color);
380- void GetBitmapEffectDropShadowBlendMode (MCExecContext& ctxt, MCNameRef index, intenum_t *& r_value);
381- void SetBitmapEffectDropShadowBlendMode (MCExecContext& ctxt, MCNameRef index, intenum_t * p_value);
382- void GetBitmapEffectDropShadowOpacity (MCExecContext& ctxt, MCNameRef index, uinteger_t *& r_value);
383- void SetBitmapEffectDropShadowOpacity (MCExecContext& ctxt, MCNameRef index, uinteger_t * p_value);
384- void GetBitmapEffectDropShadowFilter (MCExecContext& ctxt, MCNameRef index, intenum_t *& r_value);
385- void SetBitmapEffectDropShadowFilter (MCExecContext& ctxt, MCNameRef index, intenum_t * p_value);
386- void GetBitmapEffectDropShadowSize (MCExecContext& ctxt, MCNameRef index, uinteger_t *& r_value);
387- void SetBitmapEffectDropShadowSize (MCExecContext& ctxt, MCNameRef index, uinteger_t * p_value);
388- void GetBitmapEffectDropShadowSpread (MCExecContext& ctxt, MCNameRef index, uinteger_t *& r_value);
389- void SetBitmapEffectDropShadowSpread (MCExecContext& ctxt, MCNameRef index, uinteger_t * p_value);
390- void GetBitmapEffectDropShadowDistance (MCExecContext& ctxt, MCNameRef index, uinteger_t *& r_value);
391- void SetBitmapEffectDropShadowDistance (MCExecContext& ctxt, MCNameRef index, uinteger_t * p_value);
392- void GetBitmapEffectDropShadowAngle (MCExecContext& ctxt, MCNameRef index, uinteger_t *& r_value);
393- void SetBitmapEffectDropShadowAngle (MCExecContext& ctxt, MCNameRef index, uinteger_t * p_value);
362+
363+ void GetDropShadowProperty (MCExecContext& ctxt, MCNameRef index, MCExecValue& r_value);
364+ void SetDropShadowProperty (MCExecContext& ctxt, MCNameRef index, MCExecValue p_value);
365+ void GetInnerShadowProperty (MCExecContext& ctxt, MCNameRef index, MCExecValue& r_value);
366+ void SetInnerShadowProperty (MCExecContext& ctxt, MCNameRef index, MCExecValue p_value);
367+ void GetInnerGlowProperty (MCExecContext& ctxt, MCNameRef index, MCExecValue& r_value);
368+ void SetInnerGlowProperty (MCExecContext& ctxt, MCNameRef index, MCExecValue p_value);
369+ void GetOuterGlowProperty (MCExecContext& ctxt, MCNameRef index, MCExecValue& r_value);
370+ void SetOuterGlowProperty (MCExecContext& ctxt, MCNameRef index, MCExecValue p_value);
371+ void GetColorOverlayProperty (MCExecContext& ctxt, MCNameRef index, MCExecValue& r_value);
372+ void SetColorOverlayProperty (MCExecContext& ctxt, MCNameRef index, MCExecValue p_value);
373+
394374};
395375#endif
0 commit comments