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

Classes

class  Extra
 

Public Member Functions

override object CreateExtra ()
 
override void OnActivate ()
 
void RefreshBG ()
 
void Append (string s, Point pos=null)
 
void Append (string s, Color col, Point pos=null)
 
void Append (Sprite sprite)
 
void _ToggleLog ()
 
void NewLine ()
 
override void OnSetContextMenu (UIContextMenu m)
 
override void OnChangeResolution ()
 
- 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 HideLog ()
 
static void ToggleLog ()
 
static void Refresh ()
 
- Static Public Member Functions inherited from EMono
static int rnd (int a)
 

Public Attributes

MsgBox box
 
UIItem moldLine
 
int visibleLines
 
Transform layout
 
Sprite spriteElin
 
Sprite spriteDestroy
 
Sprite spriteEther
 
bool newLine = true
 
- Public Attributes inherited from Widget
Image imageBG
 
SoundData soundActivate
 
UIDragPanel dragPanel
 
RectTransform tipPivotLeft
 
RectTransform tipPivotRight
 

Static Public Attributes

static WidgetMainText Instance
 
static MsgBox boxBk
 
- Static Public Attributes inherited from EMono
static Core core
 

Properties

WidgetMainText.Extra extra [get]
 
override bool ShowStyleMenu [get]
 
override bool AlwaysTop [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 5 of file WidgetMainText.cs.

Member Function Documentation

◆ _ToggleLog()

void WidgetMainText._ToggleLog ( )

Definition at line 175 of file WidgetMainText.cs.

◆ Append() [1/3]

void WidgetMainText.Append ( Sprite sprite)

Definition at line 147 of file WidgetMainText.cs.

◆ Append() [2/3]

void WidgetMainText.Append ( string s,
Color col,
Point pos = null )

Definition at line 92 of file WidgetMainText.cs.

◆ Append() [3/3]

void WidgetMainText.Append ( string s,
Point pos = null )

Definition at line 86 of file WidgetMainText.cs.

◆ CreateExtra()

override object WidgetMainText.CreateExtra ( )
virtual

Reimplemented from Widget.

Definition at line 8 of file WidgetMainText.cs.

◆ HideLog()

static void WidgetMainText.HideLog ( )
static

Definition at line 154 of file WidgetMainText.cs.

◆ NewLine()

void WidgetMainText.NewLine ( )

Definition at line 190 of file WidgetMainText.cs.

◆ OnActivate()

override void WidgetMainText.OnActivate ( )
virtual

Reimplemented from Widget.

Definition at line 44 of file WidgetMainText.cs.

◆ OnChangeResolution()

override void WidgetMainText.OnChangeResolution ( )
virtual

Reimplemented from Widget.

Definition at line 266 of file WidgetMainText.cs.

◆ OnSetContextMenu()

override void WidgetMainText.OnSetContextMenu ( UIContextMenu m)
virtual

Reimplemented from Widget.

Definition at line 217 of file WidgetMainText.cs.

◆ Refresh()

static void WidgetMainText.Refresh ( )
static

Definition at line 196 of file WidgetMainText.cs.

◆ RefreshBG()

void WidgetMainText.RefreshBG ( )

Definition at line 80 of file WidgetMainText.cs.

◆ ToggleLog()

static void WidgetMainText.ToggleLog ( )
static

Definition at line 164 of file WidgetMainText.cs.

Member Data Documentation

◆ box

MsgBox WidgetMainText.box

Definition at line 280 of file WidgetMainText.cs.

◆ boxBk

MsgBox WidgetMainText.boxBk
static

Definition at line 277 of file WidgetMainText.cs.

◆ Instance

WidgetMainText WidgetMainText.Instance
static

Definition at line 274 of file WidgetMainText.cs.

◆ layout

Transform WidgetMainText.layout

Definition at line 292 of file WidgetMainText.cs.

◆ moldLine

UIItem WidgetMainText.moldLine

Definition at line 286 of file WidgetMainText.cs.

◆ newLine

bool WidgetMainText.newLine = true

Definition at line 305 of file WidgetMainText.cs.

◆ spriteDestroy

Sprite WidgetMainText.spriteDestroy

Definition at line 298 of file WidgetMainText.cs.

◆ spriteElin

Sprite WidgetMainText.spriteElin

Definition at line 295 of file WidgetMainText.cs.

◆ spriteEther

Sprite WidgetMainText.spriteEther

Definition at line 301 of file WidgetMainText.cs.

◆ visibleLines

int WidgetMainText.visibleLines

Definition at line 289 of file WidgetMainText.cs.

Property Documentation

◆ AlwaysTop

override bool WidgetMainText.AlwaysTop
get

Definition at line 35 of file WidgetMainText.cs.

◆ extra

WidgetMainText.Extra WidgetMainText.extra
get

Definition at line 15 of file WidgetMainText.cs.

◆ ShowStyleMenu

override bool WidgetMainText.ShowStyleMenu
get

Definition at line 25 of file WidgetMainText.cs.


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