diff --git a/src/gui/components/cc_frm_button.cpp b/src/gui/components/cc_frm_button.cpp index 216a9879f..c20bcf01d 100644 --- a/src/gui/components/cc_frm_button.cpp +++ b/src/gui/components/cc_frm_button.cpp @@ -290,10 +290,3 @@ void CComponentsButton::paint(bool do_save_bg) //paint form contents paintForm(do_save_bg); } - -void CComponentsButton::enableShadow(int mode, const int& shadow_width, bool force_paint) -{ - shadow_w = shadow_width; - shadow_force = force_paint; - shadow = mode; -} diff --git a/src/gui/components/cc_frm_button.h b/src/gui/components/cc_frm_button.h index 1235dd0b9..80653e2be 100644 --- a/src/gui/components/cc_frm_button.h +++ b/src/gui/components/cc_frm_button.h @@ -195,12 +195,6 @@ class CComponentsButton : public CComponentsFrmChain, public CCTextScreen inline virtual void setButtonAlias(const int& alias_value){cc_btn_alias = alias_value;}; ///returns an alias value from button object, see also cc_btn_alias inline virtual int getButtonAlias(){return cc_btn_alias;}; - - /**1st parameter requires defines CC_SHADOW_ON (default), CC_SHADOW_OFF, CC_SHADOW_BOTTOM or CC_SHADOW_RIGHT, see also cc_types.h - * 2nd parameter defines shadow width, default = defined by system - * 3rd parameter forces paint of shadow layer, default = false, Note: default shadow will paint only on first paint, use 3rd parameter=true ignores this - */ - void enableShadow(int mode = CC_SHADOW_ON, const int& shadow_width = -1, bool force_paint = false); }; //! Sub class of CComponentsButton.