8 protected string m_sText;
11 protected ref array<ref SCR_FieldManual_ImageData> m_aImages;
13 [
Attribute(defvalue:
"{68553AA626CD1A40}UI/layouts/Menus/FieldManual/Pieces/FieldManual_Piece_ImageGallery.layout", uiwidget: UIWidgets.EditBoxWithButton,
params:
"layout")]
14 protected ResourceName m_Layout;
19 override void CreateWidget(notnull Widget parent)
21 WorkspaceWidget workspace =
GetGame().GetWorkspace();
23 Widget createdWidget = workspace.CreateWidgets(
m_Layout, parent);
26 Print(
"could not create Image Gallery widget | " + FilePath.StripPath(__FILE__) +
":" + __LINE__, LogLevel.WARNING);
31 if (!m_ImageGalleryComponent)
36 GetGame().OnInputDeviceIsGamepadInvoker().Insert(m_ImageGalleryComponent.Rebuild);
52 GetGame().OnInputDeviceIsGamepadInvoker().Remove(m_ImageGalleryComponent.Rebuild);