/** * Instantiates a new meme panel. * * @param context the context */ public MemePanel(EffectContext context) { super(context); ConfigService config = context.getService(ConfigService.class); if (config != null) { fontName = config.getString(R.string.feather_meme_default_font); } }
/* * (non-Javadoc) * * @see com.aviary.android.feather.effects.AbstractEffectPanel#onCreate(android.graphics.Bitmap) */ @Override public void onCreate(Bitmap bitmap) { super.onCreate(bitmap); mWheel = (Wheel) getOptionView().findViewById(R.id.wheel); mWheelRadio = (WheelRadio) getOptionView().findViewById(R.id.wheel_radio); ConfigService config = getContext().getService(ConfigService.class); mLivePreview = config.getBoolean(R.integer.feather_brightness_live_preview); onCreateIcons(); }