<Properties GitUserInfo="UsingGIT" StartupItem="Tests/Tests.csproj">
<MonoDevelop.Ide.Workspace ActiveConfiguration="Debug|Linux_x86" />
- <MonoDevelop.Ide.Workbench ActiveDocument="src/GraphicObjects/Group.cs">
+ <MonoDevelop.Ide.Workbench ActiveDocument="Tests/GOLIBTests.cs">
<Files>
- <File FileName="Tests/Interfaces/4.crow" Line="371" Column="19" />
- <File FileName="Tests/GOLIBTests.cs" Line="40" Column="6" />
- <File FileName="src/GraphicObjects/Group.cs" Line="247" Column="31" />
- <File FileName="src/GraphicObjects/GraphicObject.cs" Line="462" Column="22" />
+ <File FileName="Tests/GOLIBTests.cs" Line="98" Column="2" />
+ <File FileName="src/GraphicObjects/GraphicObject.cs" Line="538" Column="3" />
+ <File FileName="src/GraphicObjects/Group.cs" Line="197" Column="1" />
+ <File FileName="src/GraphicObjects/PrivateContainer.cs" Line="127" Column="1" />
+ <File FileName="src/OpenTKGameWindow.cs" Line="328" Column="10" />
+ <File FileName="src/Rectangles.cs" Line="90" Column="21" />
+ <File FileName="src/GraphicObjects/Scroller.cs" Line="196" Column="1" />
+ <File FileName="src/LayoutingQueue.cs" Line="30" Column="4" />
+ <File FileName="src/Interface.cs" Line="56" Column="1" />
+ <File FileName="UnitTest/NUnitCrowWindow.cs" Line="163" Column="1" />
</Files>
</MonoDevelop.Ide.Workbench>
<MonoDevelop.Ide.DebuggingService.Breakpoints>
<?xml version="1.0"?>
<HorizontalStack Fit="true">
- <VerticalStack Fit="true" Spacing="10" Caching="false">
+ <VerticalStack Fit="true" Name="vsFps" Spacing="10" >
<HorizontalStack Fit="true">
<Label Text="Update:" Width="50" TextAlignment="RightCenter"/>
<Label Name="labUpdate" Text="{update}" Font="droid,12" Width="80" TextAlignment="Center"
Background="vgradient|0:AoEnglish|1:Black"/>
</HorizontalStack>
</VerticalStack>
- <VerticalStack Fit="true" Spacing="10" Caching="false">
+ <VerticalStack Fit="true" Name="vsFps" Spacing="10" >
<HorizontalStack Fit="true">
<Label Text="Update:" Width="50" TextAlignment="RightCenter"/>
<Label Name="labUpdate" Text="{update}" Font="droid,12" Width="80" TextAlignment="Center"
Background="vgradient|0:AoEnglish|1:Black"/>
</HorizontalStack>
</VerticalStack>
- <VerticalStack Fit="true" Spacing="10" Caching="false">
+ <VerticalStack Fit="true" Name="vsFps" Spacing="10" >
<HorizontalStack Fit="true">
<Label Text="Update:" Width="50" TextAlignment="RightCenter"/>
<Label Name="labUpdate" Text="{update}" Font="droid,12" Width="80" TextAlignment="Center"
Background="vgradient|0:AoEnglish|1:Black"/>
</HorizontalStack>
</VerticalStack>
- <VerticalStack Fit="true" Spacing="10" Caching="false">
+ <VerticalStack Fit="true" Name="vsFps" Spacing="10" >
<HorizontalStack Fit="true">
<Label Text="Update:" Width="50" TextAlignment="RightCenter"/>
<Label Name="labUpdate" Text="{update}" Font="droid,12" Width="80" TextAlignment="Center"
HorizontalAlignment _horizontalAlignment = HorizontalAlignment.Center;
Size _maximumSize = "0;0";
Size _minimumSize = "0;0";
- bool isRegisteredForRepaint = false;
#endregion
#region public fields
//test if this speed up a lot to cancel clipping for an uncached group
Group p = Parent as Group;
if (p != null) {
- if (p.bmp == null || !p.Caching) {
- p.RegisterForRedraw ();
+ if (p.bmp == null)
return;
- }
}
- if (HostContainer == null || isRegisteredForRepaint)
- return;
-
- HostContainer.gobjsToRedraw.Add (this);
- isRegisteredForRepaint = true;
+ if (HostContainer != null)
+ HostContainer.gobjsToRedraw.Add (this);
}
/// <summary>
//this clipping should take only last painted slots in ancestor tree which
//is not the case for now.
HostContainer.redrawClip.AddRectangle (ScreenCoordinates(LastPaintedSlot));
- isRegisteredForRepaint = false;
}
/// <summary> return size of content + margins </summary>
protected virtual Size measureRawSize ()
internal int maxChildrenHeight = 0;
bool _multiSelect = false;
- bool _caching = false;
List<GraphicObject> children = new List<GraphicObject>();
public GraphicObject activeWidget;
-
-
-
public virtual List<GraphicObject> Children {
get { return children; }
set { children = value; }
public bool MultiSelect
{
get { return _multiSelect; }
- set {
- if (value == _multiSelect)
- return;
- _multiSelect = value;
- NotifyValueChanged ("MultiSelect", _multiSelect);
- }
+ set { _multiSelect = value; }
}
- [XmlAttributeAttribute()][DefaultValue(true)]
- public bool Caching {
- get { return _caching; }
- set {
- if (value == _caching)
- return;
- _caching = value;
- NotifyValueChanged ("Caching", _multiSelect);
- }
- }
+
public virtual T addChild<T>(T child)
{