Commit Graph

50 Commits

Author SHA1 Message Date
Jamie Dale
7acb1b77bd Fixed some new code that was providing text to Slate as FString rather than FText
UETOOL-213 - Minimize Slate FString -> FText conversion (remove SLATE_TEXT_ATTRIBUTE)

[CL 2455943 by Jamie Dale in Main branch]
2015-02-23 06:32:47 -05:00
Matthew Griffin
c9100b5417 [INTEGRATE] Change 2438567 by Nick.Darnell@Nick.Darnell_Dev on 2015/02/09 14:54:19
Editor - The new project dialog has gotten a bit of a visual facelift for the buttons.

[CL 2447027 by Matthew Griffin in Main branch]
2015-02-16 09:25:37 -05:00
Matthew Griffin
67725ee47a [INTEGRATE] Change 2437865 by bruce.nesbit@bnesbit_Releases on 2015/02/09 08:32:02
Fixed default to including starter content
	revised code that creattes starter content combo

[CL 2446986 by Matthew Griffin in Main branch]
2015-02-16 09:00:23 -05:00
Matthew Griffin
46017e2942 [INTEGRATE] Change 2437737 by Andrew.Rodham@AndrewRodham_4.7 on 2015/02/09 05:49:56
Fixed visual studio not opening when creating a code project

	This was a regression caused by 2428764, and addresses UE-9212 - Creating a code project does not bring up IDE

[CL 2446978 by Matthew Griffin in Main branch]
2015-02-16 08:44:26 -05:00
Matthew Griffin
22eeea71b2 [INTEGRATE] Change 2437237 by bruce.nesbit@bnesbit_release_port_edit on 2015/02/08 04:38:39
switch class/asset position in new project dialog

[CL 2446973 by Matthew Griffin in Main branch]
2015-02-16 08:42:27 -05:00
Matthew Griffin
af7f8cb8f5 [INTEGRATE] Change 2434517 by Matt.Kuhlenschmidt@matt_kuhlenschmidt_main on 2015/02/05 19:13:26
Starter content is now enabled by default and saves the user preference properly

[CL 2446705 by Matthew Griffin in Main branch]
2015-02-16 04:11:04 -05:00
Matthew Griffin
88cfbec7ee [INTEGRATE] Change 2431754 by Mike.Fricker@MFRICKER_G3686_Alpha on 2015/02/04 10:51:41
Don't auto-open Visual Studio when compiling a new C++ Rocket project failed (that case was handled already)

[CL 2438198 by Matthew Griffin in Main branch]
2015-02-09 11:35:31 -05:00
Matthew Griffin
e28b21cdd7 [INTEGRATE] Change 2431742 by Mike.Fricker@MFRICKER_G3686_Alpha on 2015/02/04 10:41:45
Don't open Visual Studio/Xcode for a new Rocket C++ project until after we've finished compiling it

[CL 2438176 by Matthew Griffin in Main branch]
2015-02-09 11:22:02 -05:00
Matthew Griffin
e3fc803cec [INTEGRATE] Change 2431516 by bruce.nesbit@bnesbit_Releases on 2015/02/04 06:23:58
Revised starter content so it is inserted into projects using feature packs.
	Removed StarterContent source data from rocket build.

[CL 2438072 by Matthew Griffin in Main branch]
2015-02-09 10:40:24 -05:00
Matthew Griffin
fe42b5933a [INTEGRATE] Change 2428764 by Mike.Fricker@MFRICKER_G3686_Alpha on 2015/02/02 17:10:37
Always open Visual Studio or Xcode for newly-created code projects
	- Also, fixed a minor bug with text in the New Project Wizard (UE-8859)

[CL 2435555 by Matthew Griffin in Main branch]
2015-02-06 11:51:07 -05:00
Matthew Griffin
39444ccac0 [INTEGRATE] Change 2425651 by Mike.Fricker@MFRICKER_G3686_Alpha on 2015/01/30 09:23:54
New Project Wizard UI text clean-up
	- Switched to rich text and use a bold highlight on some words instead of brackets
	- Turned on automatic text wrapping and removed newlines
	- Re-phrased some of the field descriptions to read more nicely

[CL 2433322 by Matthew Griffin in Main branch]
2015-02-05 05:40:14 -05:00
Ben Marsh
1c40f1aaff [INTEGRATE] Change 2423672 by Ben.Marsh@Ben.Marsh_T3245_Clean on 2015/01/29 08:58:34
Disable starter content by default.

[CL 2425934 by Ben Marsh in Main branch]
2015-01-30 11:31:58 -05:00
Ben Marsh
d5c7cc09c4 [INTEGRATE] Change 2418609 by bruce.nesbit@bnesbit_Releases on 2015/01/26 10:18:10
Removed some now redundant code relating to new projects having a feature pack.

[CL 2419734 by Ben Marsh in Main branch]
2015-01-26 20:21:15 -05:00
Ben Marsh
c0778b678d [INTEGRATE] Change 2418552 by James.Golding@JGOLDING-T2781-CODE on 2015/01/26 08:58:56
UE-7891 Remove 'feature pack' icons, and change text to explain that any template features can be added later.
	#codereview bruce.nesbit

[CL 2419722 by Ben Marsh in Main branch]
2015-01-26 20:18:43 -05:00
Ben Marsh
e808e574ca Only auto-compile newly created projects if we're running a Rocket editor. Other editors may require rebuilding binaries, which will fail with the current editor open.
[CL 2411244 by Ben Marsh in Main branch]
2015-01-19 15:01:55 -05:00
Dan Hertzka
8c7348dc9b Replaced the "Get Visual Studio" hyperlink in the SNewProjectWizard and SNewClassDialog with an "Install Visual Studio" button on Windows
- Added IDesktopPlatform::GetUserTempPath() and implemented it for windows
- Created SGetSuggestedIDEWidget class that handles whether to show a "Download X" hyperlink vs. an "Install X" button (depending on whether the platform supports on-demand installation)
- Analytics event added ("Editor.Usage.InstalledIDE") that fires whenever the "Install X" button is clicked
- Changed SourceCodeIDEURL_Windows in BaseEditor.ini from the VSC 2013 web page link to the installer download link (need to replace with perma-link once we have it)

[CL 2409158 by Dan Hertzka in Main branch]
2015-01-16 13:29:54 -05:00
bruce nesbit
1f1873fc3e Code to support 'has feature pack' flag in templatedefs file
Also added code to display an icon on templates that have an equivalent feature pack.
Revised new project text to indicated what the icon is for.

[CL 2404695 by bruce nesbit in Main branch]
2015-01-13 10:35:31 -05:00
Jamie Dale
a569f6b356 Fixed code relying on SLATE_TEXT_ATTRIBUTE for STextBlock.
UETOOL-213 - Minimize Slate FString -> FText conversion (remove SLATE_TEXT_ATTRIBUTE)

This fixes any editor/engine specific code that was passing text to Slate as FString rather than FText.

[CL 2399803 by Jamie Dale in Main branch]
2015-01-07 09:52:40 -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
bruce nesbit
cf94655d51 Changed source folder thumb/screen shot used by templates so it can share the asset with feature packs
revised code pack insert (now replaces feature pack header name on import instead of using %MODULE_INCLUDE_PATH%

[CL 2388691 by bruce nesbit in Main branch]
2014-12-15 11:36:33 -05:00
Ben Marsh
4d275b2721 Immediately compile and open new code projects (rather than opening the IDE and requiring the user do it themselves).
#codereview lauren.ridge

[CL 2386116 by Ben Marsh in Main branch]
2014-12-11 16:39:39 -05:00
Frank Fella
29057592b6 NewProjectWizard - Fix text flicker on tab switch.
[CL 2385978 by Frank Fella in Main branch]
2014-12-11 15:09:40 -05:00
Nick Darnell
90e793745c Slate - ESlateCheckBoxState has been renamed to ECheckBoxState.
[CL 2384008 by Nick Darnell in Main branch]
2014-12-10 14:24:09 -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
bruce nesbit
473df14d28 Revised starter content to use asset pack
Moved starter content assets
Added mobile starter content assets
Starter content uses mobile starter content based on target platform

[CL 2372343 by bruce nesbit in Main branch]
2014-12-01 08:44:00 -05:00