Commit Graph
120 Commits
Author SHA1 Message Date
Dylan WilsonandGitHub e962cec448 A mix between Tiled and GUI stuff (#553)
* mostly restored the tiled importer unit tests

* code cleanup

* code cleanup

* almost got tiled maps serialization independent of the content pipeline

* refactored the tiled map content importer so that tiled maps can be loaded at runtime

* code cleanup

* removed nuspec files

* experimenting with an XML based GUI markup parser

* a few more markup parser features

* finally got a working open file dialog

* experimenting with markup bindings

* attached properties

* working on the gui stuff again

* working on a better textbox

* multiline textboxing

* new text box is really coming along

* removed the content explorer experiment

* restored the old gui demo back to the way it was before (for now)
2018-10-09 22:18:48 +10:00
YHHandDylan Wilson 36efebeba4 fix reflection bug (#548)
* fix reflection bug

* fix
2018-09-18 11:49:20 +10:00
Dylan Wilson 50bf89faf5 made the monogame pcl a private asset in the nuget packages and fixed a few things in the cake build 2018-07-10 22:12:55 +10:00
Dylan Wilson 2791d4347a do away with the old nuspec files 2018-05-24 21:36:15 +10:00
Dylan Wilson 2ec6df4db4 added nuget package metadata 2018-05-17 22:25:07 +10:00
Dylan Wilson 0121a2b9c5 dotnet standard 2.0 baby! 2018-05-09 21:58:40 +10:00
Dylan Wilson 9367871aea implemented mouse and keyboard extended 2018-04-16 23:41:43 +10:00
Dylan Wilson f523efabe4 fixed some clipping rectangle issues 2018-03-28 22:56:18 +10:00
Dylan Wilson 95e1ab0881 composite controls sort of solve half the problems 2018-03-28 22:45:32 +10:00
Dylan Wilson 7d42751468 added min/max width/height to gui controls 2018-03-23 22:37:01 +10:00
Dylan Wilson 8962541d36 toggle button 2018-03-18 21:32:33 +10:00
Dylan Wilson 1a92da00dd fixed some layout bugs and other things 2018-03-16 21:23:40 +10:00
Dylan Wilson 1ad2838b1c basic controls demo coming together 2018-03-12 21:31:24 +10:00
Dylan Wilson 990e6e671e content control working fairly well now 2018-03-11 22:07:32 +10:00
Dylan Wilson 6fe96395b8 proper dock panels with attached dock properties 2018-03-09 23:34:39 +10:00
Dylan Wilson a206ed4143 so many things are so nice now 2018-03-09 22:44:10 +10:00
Dylan Wilson 24d38fe820 implemented content size and actual size methods 2018-03-09 14:29:06 +10:00
Dylan Wilson 85e7b94201 fixed a padding bug in the stack panel 2018-03-09 12:50:36 +10:00
Dylan Wilson 22ed12d816 gui screens can only have one content item 2018-03-09 11:44:20 +10:00
Dylan Wilson 99e7b125ed restored the basic functionality of list box and combo box 2018-03-07 21:32:58 +10:00
Dylan Wilson 1381988b83 restored text box foreground 2018-03-07 21:27:09 +10:00
Dylan Wilson fe6579cf4d client size changed 2018-03-07 20:57:57 +10:00
Dylan Wilson 80b74b5155 in the middle of refactoring content controls 2018-03-06 21:40:50 +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 c9a4cf37a9 default combo box style 2018-03-05 21:06:28 +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 1cbe32e917 experimenting with data binding in the gui 2018-02-25 23:00:37 +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
Dylan Wilson 4126e68fb3 merge commit 2018-02-07 22:20:05 +10:00
Dylan Wilson ad03ad3251 removed most of the compiler warnings about missing XML docs 2018-02-07 22:13:43 +10:00
Jon SeamanandDylan Wilson 5470a52e05 Added XML docs to NuGet (#460) 2018-02-01 20:14:59 +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
Dylan Wilson cf2a97259f proper disposal of buffers 2017-11-21 21:00:34 +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
Rafael AlmeidaandDylan Wilson 5a7f012bff Added support for icons on buttons (#438) 2017-11-21 10:14:40 +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 4eae631af2 fixed some bugs in gui text box 2017-05-23 20:42:09 +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 b89b9c7772 improved feature demo selection 2017-04-29 21:46:18 +10:00
Dylan Wilson 0227935b7e pretty rough but somewhat improved demo selection 2017-04-29 21:07:12 +10:00
Dylan Wilson a0e9364ba3 merged changes in gui control 2017-04-29 14:02:16 +10:00
Dylan Wilson 1d55e72ebc fixed a broken unit test 2017-04-28 23:04:41 +10:00
Dylan Wilson 14bf2254d7 finally sorted out most of the gui layout issues 2017-04-28 23:01:10 +10:00