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

Classes

class  Extra
 

Public Member Functions

override object CreateExtra ()
 
override void OnActivate ()
 
void Init ()
 
void _Add (BaseSticky sticky, bool animate=true)
 
void _Remove (BaseSticky sticky)
 
void Refresh ()
 
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 ()
 
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)
 
void SetGridContextMenu (UIContextMenu m)
 
void SoundActivate ()
 

Static Public Member Functions

static void Add (BaseSticky sticky, bool animate=true)
 
- Static Public Member Functions inherited from EMono
static int rnd (int a)
 

Public Attributes

LayoutGroup layout
 
List< BaseStickylist = new List<BaseSticky>()
 
List< Sprite > icons
 
UIItem mold
 
Anime anime
 
- Public Attributes inherited from Widget
Image imageBG
 
SoundData soundActivate
 
UIDragPanel dragPanel
 
RectTransform tipPivotLeft
 
RectTransform tipPivotRight
 

Static Public Attributes

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

Properties

WidgetSticky.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 7 of file WidgetSticky.cs.

Member Function Documentation

◆ _Add()

void WidgetSticky._Add ( BaseSticky sticky,
bool animate = true )

Definition at line 55 of file WidgetSticky.cs.

◆ _Remove()

void WidgetSticky._Remove ( BaseSticky sticky)

Definition at line 82 of file WidgetSticky.cs.

◆ Add()

static void WidgetSticky.Add ( BaseSticky sticky,
bool animate = true )
static

Definition at line 45 of file WidgetSticky.cs.

◆ CreateExtra()

override object WidgetSticky.CreateExtra ( )
virtual

Reimplemented from Widget.

Definition at line 10 of file WidgetSticky.cs.

◆ Init()

void WidgetSticky.Init ( )

Definition at line 33 of file WidgetSticky.cs.

◆ OnActivate()

override void WidgetSticky.OnActivate ( )
virtual

Reimplemented from Widget.

Definition at line 26 of file WidgetSticky.cs.

◆ OnSetContextMenu()

override void WidgetSticky.OnSetContextMenu ( UIContextMenu m)
virtual

Reimplemented from Widget.

Definition at line 103 of file WidgetSticky.cs.

◆ Refresh()

void WidgetSticky.Refresh ( )

Definition at line 89 of file WidgetSticky.cs.

Member Data Documentation

◆ anime

Anime WidgetSticky.anime

Definition at line 145 of file WidgetSticky.cs.

◆ icons

List<Sprite> WidgetSticky.icons

Definition at line 139 of file WidgetSticky.cs.

◆ Instance

WidgetSticky WidgetSticky.Instance
static

Definition at line 130 of file WidgetSticky.cs.

◆ layout

LayoutGroup WidgetSticky.layout

Definition at line 133 of file WidgetSticky.cs.

◆ list

List<BaseSticky> WidgetSticky.list = new List<BaseSticky>()

Definition at line 136 of file WidgetSticky.cs.

◆ mold

UIItem WidgetSticky.mold

Definition at line 142 of file WidgetSticky.cs.

Property Documentation

◆ extra

WidgetSticky.Extra WidgetSticky.extra
get

Definition at line 17 of file WidgetSticky.cs.


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