Commit Graph
28 Commits
Author SHA1 Message Date
YHHandDylan Wilson 36efebeba4 fix reflection bug (#548)
* fix reflection bug

* fix
2018-09-18 11:49:20 +10:00
Dylan Wilson 1a92da00dd fixed some layout bugs and other things 2018-03-16 21:23:40 +10:00
Dylan Wilson 990e6e671e content control working fairly well now 2018-03-11 22:07:32 +10:00
Dylan Wilson a206ed4143 so many things are so nice now 2018-03-09 22:44:10 +10:00
Dylan Wilson 22ed12d816 gui screens can only have one content item 2018-03-09 11:44:20 +10:00
Dylan Wilson fe6579cf4d client size changed 2018-03-07 20:57:57 +10:00
Dylan Wilson f5c8040270 new content and items base classes for gui controls 2018-03-05 23:03:13 +10:00
Dylan Wilson 0c8ccf5125 dropped the gui prefix on most of the gui stuff 2018-03-05 22:06:57 +10:00
Dylan Wilson 1c7691643f simplified the gui skinning system 2018-03-04 22:30:02 +10:00
Dylan Wilson ea1ad9221e started refactoring the gui system a little 2018-03-04 21:47:54 +10:00
Dylan Wilson bbec589838 improvements to the gui system 2018-02-22 22:49:31 +10:00
Dylan Wilson a99d00a8f7 code cleanup 2018-02-21 22:21:40 +10:00
Dylan Wilson fba291e8e6 code cleanup 2018-02-13 22:31:20 +10:00
tspayne87andDylan Wilson 61614b5ffa [GUI] Binding Context / Control Style Fixes (#443)
* Adding in changes to deal with custom control types for loading from a GuiScreen, also adding in block text if a width for the element exists.  Adding in Padding to some elements to give the developer some more options in styles.  Adding in some changes to the textbox to deal with selecting a section of text.

* Adding in a few changes to deal with propagation down the GuiControl tree, this was added to most events.  Also, adding in the idea of a form and submit button to deal with keyboard controls when inside of a form.  This gives simalar behavier to how forms work in the browser.

* Adding in the enter key skip for the textbox.

* Fixing issue where GuiSystem would call initialize twice

* Adding in a fix for Issue #428, by leveraging the propegation system to deal with hover styles.

* Adding in some changes to seperate the global binding context and have it isolated in the screen.  Also adding in code to deal with a global style binding as well.
2017-12-17 21:36:10 +10:00
tspayne87andDylan Wilson 97d237f11f [GUI] Propegation changed also adding in fix for Issue #428 (#441)
* Adding in changes to deal with custom control types for loading from a GuiScreen, also adding in block text if a width for the element exists.  Adding in Padding to some elements to give the developer some more options in styles.  Adding in some changes to the textbox to deal with selecting a section of text.

* Adding in a few changes to deal with propagation down the GuiControl tree, this was added to most events.  Also, adding in the idea of a form and submit button to deal with keyboard controls when inside of a form.  This gives simalar behavier to how forms work in the browser.

* Adding in the enter key skip for the textbox.

* Fixing issue where GuiSystem would call initialize twice

* Adding in a fix for Issue #428, by leveraging the propegation system to deal with hover styles.
2017-11-26 20:48:57 +10:00
tspayne87andDylan Wilson 46f3f99b39 [GUI] Adding support for parent propegation, the idea of forms and textbox highlighting (#439)
* Adding in changes to deal with custom control types for loading from a GuiScreen, also adding in block text if a width for the element exists.  Adding in Padding to some elements to give the developer some more options in styles.  Adding in some changes to the textbox to deal with selecting a section of text.

* Adding in a few changes to deal with propagation down the GuiControl tree, this was added to most events.  Also, adding in the idea of a form and submit button to deal with keyboard controls when inside of a form.  This gives simalar behavier to how forms work in the browser.

* Adding in the enter key skip for the textbox.
2017-11-21 10:50:24 +10:00
Dylan WilsonandGitHub b3a631aff5 Gui dialogs (#410)
* started refactoring for gui windows

* a bit more work on gui windows

* fixed some bugs and broken build stuff

* fixed some bugs in gui controls

* a little code cleanup

* got gui dialogs positioning and experimenting with named styles by type

* apply control styles directly in the constructor of controls

* got everything compiling again

* all gui controls have skinnable constructors

* rework uniform grid desired size calculations

* turns out gui layouts are complicated

* include pdb files in nuget packages

* fixed a bug in find nearest glyph

* custom control styling

* added a range constructor overload that takes one value

* rethinking control desired size behaviour

* made particle emitters more editable at runtime

* moved the auto trigger code to the particle effect instead of the emitters

* tweaks

* changed the particle modifer interface to an abstract base with an optional name

* changed the particle modifer interface to an abstract base with an optional name

* an attempt at creating a gui combo box

* rolled back the nested control experiment

* pretty good (but not perfect) combo boxes

* tweaks

* name property bindings on lists

* removed and cleaned up the hacks from the gui combo box

* minor combo box styling tweaks

* minor bug fix in gui combo box

* experiments with data binding

* fixed a mistake on the texture region service interface

* working on the ability to serialize particles

* finished particle serialization

* more robust range deserialization

* added editor browable attributes

* fixed some broken demos

* made the particle modifiers editable at runtime

* fixed some issues with particle serialization

* fixed some issues with interpolators
2017-07-22 21:22:13 +10:00
Dylan Wilson 0227935b7e pretty rough but somewhat improved demo selection 2017-04-29 21:07:12 +10:00
Dylan Wilson 55cec6243f taking into account the text size when calculating desired control size 2017-04-21 22:34:31 +10:00
Dylan Wilson 9f012d87a1 working on the gui layout system 2017-04-19 22:37:04 +10:00
Dylan Wilson c2225dbbcd refactored the demos to share a viewport adapter and camera 2017-04-13 20:30:32 +10:00
Dylan Wilson 4585f9a5c3 added keyboard and mouse scrolling to the gui list box control 2017-04-01 21:14:01 +10:00
Dylan Wilson 4e493fe901 added the ability to click inside a textbox to move the caret 2017-03-17 21:02:32 +10:00
Dylan Wilson 825a68eaca moved the input listeners to thier own nuget package 2017-03-13 20:48:40 +10:00
Dylan Wilson 8e39e0d703 gui touch input mostly working 2017-03-03 22:53:01 +10:00
Dylan Wilson 8fa15aedf6 added clipping rectangles to gui controls so that text is clipped inside the bounds of textbox 2017-02-22 21:19:04 +10:00
Dylan Wilson 258a12f2f9 basic working checkboxes 2017-02-15 21:57:52 +10:00
Dylan Wilson d4d995da56 cleaned up and fixed some issues with keyboard focus 2017-02-15 21:27:36 +10:00