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

Classes

class  Extra
 

Public Member Functions

override object CreateExtra ()
 
override void OnActivate ()
 
void _OnChangeMode ()
 
override void OnChangeResolution ()
 
void FixSize ()
 
void Build ()
 
UIButton AddButton (LayoutGroup _layout, string id, Action action, bool enableSubtext=false)
 
override void OnSetContextMenu (UIContextMenu m)
 
- Public Member Functions inherited from Widget
void Test ()
 
bool IsInRightMode ()
 
void Activate ()
 
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 ()
 
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)
 
void SetGridContextMenu (UIContextMenu m)
 
void SoundActivate ()
 

Static Public Member Functions

static void OnChangeMode ()
 
- Static Public Member Functions inherited from EMono
static int rnd (int a)
 

Public Attributes

LayoutGroup layout
 
LayoutGroup layout2
 
UIButton mold
 
RawImage imageGrid
 
int maxWidth
 
int marginLeft
 
int marginRight
 
UIButton buttonHome
 
UIButton buttonBuild
 
UIButton buttonPeople
 
UIButton buttonGlobalMap
 
- Public Attributes inherited from Widget
Image imageBG
 
SoundData soundActivate
 
UIDragPanel dragPanel
 
RectTransform tipPivotLeft
 
RectTransform tipPivotRight
 

Static Public Attributes

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

Properties

WidgetMenuPanel.Extra extra [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 }
 
- 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 WidgetMenuPanel.cs.

Member Function Documentation

◆ _OnChangeMode()

void WidgetMenuPanel._OnChangeMode ( )

Definition at line 52 of file WidgetMenuPanel.cs.

◆ AddButton()

UIButton WidgetMenuPanel.AddButton ( LayoutGroup _layout,
string id,
Action action,
bool enableSubtext = false )

Definition at line 97 of file WidgetMenuPanel.cs.

◆ Build()

void WidgetMenuPanel.Build ( )

Definition at line 75 of file WidgetMenuPanel.cs.

◆ CreateExtra()

override object WidgetMenuPanel.CreateExtra ( )
virtual

Reimplemented from Widget.

Definition at line 9 of file WidgetMenuPanel.cs.

◆ FixSize()

void WidgetMenuPanel.FixSize ( )

Definition at line 70 of file WidgetMenuPanel.cs.

◆ OnActivate()

override void WidgetMenuPanel.OnActivate ( )
virtual

Reimplemented from Widget.

Definition at line 35 of file WidgetMenuPanel.cs.

◆ OnChangeMode()

static void WidgetMenuPanel.OnChangeMode ( )
static

Definition at line 43 of file WidgetMenuPanel.cs.

◆ OnChangeResolution()

override void WidgetMenuPanel.OnChangeResolution ( )
virtual

Reimplemented from Widget.

Definition at line 64 of file WidgetMenuPanel.cs.

◆ OnSetContextMenu()

override void WidgetMenuPanel.OnSetContextMenu ( UIContextMenu m)
virtual

Reimplemented from Widget.

Definition at line 114 of file WidgetMenuPanel.cs.

Member Data Documentation

◆ buttonBuild

UIButton WidgetMenuPanel.buttonBuild

Definition at line 156 of file WidgetMenuPanel.cs.

◆ buttonGlobalMap

UIButton WidgetMenuPanel.buttonGlobalMap

Definition at line 164 of file WidgetMenuPanel.cs.

◆ buttonHome

UIButton WidgetMenuPanel.buttonHome

Definition at line 152 of file WidgetMenuPanel.cs.

◆ buttonPeople

UIButton WidgetMenuPanel.buttonPeople

Definition at line 160 of file WidgetMenuPanel.cs.

◆ imageGrid

RawImage WidgetMenuPanel.imageGrid

Definition at line 139 of file WidgetMenuPanel.cs.

◆ Instance

WidgetMenuPanel WidgetMenuPanel.Instance
static

Definition at line 127 of file WidgetMenuPanel.cs.

◆ layout

LayoutGroup WidgetMenuPanel.layout

Definition at line 130 of file WidgetMenuPanel.cs.

◆ layout2

LayoutGroup WidgetMenuPanel.layout2

Definition at line 133 of file WidgetMenuPanel.cs.

◆ marginLeft

int WidgetMenuPanel.marginLeft

Definition at line 145 of file WidgetMenuPanel.cs.

◆ marginRight

int WidgetMenuPanel.marginRight

Definition at line 148 of file WidgetMenuPanel.cs.

◆ maxWidth

int WidgetMenuPanel.maxWidth

Definition at line 142 of file WidgetMenuPanel.cs.

◆ mold

UIButton WidgetMenuPanel.mold

Definition at line 136 of file WidgetMenuPanel.cs.

Property Documentation

◆ extra

WidgetMenuPanel.Extra WidgetMenuPanel.extra
get

Definition at line 16 of file WidgetMenuPanel.cs.


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