Barotrauma Client Doc
Barotrauma.SpriteEditorScreen Class Reference
Inheritance diagram for Barotrauma.SpriteEditorScreen:
Barotrauma.EditorScreen Barotrauma.Screen

Public Member Functions

 SpriteEditorScreen ()
 
override void AddToGUIUpdateList ()
 By default, creates a new frame for the screen and adds all elements to the gui update list. More...
 
override void Update (double deltaTime)
 
override void Draw (double deltaTime, GraphicsDevice graphics, SpriteBatch spriteBatch)
 
override void Select ()
 
void SelectSprite (Sprite sprite)
 
void RefreshLists ()
 
void ResetZoom ()
 
- Public Member Functions inherited from Barotrauma.EditorScreen
override sealed void Deselect ()
 
void CreateBackgroundColorPicker ()
 
- Public Member Functions inherited from Barotrauma.Screen
void ColorFade (Color from, Color to, float duration)
 
virtual void OnFileDropped (string filePath, string extension)
 
virtual void Release ()
 

Protected Member Functions

override void DeselectEditorSpecific ()
 

Properties

override Camera Cam [get]
 
GUIComponent TopPanel [get]
 
- Properties inherited from Barotrauma.EditorScreen
override bool IsEditor [get]
 
- Properties inherited from Barotrauma.Screen
static Screen Selected [get]
 
virtual Camera Cam [get]
 
virtual bool IsEditor [get]
 
GUIFrame Frame [get]
 

Additional Inherited Members

- Static Public Member Functions inherited from Barotrauma.Screen
static void SelectNull ()
 
- Static Public Attributes inherited from Barotrauma.EditorScreen
static Color BackgroundColor = GameSettings.CurrentConfig.SubEditorBackground
 

Detailed Description

Definition at line 17 of file SpriteEditorScreen.cs.

Constructor & Destructor Documentation

◆ SpriteEditorScreen()

Barotrauma.SpriteEditorScreen.SpriteEditorScreen ( )

Definition at line 64 of file SpriteEditorScreen.cs.

Member Function Documentation

◆ AddToGUIUpdateList()

override void Barotrauma.SpriteEditorScreen.AddToGUIUpdateList ( )
virtual

By default, creates a new frame for the screen and adds all elements to the gui update list.

Reimplemented from Barotrauma.Screen.

Definition at line 459 of file SpriteEditorScreen.cs.

◆ DeselectEditorSpecific()

override void Barotrauma.SpriteEditorScreen.DeselectEditorSpecific ( )
protectedvirtual

Reimplemented from Barotrauma.EditorScreen.

Definition at line 858 of file SpriteEditorScreen.cs.

◆ Draw()

override void Barotrauma.SpriteEditorScreen.Draw ( double  deltaTime,
GraphicsDevice  graphics,
SpriteBatch  spriteBatch 
)
virtual

Reimplemented from Barotrauma.Screen.

Definition at line 640 of file SpriteEditorScreen.cs.

◆ RefreshLists()

void Barotrauma.SpriteEditorScreen.RefreshLists ( )

Definition at line 933 of file SpriteEditorScreen.cs.

◆ ResetZoom()

void Barotrauma.SpriteEditorScreen.ResetZoom ( )

Definition at line 971 of file SpriteEditorScreen.cs.

◆ Select()

override void Barotrauma.SpriteEditorScreen.Select ( )
virtual

Reimplemented from Barotrauma.Screen.

Definition at line 850 of file SpriteEditorScreen.cs.

◆ SelectSprite()

void Barotrauma.SpriteEditorScreen.SelectSprite ( Sprite  sprite)

Definition at line 881 of file SpriteEditorScreen.cs.

◆ Update()

override void Barotrauma.SpriteEditorScreen.Update ( double  deltaTime)
virtual

Reimplemented from Barotrauma.Screen.

Definition at line 471 of file SpriteEditorScreen.cs.

Property Documentation

◆ Cam

override Camera Barotrauma.SpriteEditorScreen.Cam
get

Definition at line 54 of file SpriteEditorScreen.cs.

◆ TopPanel

GUIComponent Barotrauma.SpriteEditorScreen.TopPanel
get

Definition at line 59 of file SpriteEditorScreen.cs.