/** * @param context context * @param parent DrawingActivity parent * @param type drawing type */ ItemPickerDialog(Context context, ItemDrawer parent, long type, int item_type) { super(context, R.string.ItemPickerDialog); mParent = parent; mPlotType = type; mItemType = item_type; // mParent.mSymbol; mPointLib = DrawingBrushPaths.mPointLib; mLineLib = DrawingBrushPaths.mLineLib; mAreaLib = DrawingBrushPaths.mAreaLib; mScale = mParent.getPointScale(); }