Commit Graph

30 Commits

Author SHA1 Message Date
Richard Hinckley
1b4e4ab4b6 [UE-16409] Added an editor option to prevent tutorial alerts from popping up in the future, including in other projects.
[CL 2577237 by Richard Hinckley in Main branch]
2015-06-04 13:28:50 -04:00
Richard Hinckley
4ba3b8b2f1 [UE-9586] The "Back" button in tutorials can be linked to a different tutorial, like the "Next" button. Tutorials assigned to the "Previous Tutorial" field (new) will be used for this, and will activate the button for this purpose on stage 0. Tutorials started in this way will begin on their final stage. The Launch Tutorial functionality (in code) now uses an enum for startup instead of a bool, so we can force a restart, continue from where we left off (default), or start at the final stage.
[CL 2500370 by Richard Hinckley in Main branch]
2015-04-02 16:56:18 -04:00
Richard Hinckley
3ced32796e [UE-7933] Improved on previous fix so the tutorial itself closes the browser on launch, rather than the browser doing it.
[CL 2489838 by Richard Hinckley in Main branch]
2015-03-24 16:09:29 -04:00
Richard Hinckley
1ec5bc94fb [UE-10992] Dismiss-all added to right-click menu on tutorial button. Stops green pulse animation on all tutorial buttons and saves to config file.
Known minor bug: If multiple windows are open with pulses animating, only the one that is given the "dismiss all" command will stop animating. The others will continue until their windows are closed and reopened, or they are dismissed individually.

[CL 2486244 by Richard Hinckley in Main branch]
2015-03-20 11:54:33 -04:00
Richard Hinckley
3a6648fda1 Dismissing a the tutorial on the Tutorials Browser button stops it from coming back when the editor is restarted, or from launching again when you try to open the browser.
[CL 2483125 by Richard Hinckley in Main branch]
2015-03-18 11:36:12 -04:00
Richard Hinckley
dc4bb930e1 [UE-11086] Dismissing a tutorial doesn't open the tutorial browser.
[CL 2467958 by Richard Hinckley in Main branch]
2015-03-03 15:08:54 -05:00
Richard Hinckley
9328b23c0a Font fix in tutorial loading widget. Minor cleanup (deleted commented-out code) in tutorial button.
[CL 2450161 by Richard Hinckley in Main branch]
2015-02-18 10:25:32 -05:00
Matthew Griffin
209dd5d076 [INTEGRATE] Change 2443386 by Mike.Fricker@MFRICKER_G3686_Alpha on 2015/02/12 09:36:51
Fixed typo in tutorial button tool-tip change

[CL 2449803 by Matthew Griffin in Main branch]
2015-02-18 04:12:47 -05:00
Matthew Griffin
b82070df9f [INTEGRATE] Change 2442585 by Mike.Fricker@MFRICKER_G3686_Alpha on 2015/02/11 18:24:57
Always remind users about tutorials until they complete the tutorial or explicitly dismiss it (UE-9550)
	- Previously, even opening a tutorial once would prevent the reminder beacon for that tutorial to show again, ever.
	- Now, the beacon will be hidden for the remainder of that editor session and reappear the next time, unless the user completed the tutorial
	- The user can also right click on the beacon and choose to "Don't Remind Me Again" which will prevent it from appearing in the future for that specific tutorial (no change in behavior)

	#codereview james.golding, richard.hinckley

[CL 2448756 by Matthew Griffin in Main branch]
2015-02-17 10:48:07 -05:00
Richard Hinckley
af4e486a74 UE-7990 - Fixed with a decent Slate widget.
[CL 2420847 by Richard Hinckley in Main branch]
2015-01-27 14:54:15 -05:00
Ben Marsh
76c1715499 [INTEGRATE] Change 2412170 by Mike.Fricker@MFRICKER_G3686_Alpha on 2015/01/20 09:44:23
Minor tutorial button tooltip cleanups

[CL 2419432 by Ben Marsh in Main branch]
2015-01-26 18:35:08 -05:00
Richard Hinckley
1b463c07e6 Adding SDockTab.h to fix NonUnity compile.
[CL 2418153 by Richard Hinckley in Main branch]
2015-01-25 15:35:47 -05:00
Richard Hinckley
52a6878751 Adding an include file to fix a NonUnity GUBP issue.
[CL 2418123 by Richard Hinckley in Main branch]
2015-01-25 12:04:22 -05:00
Richard Hinckley
a076fd9bb9 UE-7990 fixed the technical issues. Still should have a visual element, like a throbber, to give users some feedback as to why the tutorial window isn't popping up immediately.
[CL 2417904 by Richard Hinckley in Main branch]
2015-01-24 15:00:16 -05:00
Dan Hertzka
1ce19a5ffa Full rename of the Slate "active tick" system to "active timer"
[CL 2394301 by Dan Hertzka in Main branch]
2014-12-19 17:44:49 -05:00
Dan Hertzka
c042ddcb94 ---- Merging with SlateDev branch ----
Introduces the concept of "Active Ticking" to allow Slate to go to sleep when there is no need to update the UI.

While asleep, Slate will skip the Tick & Paint pass for that frame entirely.
- There are TWO ways to "wake" Slate and cause a Tick/Paint pass:
    1. Provide some sort of input (mouse movement, clicks, and key presses). Slate will always tick when the user is active.
        - Therefore, if the logic in a given widget's Tick is only relevant in response to user action, there is no need to register an active tick.
    2. Register an Active Tick. Currently this is an all-or-nothing situation, so if a single active tick needs to execute, all of Slate will be ticked.

- The purpose of an Active Tick is to allow a widget to "drive" Slate and guarantee a Tick/Paint pass in the absence of any user action.
    - Examples include animation, async operations that update periodically, progress updates, loading bars, etc.

- An empty active tick is registered for viewports when they are real-time, so game project widgets are unaffected by this change and should continue to work as before.

- An Active Tick is registered by creating an FWidgetActiveTickDelegate and passing it to SWidget::RegisterActiveTick()
    - There are THREE ways to unregister an active tick:
        1. Return EActiveTickReturnType::StopTicking from the active tick function
        2. Pass the FActiveTickHandle returned by RegisterActiveTick() to SWidget::UnregisterActiveTick()
        3. Destroy the widget responsible for the active tick

- Sleeping is currently disabled, can be enabled with Slate.AllowSlateToSleep cvar
- There is currently a little buffer time during which Slate continues to tick following any input. Long-term, this is planned to be removed.
    - The duration of the buffer can be adjusted using Slate.SleepBufferPostInput cvar (defaults to 1.0f)

- The FCurveSequence API has been updated to work with the active tick system
    - Playing a curve sequence now requires that you pass the widget being animated by the sequence
    - The active tick will automatically be registered on behalf of the widget and unregister when the sequence is complete
    - GetLerpLooping() has been removed. Instead, pass true as the second param to Play() to indicate that the animation will loop. This causes the active tick to be registered indefinitely until paused or jumped to the start/end.

[CL 2391669 by Dan Hertzka in Main branch]
2014-12-17 16:07:57 -05:00
Ben Marsh
149375b14b Update copyright notices to 2015.
[CL 2379638 by Ben Marsh in Main branch]
2014-12-07 19:09:38 -05:00
Thomas Sarkanen
3014bfc0df Moving tutorial browser to an editor nomad tab
Tweaked styles and layout to better suit a tab.
Also fixed browser not showing some tutorials if all assets are not yet loaded.
Progress is now updated periodically as the browser can be now open while a tutorial is in progress.

TTP# 347956 - TUTORIALS: Selecting More Tutorials can hide Tutorial Browser

[CL 2327011 by Thomas Sarkanen in Main branch]
2014-10-13 06:46:06 -04:00
Thomas Sarkanen
dfc9addd05 Tearing off a highlighted widget no longer results in duplicate content being displayed
Tutorials browser now always appears on the mainframe. This avoids the browser appearing on small torn-off windows if content is torn off while a tutorial is in progress.
Also fixed crash when opening a browser from a widget that used to be docked to anotehr tab (weak window pointer was invalid at this point).

TTP# 347014 - EDITOR: TUTORIAL: If a tab is undocked while being referenced in the "welcome to the unreal editor" tutorial, there will be two instances of the tutorial text

[CL 2305366 by Thomas Sarkanen in Main branch]
2014-09-22 09:42:52 -04:00
Thomas Sarkanen
66a8835b2a Internal builds default to not showing tutorial alert pulse
This can be enbled internally by using the -TestTutorialAlerts command line switch.

[CL 2305359 by Thomas Sarkanen in Main branch]
2014-09-22 09:42:41 -04:00
Thomas Sarkanen
696af0bf93 Tutorial alert now dismisses again when tutorial is taken
Undo issue caused by bad merge

#codereview James.Golding

[CL 2303871 by Thomas Sarkanen in Main branch]
2014-09-19 07:03:06 -04:00
James Golding
8469b0fc89 Fix tutorial not displaying if NULL window was passed in
#codereview thomas.sarkanen

[CL 2302957 by James Golding in Main branch]
2014-09-18 16:42:40 -04:00
Thomas Sarkanen
8e1f08352e Fixed tutorial alert dismissal not always working
Tutorial alert also hides when the tutorial is taken.

[CL 2302491 by Thomas Sarkanen in Main branch]
2014-09-18 10:28:16 -04:00
Thomas Sarkanen
b9940a88f4 Tutorial button now provides more context menu options
You can access all context-sensitive options via the right-click menu.

Also exposed the ability to refresh available tutorials (as they may have bene reloaded since).

[CL 2302373 by Thomas Sarkanen in Main branch]
2014-09-18 08:32:42 -04:00
Thomas Sarkanen
f16191a679 CIS fix
[CL 2302316 by Thomas Sarkanen in Main branch]
2014-09-18 08:10:41 -04:00