Elin Modding Docs Doc
Loading...
Searching...
No Matches
WidgetPopup Class Reference
Inheritance diagram for WidgetPopup:
Widget EMono

Public Member Functions

override void OnActivate ()
 
void OnAddItem (PopupManager.Item item)
 
void Show ()
 
void Show (PopupManager.Item item)
 
void Next ()
 
void Prev ()
 
void Discard ()
 
void AddItem ()
 
void RemoveItem ()
 
- Public Member Functions inherited from Widget
void Test ()
 
bool IsInRightMode ()
 
void Activate ()
 
virtual object CreateExtra ()
 
void Deactivate ()
 
virtual void OnDeactivate ()
 
void Close ()
 
void Reactivate ()
 
virtual void OnManagerActivate ()
 
virtual void OnManagerDeactivate ()
 
void SetAnchor (RectPosition p)
 
void SetPivot (RectPosition p)
 
virtual void OnChangePivot ()
 
void UpdateConfig ()
 
virtual void OnUpdateConfig ()
 
void ClampToScreen ()
 
virtual void OnChangeResolution ()
 
void OnChangePosition ()
 
virtual void OnChangeActionMode ()
 
virtual void OnFlip ()
 
bool IsAlignTop ()
 
Layer AddLayer (Layer l, Transform trans)
 
void RefreshTipPivotPosition ()
 
SkinSet GetSkin ()
 
SkinConfig GetSkinConfig ()
 
void SetSkin (int id, int v=0)
 
void TestSkin ()
 
virtual void ApplySkin ()
 
virtual void OnApplySkin ()
 
void InstantiateDeco (SkinDeco deco)
 
void AddDeco (SkinDeco deco)
 
void RemoveDeco (SkinDeco deco)
 
virtual bool CanShowContextMenu ()
 
void ShowContextMenu ()
 
void SetBaseContextMenu (UIContextMenu m)
 
virtual void OnSetContextMenu (UIContextMenu m)
 
void SetGridContextMenu (UIContextMenu m)
 
void SoundActivate ()
 

Public Attributes

LayoutGroup layout
 
UIText textMain
 
UIText textPage
 
UIImage imageMain
 
PopupManager.Item current
 
- Public Attributes inherited from Widget
Image imageBG
 
SoundData soundActivate
 
UIDragPanel dragPanel
 
RectTransform tipPivotLeft
 
RectTransform tipPivotRight
 

Static Public Attributes

static WidgetPopup Instance
 
- Static Public Attributes inherited from EMono
static Core core
 

Properties

PopupManager PM [get]
 
List< PopupManager.Itemitems [get]
 
- Properties inherited from Widget
string ID [get]
 
Widget.Config config [get]
 
SkinRoot skinRoot [get]
 
bool IsSealed [get]
 
virtual bool ShowStyleMenu [get]
 
virtual bool AlwaysTop [get]
 
virtual bool IsStaticPosition [get]
 
virtual bool AlwaysBottom [get]
 
virtual Type SetSiblingAfter [get]
 
virtual bool ShowInBuildMode [get]
 
virtual bool RightClickToClose [get]
 
virtual bool AllowRightClickToClose [get]
 
- Properties inherited from EMono
static Game game [get]
 
static bool AdvMode [get]
 
static Player player [get]
 
static Chara pc [get]
 
static UI ui [get]
 
static Map _map [get]
 
static Zone _zone [get]
 
static FactionBranch Branch [get]
 
static FactionBranch BranchOrHomeBranch [get]
 
static Faction Home [get]
 
static Scene scene [get]
 
static BaseGameScreen screen [get]
 
static GameSetting setting [get]
 
static GameData gamedata [get]
 
static ColorProfile Colors [get]
 
static World world [get]
 
static SoundManager Sound [get]
 
static SourceManager sources [get]
 
static SourceManager editorSources [get]
 
static CoreDebug debug [get]
 

Additional Inherited Members

- Public Types inherited from Widget
enum  WidgetType { Default , ZoomMenu }
 
enum  State { Active , Inactive }
 
- Static Public Member Functions inherited from EMono
static int rnd (int a)
 
- Protected Member Functions inherited from Widget
void ClampToScreenEnsured (Component c, Vector2 anchoredPos)
 
void ClampToScreen (RectTransform rect, float margin=10f)
 
- Protected Attributes inherited from Widget
bool flip
 

Detailed Description

Definition at line 6 of file WidgetPopup.cs.

Member Function Documentation

◆ AddItem()

void WidgetPopup.AddItem ( )

Definition at line 80 of file WidgetPopup.cs.

◆ Discard()

void WidgetPopup.Discard ( )

Definition at line 73 of file WidgetPopup.cs.

◆ Next()

void WidgetPopup.Next ( )

Definition at line 61 of file WidgetPopup.cs.

◆ OnActivate()

override void WidgetPopup.OnActivate ( )
virtual

Reimplemented from Widget.

Definition at line 29 of file WidgetPopup.cs.

◆ OnAddItem()

void WidgetPopup.OnAddItem ( PopupManager.Item item)

Definition at line 40 of file WidgetPopup.cs.

◆ Prev()

void WidgetPopup.Prev ( )

Definition at line 67 of file WidgetPopup.cs.

◆ RemoveItem()

void WidgetPopup.RemoveItem ( )

Definition at line 86 of file WidgetPopup.cs.

◆ Show() [1/2]

void WidgetPopup.Show ( )

Definition at line 46 of file WidgetPopup.cs.

◆ Show() [2/2]

void WidgetPopup.Show ( PopupManager.Item item)

Definition at line 52 of file WidgetPopup.cs.

Member Data Documentation

◆ current

PopupManager.Item WidgetPopup.current

Definition at line 106 of file WidgetPopup.cs.

◆ imageMain

UIImage WidgetPopup.imageMain

Definition at line 103 of file WidgetPopup.cs.

◆ Instance

WidgetPopup WidgetPopup.Instance
static

Definition at line 91 of file WidgetPopup.cs.

◆ layout

LayoutGroup WidgetPopup.layout

Definition at line 94 of file WidgetPopup.cs.

◆ textMain

UIText WidgetPopup.textMain

Definition at line 97 of file WidgetPopup.cs.

◆ textPage

UIText WidgetPopup.textPage

Definition at line 100 of file WidgetPopup.cs.

Property Documentation

◆ items

List<PopupManager.Item> WidgetPopup.items
get

Definition at line 20 of file WidgetPopup.cs.

◆ PM

PopupManager WidgetPopup.PM
get

Definition at line 10 of file WidgetPopup.cs.


The documentation for this class was generated from the following file: