"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "Pinta.Gui.Widgets/Widgets/Canvas/CanvasWindow.cs" between
pinta-2.0.tar.gz and pinta-2.0.1.tar.gz

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

CanvasWindow.cs  (pinta-2.0):CanvasWindow.cs  (pinta-2.0.1)
skipping to change at line 138 skipping to change at line 138
vertical_ruler.SetRange (lower.Y, upper.Y); vertical_ruler.SetRange (lower.Y, upper.Y);
} }
[MemberNotNull (nameof (Canvas), nameof (horizontal_ruler), nameo f (vertical_ruler), nameof (scrolled_window))] [MemberNotNull (nameof (Canvas), nameof (horizontal_ruler), nameo f (vertical_ruler), nameof (scrolled_window))]
private void Build (Document document) private void Build (Document document)
{ {
ColumnHomogeneous = false; ColumnHomogeneous = false;
RowHomogeneous = false; RowHomogeneous = false;
scrolled_window = new ScrolledWindow (); scrolled_window = new ScrolledWindow ();
var css = new CssProvider ();
css.LoadFromData ("* { background-color: @theme_bg_color;
}");
scrolled_window.StyleContext.AddProvider (css, 0);
var vp = new Viewport () { var vp = new Viewport () {
ShadowType = ShadowType.None ShadowType = ShadowType.None
}; };
var css = new CssProvider ();
css.LoadFromData ("* { background-color: @theme_bg_color;
}");
vp.StyleContext.AddProvider (css, 0);
vp.ScrollEvent += ViewPort_ScrollEvent; vp.ScrollEvent += ViewPort_ScrollEvent;
Canvas = new PintaCanvas (this, document) { Canvas = new PintaCanvas (this, document) {
Name = "canvas", Name = "canvas",
CanDefault = true, CanDefault = true,
CanFocus = true, CanFocus = true,
Events = (Gdk.EventMask) 16134 Events = (Gdk.EventMask) 16134
}; };
// Rulers // Rulers
 End of changes. 2 change blocks. 
4 lines changed or deleted 5 lines changed or added

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