~ubuntu-branches/ubuntu/wily/monodevelop/wily

« back to all changes in this revision

Viewing changes to src/addins/MonoDevelop.GtkCore/libsteticui/WidgetDesignerBackend.cs

  • Committer: Bazaar Package Importer
  • Author(s): Jo Shields
  • Date: 2010-02-02 11:39:59 UTC
  • mfrom: (10.2.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20100202113959-n3u848nfj35yyd03
Tags: 2.2.1+dfsg-1
* New upstream release
* debian/control:
  + Standards version 3.8.4 (no changes needed)
* debian/patches/remove_support_for_non_debian_functionality.patch,
  debian/patches/remove_support_for_soft_debugger.patch,
  debian/patches/remove_support_for_moonlight.patch,
  debian/rules:
  + Split patch into two pieces, to make it easier to enable either
    SDB or Moonlight support with a rebuild
* debian/monodevelop-moonlight.install,
  debian/monodevelop-debugger-sdb.install,
  debian/control:
  + Create packaging data for the Soft Debugger addin and Moonlight addin -
    and comment them out of debian/control as we can't provide them on
    Debian for now

Show diffs side-by-side

added added

removed removed

Lines of Context:
636
636
                
637
637
                protected override bool OnExposeEvent (Gdk.EventExpose ev)
638
638
                {
 
639
                        bool r = base.OnExposeEvent (ev);
 
640
                        //FIXME Disabled checkerboard background because it's very inefficient and makes the control *very* slow to resize
 
641
                        // It should take the EventExpose area into account, invalidate more selectively during resizes (GTK viewport 
 
642
                        // code would probably be a good start), and take advantage of the flat block color the parent is rendering.
 
643
                        /*
639
644
                        int size = 8;
640
645
                        bool squareColor = true;
641
646
                        bool startsquareColor = true;
653
658
                        }
654
659
 
655
660
                        foreach (Widget cw in Children)
656
 
                                PropagateExpose (cw, ev);
 
661
                                PropagateExpose (cw, ev);*/
657
662
 
658
663
                        Gdk.Rectangle rect = child.Allocation;
659
664
                        if (Stetic.Metacity.Preview.ThemeError) 
661
666
                        
662
667
                        Pixbuf sh = Shadow.AddShadow (rect.Width, rect.Height);
663
668
                        GdkWindow.DrawPixbuf (this.Style.BackgroundGC (StateType.Normal), sh, 0, 0, rect.X - 5, rect.Y - 5, sh.Width, sh.Height, RgbDither.None, 0, 0); 
664
 
                        return true;
 
669
                        return r;
665
670
                }
666
671
                
667
672
                protected override bool OnKeyPressEvent (Gdk.EventKey ev)