diff options
| author | jpbruyere <jp.bruyere@hotmail.com> | 2015-09-21 08:30:08 +0200 |
|---|---|---|
| committer | jpbruyere <jp.bruyere@hotmail.com> | 2015-09-21 08:30:09 +0200 |
| commit | f662d49464e2b8326522aad67761ffdcb8a5e5f6 (patch) | |
| tree | f767f75977721299da029518ec938bfa0366597b /src/GraphicObjects/ListBox.cs | |
| parent | db3a636d9c4de1e4ee1d4e79e6dfeae738daac8d (diff) | |
* BmpPicture.cs:
allow unscalled picture
* GraphicObject.cs:
background image path, problems with repaint of background
* Group.cs:
background image
* HorizontalStack.cs:
clean code
* Label.cs:
debug
* TemplatedContainer.cs:
fix dataSource==null to clear binding successfully
* Window.cs:
resizable or not
* OpenTKGameWindow.cs:
RenderCustomTextureOnUIQuad (usefull for cached content)
* Picture.cs:
Scale boolean
* ListBox.cs:
remove debug loading time
Diffstat (limited to 'src/GraphicObjects/ListBox.cs')
| -rw-r--r-- | src/GraphicObjects/ListBox.cs | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/GraphicObjects/ListBox.cs b/src/GraphicObjects/ListBox.cs index 4222bc50..9b5ea73f 100644 --- a/src/GraphicObjects/ListBox.cs +++ b/src/GraphicObjects/ListBox.cs @@ -85,10 +85,10 @@ namespace go if (data == null) return; - #if DEBUG - Stopwatch loadingTime = new Stopwatch (); - loadingTime.Start (); - #endif +// #if DEBUG +// Stopwatch loadingTime = new Stopwatch (); +// loadingTime.Start (); +// #endif MemoryStream ms = new MemoryStream (); using (Stream stream = Interface.GetStreamFromPath (ItemTemplate)) @@ -105,12 +105,12 @@ namespace go ms.Dispose (); - #if DEBUG - loadingTime.Stop (); - Debug.WriteLine("Listbox Loading: {0} ticks \t, {1} ms", - loadingTime.ElapsedTicks, - loadingTime.ElapsedMilliseconds); - #endif +// #if DEBUG +// loadingTime.Stop (); +// Debug.WriteLine("Listbox {2} Loading: {0} ticks \t, {1} ms", +// loadingTime.ElapsedTicks, +// loadingTime.ElapsedMilliseconds, this.ToString()); +// #endif } } |