"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "Pinta.Tools/Editable/EditEngines/BaseEditEngine.cs" between
pinta-1.7.tar.gz and pinta-1.7.1.tar.gz

About: Pinta is a powerful image drawing and editing program (modeled after Paint.NET).

BaseEditEngine.cs  (pinta-1.7):BaseEditEngine.cs  (pinta-1.7.1)
skipping to change at line 281 skipping to change at line 281
ShapeEngine activeEngine = ActiveShapeEngine; ShapeEngine activeEngine = ActiveShapeEngine;
if (activeEngine != null) if (activeEngine != null)
{ {
activeEngine.FillColor = FillColor.Clone(); activeEngine.FillColor = FillColor.Clone();
DrawActiveShape(false, false, true, false, false) ; DrawActiveShape(false, false, true, false, false) ;
} }
} }
private void OnFillStyleChanged(object sender, EventArgs e)
{
DrawActiveShape (false, false, true, false, false);
}
#endregion ToolbarEventHandlers #endregion ToolbarEventHandlers
public BaseEditEngine(ShapeTool passedOwner) public BaseEditEngine(ShapeTool passedOwner)
{ {
owner = passedOwner; owner = passedOwner;
owner.IsEditableShapeTool = true; owner.IsEditableShapeTool = true;
ResetShapes(); ResetShapes();
} }
skipping to change at line 352 skipping to change at line 357
tb.AppendItem(fill_label); tb.AppendItem(fill_label);
if (fill_button == null) if (fill_button == null)
{ {
fill_button = new ToolBarDropDownButton(); fill_button = new ToolBarDropDownButton();
fill_button.AddItem(Catalog.GetString("Outline Shape"), "ShapeTo ol.Outline.png", 0); fill_button.AddItem(Catalog.GetString("Outline Shape"), "ShapeTo ol.Outline.png", 0);
fill_button.AddItem(Catalog.GetString("Fill Shape"), "ShapeTool. Fill.png", 1); fill_button.AddItem(Catalog.GetString("Fill Shape"), "ShapeTool. Fill.png", 1);
fill_button.AddItem(Catalog.GetString("Fill and Outline Shape"), "ShapeTool.OutlineFill.png", 2); fill_button.AddItem(Catalog.GetString("Fill and Outline Shape"), "ShapeTool.OutlineFill.png", 2);
fill_button.SelectedItemChanged += OnFillStyleChanged;
} }
tb.AppendItem(fill_button); tb.AppendItem(fill_button);
if (shape_type_sep == null) if (shape_type_sep == null)
shape_type_sep = new Gtk.SeparatorToolItem(); shape_type_sep = new Gtk.SeparatorToolItem();
tb.AppendItem(shape_type_sep); tb.AppendItem(shape_type_sep);
if (shape_type_label == null) if (shape_type_label == null)
 End of changes. 2 change blocks. 
0 lines changed or deleted 6 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)