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

Public Member Functions

override void OnActivate ()
 
void _SayPick (Thing t, int num)
 
void _SayValue (string name, int a, bool negative=false, Sprite sprite=null)
 
void _Say (string text, FontColor fontColor=FontColor.Default, Sprite sprite=null)
 
- 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 ()
 

Static Public Member Functions

static void SayPick (Thing t, int num)
 
static void SayValue (string name, int a, bool negative=false, Sprite sprite=null)
 
static void Say (string text, FontColor fontColor=FontColor.Default, Sprite sprite=null)
 
- Static Public Member Functions inherited from EMono
static int rnd (int a)
 

Public Attributes

PopManager pop
 
Sprite[] icons
 
- Public Attributes inherited from Widget
Image imageBG
 
SoundData soundActivate
 
UIDragPanel dragPanel
 
RectTransform tipPivotLeft
 
RectTransform tipPivotRight
 

Static Public Attributes

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

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
 
- 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]
 

Detailed Description

Definition at line 5 of file WidgetPopText.cs.

Member Function Documentation

◆ _Say()

void WidgetPopText._Say ( string text,
FontColor fontColor = FontColor::Default,
Sprite sprite = null )

Definition at line 58 of file WidgetPopText.cs.

◆ _SayPick()

void WidgetPopText._SayPick ( Thing t,
int num )

Definition at line 44 of file WidgetPopText.cs.

◆ _SayValue()

void WidgetPopText._SayValue ( string name,
int a,
bool negative = false,
Sprite sprite = null )

Definition at line 52 of file WidgetPopText.cs.

◆ OnActivate()

override void WidgetPopText.OnActivate ( )
virtual

Reimplemented from Widget.

Definition at line 8 of file WidgetPopText.cs.

◆ Say()

static void WidgetPopText.Say ( string text,
FontColor fontColor = FontColor::Default,
Sprite sprite = null )
static

Definition at line 34 of file WidgetPopText.cs.

◆ SayPick()

static void WidgetPopText.SayPick ( Thing t,
int num )
static

Definition at line 14 of file WidgetPopText.cs.

◆ SayValue()

static void WidgetPopText.SayValue ( string name,
int a,
bool negative = false,
Sprite sprite = null )
static

Definition at line 24 of file WidgetPopText.cs.

Member Data Documentation

◆ icons

Sprite [] WidgetPopText.icons

Definition at line 74 of file WidgetPopText.cs.

◆ Instance

WidgetPopText WidgetPopText.Instance
static

Definition at line 68 of file WidgetPopText.cs.

◆ pop

PopManager WidgetPopText.pop

Definition at line 71 of file WidgetPopText.cs.


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