Commit Graph

14 Commits

Author SHA1 Message Date
Nick Darnell
3da7a67f2d UMG - General cleanup of the horizontal box.
[CL 2253333 by Nick Darnell in Main branch]
2014-08-12 14:34:49 -04:00
Nick Darnell
9f188a7239 UMG - Adding the beginning of a viewport widget. Fixing many bugs with widget lifetimes, renaming GetWidget to TakeWidget so that is better reflects the reality of what is happening, or will happen in the future. There's now a GetCachedWidget call that is what you should use when you just want the underlying Slate widget but don't want to create it. Improving my QA game sandbox to include a viewport and now the dynamic list of players allows you to add new players and shows off dynamic adding and removing.
[CL 2225772 by Nick Darnell in Main branch]
2014-07-21 14:20:34 -04:00
Nick Darnell
3942e79f84 UMG - Fixing leaky PIE, by having a single point where GCRef container widgets when destroyed command their owned widget to destroy any native slate shared pointers they may be tracking that could be keeping other objects in memory. All widgets and slots get an opportunity to handle this when their hierarchy is being destroyed.
[CL 2223848 by Nick Darnell in Main branch]
2014-07-18 16:14:03 -04:00
Nick Darnell
007bd651f4 UMG - Better control over mouse absorbing. The upper level objects don't automatically absorb clicks, the user can just set a border that absorbs them on their UI if that's important to them. Improved styling support in widgets, several more common widgets now support a style.
[CL 2122542 by Nick Darnell in Main branch]
2014-06-30 18:18:16 -04:00
Nick Darnell
b9375ebc76 UMG - Fixing drag/drop previews for widgets on the canvas. Fixing a few crash bugs. UPanelSlot now has virtual functions for setting the slots desired position and size, some panels may use it, some may not.
[CL 2115861 by Nick Darnell in Main branch]
2014-06-24 17:13:13 -04:00
Nick Darnell
1b89c3734e UMG - Vastly simplifying the boiler plate code needed to wrap a slate panel. This change will make it much easier to expose everything to blueprints. Previous UMG assets may not work correctly after this change.
[CL 2114572 by Nick Darnell in Main branch]
2014-06-23 18:09:49 -04:00
Nick Darnell
4214005b22 UMG - Working on icons for the widgets that appear in the tree.
[CL 2110384 by Nick Darnell in Main branch]
2014-06-19 09:32:13 -04:00
Nick Darnell
71e4d1c78a UMG - Working on syncing selection. Slots are no longer a transient parenting system. They're now a serialized part of the data, because they'll be nessesary at runtime. Adding a do-nothing slot to content widgets to act as a parent pointer proxy.
[CL 2108256 by Nick Darnell in Main branch]
2014-06-17 12:40:49 -04:00
Nick Darnell
97fbab4a9d UMG - Fixing bug with dragging out widgets not being removed. Undo fixes. General cleanup.
[CL 2108076 by Nick Darnell in Main branch]
2014-06-17 09:31:20 -04:00
Nick Darnell
ab8214a2eb UMG - Adding the WidgetSwitcher. Fixing some runtime slot creation issues.
[CL 2107361 by Nick Darnell in Main branch]
2014-06-16 16:07:10 -04:00
Nick Darnell
53026bd801 UMG - Drop Previews, Design Time variable display of widgets (dashed border around invisible widgets), capable of dynamically adding widgets to several container objects. Adding events to the UMG Border. Having more widgets implement SyncronizeProperties so that we can live update the preview without rebuilding the entire blueprint. Fixing more anchoring issues with the new canvas layout panel.
[CL 2106268 by Nick Darnell in Main branch]
2014-06-15 15:40:45 -04:00
Nick Darnell
d22dd03d11 SLATE / UMG - Working on undo/redo. All the attributes of STextBlock can now be set through method calls after construction.
[CL 2099075 by Nick Darnell in Main branch]
2014-06-09 11:15:12 -04:00
Nick Darnell
45d8150fec UMG - Designer revamp, how properties are migrated, which objects are changed...etc. Widget selection is now better at handling previews disappearing. Lots of cleanup. The designer now live edits the preview, and the changes are migrated back to the templates, probably a bit buggy right now. All widgets must now implement SyncronizeProperties so that the designer can update the visuals without completely regenerating the GUI.
[CL 2097096 by Nick Darnell in Main branch]
2014-06-06 09:38:31 -04:00
Nick Darnell
d5fece5a02 UMG - Breaking backwards compatibility with a massive rename pass. Adding more documentation.
[CL 2091017 by Nick Darnell in Main branch]
2014-06-01 00:15:23 -04:00