Commit Graph
22 Commits
Author SHA1 Message Date
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 WilsonandGitHub 799b1edb06 Particles data driven (#388)
* yay, a start on data driven particles

* added data driven support for all particle profiles

* pretty much finished all of the particle serialization code

* resolved an inconsistency with the interpolators
2017-05-09 23:48:29 +10:00
Dylan Wilson 1788c25a3c added a sandbox hello world project for experimenting 2017-05-05 22:54:32 +10:00
Dylan Wilson 1952bbe784 reworking the gui demo and fixing things on the way 2017-05-02 22:13:21 +10:00
Dylan Wilson 571f531843 gui list box item selection and adding items from styles 2017-03-29 22:32:26 +10:00
Dylan Wilson 4054a3cdb4 stripped the new demo back to basics 2017-03-26 22:06:40 +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 719a779e85 a few tweaks to the gui skinning system 2017-02-15 23:03:26 +10:00
Dylan Wilson a75d8deb5a enforce c# 6.0 language version at least until VS2017 comes out of RC 2017-02-09 22:45:52 +10:00
Dylan Wilson 99111c2b6e nested gui controls 2017-02-06 20:46:47 +10:00
Dylan Wilson 3099efe8f3 loading panels and buttons from skin files 2017-02-05 21:01:12 +10:00
Dylan Wilson f3252492f3 in the middle of loading gui screens from a file 2017-02-02 23:14:40 +10:00
Dylan Wilson 4365b1cec8 code cleanup mostly in the gui and serialization namespaces 2017-01-31 20:52:27 +10:00
Dylan Wilson 83c7015d21 rendering nine patches from the gui skin 2017-01-31 20:10:40 +10:00
Dylan Wilson a06018b923 almost there with nine patch regions in the gui skin 2017-01-31 17:57:00 +10:00
Dylan Wilson cd7b45d6a2 loading gui skins from a file with the exception of 9 patches 2017-01-30 22:51:01 +10:00
Dylan Wilson 6daa0a4c34 partial gui skin serializing 2017-01-24 20:59:12 +10:00
Dylan Wilson 7bfd6ef789 removed the old gui code and slowly started replacing it with the new 2016-12-13 22:56:19 +10:00
Dylan Wilson 4017ebf483 a little resharper code cleanup 2016-12-01 20:10:41 +10:00
Dylan Wilson 3d79d52917 removed texture atlas from raw xml 2016-11-30 22:14:14 +10:00
Dylan Wilson c672a4d718 split the old gui code out into it's own project 2016-11-17 20:36:40 +10:00