61 Commits

Author SHA1 Message Date
Steve Streeting
413491fd05 Working on a focusable check box for gamepad support 2021-03-02 12:59:18 +00:00
Steve Streeting
b66805057a Expose OnSelectedOptionChanged to Blueprints 2021-02-25 13:40:35 +00:00
Steve Streeting
c78d01fe55
Merge pull request #1 from alpha-channel-games/master
Update MenuStack.cpp to compile on 4.26
2020-12-17 10:34:24 +00:00
grujicbr
e2dc925ff4 Update MenuStack.cpp to compile on 4.26 2020-12-16 12:59:55 -05:00
Steve Streeting
77d4925712 Stop logging every input change 2020-12-02 13:02:43 +00:00
Steve Streeting
d18887c4c2 Document the rich text input image decorator 2020-11-24 17:34:34 +00:00
Steve Streeting
d81b07871d If height is manually set, derive the width from that not the originally calculated height 2020-11-24 17:30:12 +00:00
Steve Streeting
df20383558 Now dealing with image size / aspect ratio changes in embedded rich text images 2020-11-24 15:34:57 +00:00
Steve Streeting
d33ed25bad Dynamic changing of input image embedded in Rich Text now working 2020-11-24 13:09:00 +00:00
Steve Streeting
016e3977cf Pass initial sprite to Slate widget, it can't look it up because Construct happens in another thread? 2020-11-24 12:01:03 +00:00
Steve Streeting
1904476cc4 Cannot support custom theme in decorator, UE provides no UI to edit properties of decorators 2020-11-24 12:00:27 +00:00
Steve Streeting
3273836f3d Make SetBrushFromAtlas static for convenience 2020-11-24 11:58:48 +00:00
Steve Streeting
4c22341052 Even more safety 2020-11-23 12:52:55 +00:00
Steve Streeting
38d126ac64 Init state 2020-11-23 12:43:11 +00:00
Steve Streeting
6ad5b24b5f Safety check - if you ever call GetSubsystem() in editor code it crashes 2020-11-23 12:42:54 +00:00
Steve Streeting
3a209b3cfb First pass of creating an inline rich text image based on input mappings 2020-11-23 11:52:37 +00:00
Steve Streeting
183a601170 Useful utility to set Brush content from a sprite without using a UImage 2020-11-23 11:50:40 +00:00
Steve Streeting
b5bdc5141c Remove unnecessary includes 2020-11-23 11:50:06 +00:00
Steve Streeting
a2ca3076e9 Refactor input image lookup logic into GameSubsystem so it can be reused elsewhere 2020-11-20 17:41:26 +00:00
Steve Streeting
70bce95d3b Mention SetFocusProperly 2020-11-20 15:04:41 +00:00
Steve Streeting
b1b790d38e Mention FocusableUserWidget in FocusablePanel docs 2020-11-20 15:01:53 +00:00
Steve Streeting
9545382d1b Document the auto focus behaviour added to FocusableUserWidget 2020-11-20 15:00:08 +00:00
Steve Streeting
a4f6647cf6 Auto-focus system now not dependent on MenuStack, just FocusableUserWidget
This allows you to have other FocusableUserWidget subclasses (e.g. single dialogs)
automatically figure out focus between each other
2020-11-19 16:41:04 +00:00
Steve Streeting
918ccc5cc2 Make MenuStack::RemoveFromParent automatically close all menus remaining in the stack 2020-11-19 15:17:12 +00:00
Steve Streeting
9bcfeba9d7 Make Back and Instant Close inputs configurable in MenuStack (and removable) 2020-11-19 15:16:39 +00:00
Steve Streeting
0baefab436 Safety checks over PlayerController on shutdown in MenuStack 2020-11-19 15:05:46 +00:00
Steve Streeting
793e56051d Safety check 2020-11-19 13:36:02 +00:00
Steve Streeting
c964c990c0 Oops forgot new files 2020-11-19 13:35:53 +00:00
Steve Streeting
5af66f2243 Add MenuSystem which is capable of handling to focus between multiple MenuStacks, so that a closed stack can give focus back to the next most important stack automatically 2020-11-19 13:33:22 +00:00
Steve Streeting
f75706abc4 Make MenuStack able to restore input modes, game pause state and mouse pointer on exit 2020-11-18 15:47:50 +00:00
Steve Streeting
9e13cc8d53 Separated the ability of a user widget to intercept all input into its own thing 2020-11-18 15:12:01 +00:00
Steve Streeting
983396f86a Document option widget 2020-10-27 14:14:07 +00:00
Steve Streeting
532ab9bc79 Expose more function to blueprints 2020-10-27 14:05:52 +00:00
Steve Streeting
d0bbcc6c69 Moved default focus rendering info to focus button page 2020-10-27 11:49:00 +00:00
Steve Streeting
e68c680fd9 Make widget summary more readable 2020-10-27 11:48:22 +00:00
Steve Streeting
6f35abb62a Add FocusablePanel doc 2020-10-27 11:47:51 +00:00
Steve Streeting
4515692e71 Merge branch 'master' of github.com:sinbad/StevesUEHelpers 2020-10-27 10:17:56 +00:00
Steve Streeting
004528223c Added FocusableButton docs 2020-10-27 10:17:52 +00:00
Steve Streeting
c0650d2c09 Seems we need to SynchronizeProperties more often to make sure slate widgets get style 2020-10-26 17:40:49 +00:00
Steve Streeting
7baf07f29b Support setting up Options widget content in design view 2020-10-26 17:40:49 +00:00
Steve Streeting
526b2fed1b Document how MenuStack is a good place to change input mode, game pause etc 2020-10-26 15:42:15 +00:00
Steve Streeting
23585b1ae1 Fix case on link 2020-10-26 15:36:56 +00:00
Steve Streeting
96509250c8 Document the GameViewportClient customisation 2020-10-26 15:35:47 +00:00
Steve Streeting
c107be9d7b Add gif for InputImage as example 2020-10-26 15:11:35 +00:00
Steve Streeting
52915aa105 MenuStack can now change the input mode, game pause and mouse visibility on enter & exit if required 2020-10-26 14:57:33 +00:00
Steve Streeting
167741cfbb Add dedicated UiTheme docs, and document InputImage 2020-10-26 13:05:41 +00:00
Steve Streeting
03e6b8f543 Add link to examples project 2020-10-23 17:53:08 +01:00
Steve Streeting
e4d22dc20e Example of pushing a menu by class 2020-10-23 17:46:15 +01:00
Steve Streeting
eaca0d4a18 Menus section first draft 2020-10-23 17:38:23 +01:00
Steve Streeting
0b26f9b937 Tweaked images a little and reduced game instance discussion in root 2020-10-23 13:03:13 +01:00