diff options
| author | jpbruyere <jp.bruyere@hotmail.com> | 2015-06-21 15:39:58 +0200 |
|---|---|---|
| committer | jpbruyere <jp.bruyere@hotmail.com> | 2015-06-21 15:39:58 +0200 |
| commit | dc995bd1da98971009454f4efe043d6237d00729 (patch) | |
| tree | 3af8d3a6745e9779edb71de29f3463898a3dedd0 /src/GraphicObjects/Expandable.cs | |
| parent | 746f5cfb60c9a798825e31c2e362cfc817e59d44 (diff) | |
* OpenTK:
* OpenTKGameWindow.cs:
* Tests.csproj:
* GOLIBTest_4.cs:
* GOLIBTest_1.cs:
* Window.goml:
* Listbox.goml:
* test4.goml:
* GOLIBTest_Expandable.cs:
* testExpandable.goml: debug and test
* Colors.cs: debug argb->rgba
* CompilerServices.cs: value type conversion
* Border.cs: default border =1
* Checkbox.cs:
* Expandable.cs: changes in update technic
* Group.cs: Clipping debug (need rework)
* Label.cs: debug text positionning
* Slider.cs: debug
* TextBox.cs: selectable=true by default
Diffstat (limited to 'src/GraphicObjects/Expandable.cs')
| -rw-r--r-- | src/GraphicObjects/Expandable.cs | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/GraphicObjects/Expandable.cs b/src/GraphicObjects/Expandable.cs index 369930a8..8b3f4b1a 100644 --- a/src/GraphicObjects/Expandable.cs +++ b/src/GraphicObjects/Expandable.cs @@ -54,8 +54,8 @@ namespace go return;
_image.SvgSub = "collapsed";
- this.Expand += (object sender, EventArgs e) => {_image.SvgSub = "expanded";};
- this.Collapse += (object sender, EventArgs e) => {_image.SvgSub = "collapsed";};
+// this.Expand += (object sender, EventArgs e) => {};
+// this.Collapse += (object sender, EventArgs e) => {};
}
@@ -86,18 +86,20 @@ namespace go else
onCollapse (this, null);
- registerForGraphicUpdate();
+ //registerForGraphicUpdate();
}
}
public virtual void onExpand(object sender, EventArgs e)
{
_contentContainer.Visible = true;
+ _image.SvgSub = "expanded";
Expand.Raise (this, e);
}
public virtual void onCollapse(object sender, EventArgs e)
{
_contentContainer.Visible = false;
+ _image.SvgSub = "collapsed";
Collapse.Raise (this, e);
}
|