Navigation
API > API/Plugins > API/Plugins/NetcodeUnitTest
Basic window manager, for handling tiling of unit test log windows.
How this works: Upon initialization, takes the average dimensions of a log window, and of the desktop working area, and maps out a grid for fitting the log windows onto the desktop - nothing more complicated than that
| Name | FLogWindowManager |
| Type | class |
| Header File | /Engine/Plugins/NetcodeUnitTest/NetcodeUnitTest/Source/NetcodeUnitTest/Public/UI/LogWindowManager.h |
| Include Path | #include "UI/LogWindowManager.h" |
Syntax
class FLogWindowManager
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FLogWindowManager() |
UI/LogWindowManager.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~FLogWindowManager() |
Base destructorFLogWindowManager | UI/LogWindowManager.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TSharedPtr< SLogWindow > CreateLogWindow
(
FString Title, |
Creates a new log window, and returns a reference | UI/LogWindowManager.h | |
void Initialize
(
int InLogWidth, |
Initializes the log window manager | UI/LogWindowManager.h | |
void OnWindowClosed
(
const TSharedRef< SWindow >& ClosedWindow |
Monitor for closed log windows | UI/LogWindowManager.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
int FindFreeGridPos() |
Finds the next free grid position for the log window NOTE: Instead of searching for the first empty space, tries to create log windows in a row pattern based upon the grid | UI/LogWindowManager.h |