Logo
Public Member Functions | Static Public Attributes | Properties | List of all members
Yukar.Engine.LayoutDrawerPreview Class Reference

Layout drawing class for preview More...

Public Member Functions

 LayoutDrawerPreview (GameMain gameMain, Common.Catalog catalog, MenuSettings menuSettings, bool isThumbnail)
 
void Initialize (GameMain gameMain, Common.Catalog catalog, MenuSettings menuSettings)
 initialize More...
 
void InitializeOverLappingLayout (GameMain gameMain, Common.Catalog catalog, System.Guid guid)
 
void Insert (GameMain gameMain, Common.Catalog catalog, MenuSettings.MenuItem addedMenuItem, MenuSettings.MenuItem parentMenuItem, int insertIndex)
 insert More...
 
void Remove (MenuSettings.MenuItem removedMenuItem)
 delete More...
 
void Move (MenuSettings.MenuItem movedMenuItem, MenuSettings.MenuItem movedParentMenuItem, int insertIndex)
 Moving More...
 
void ResetSubContainers ()
 Regenerate submenu container More...
 
int GetContainerIndex (System.Guid menuItemGuid)
 Get container management number More...
 
void ResetVisible (MenuSettings.MenuItem menuItem)
 Reset display state More...
 
void Release ()
 
void ReleaseOverLappingLayoutManager ()
 
void Draw ()
 
void Update ()
 
void UpdateTouchCollider (Microsoft.Xna.Framework.Vector2 addtionalContainerSize)
 
void show ()
 
void showOverLappingLayout ()
 
void Hide ()
 
void ToggleDrawCollider ()
 
void ShowToast (string text)
 
void ShowChoice (string text, int row, int windowAlign)
 
void SetSelectingLayout (System.Guid guid)
 
Microsoft.Xna.Framework.Vector2 GetSnapPosition (Microsoft.Xna.Framework.Vector2 position)
 
List< AbstractRenderObjectgetRenderObjects ()
 
MenuSettings.MenuItem getMenuItem (AbstractRenderObject obj)
 
AbstractRenderObject getRednerObject (MenuSettings.MenuItem mitem)
 
void SetGridProperty (bool drawGrid, int previewScreenWidth, int previewScreenHeight)
 
void ChangeAnimationState (SpriteRenderObject.AnimationState animationState)
 

Static Public Attributes

static readonly System.Guid stopBgmGuid = new System.Guid("D80CACE2-4E9A-4FD1-8F52-B458BEF14D22")
 
static readonly System.Guid notUseTexture = new System.Guid("6F255726-E50E-43E8-B3EF-51A0C5E04E2F")
 

Properties

System.Guid LayoutManagerGuid [get]
 
System.Guid OverLappingLayoutManagerGuid [get]
 

Detailed Description

Layout drawing class for preview

Constructor & Destructor Documentation

◆ LayoutDrawerPreview()

Yukar.Engine.LayoutDrawerPreview.LayoutDrawerPreview ( GameMain  gameMain,
Common.Catalog  catalog,
MenuSettings  menuSettings,
bool  isThumbnail 
)

Member Function Documentation

◆ ChangeAnimationState()

void Yukar.Engine.LayoutDrawerPreview.ChangeAnimationState ( SpriteRenderObject.AnimationState  animationState)

◆ Draw()

void Yukar.Engine.LayoutDrawerPreview.Draw ( )

◆ GetContainerIndex()

int Yukar.Engine.LayoutDrawerPreview.GetContainerIndex ( System.Guid  menuItemGuid)

Get container management number

Parameters
menuItemGuidGuid of the layout part for which you want to obtain the container management number
Returns
Container management number

◆ getMenuItem()

MenuSettings.MenuItem Yukar.Engine.LayoutDrawerPreview.getMenuItem ( AbstractRenderObject  obj)

◆ getRednerObject()

AbstractRenderObject Yukar.Engine.LayoutDrawerPreview.getRednerObject ( MenuSettings.MenuItem  mitem)

◆ getRenderObjects()

List< AbstractRenderObject > Yukar.Engine.LayoutDrawerPreview.getRenderObjects ( )

◆ GetSnapPosition()

Microsoft.Xna.Framework.Vector2 Yukar.Engine.LayoutDrawerPreview.GetSnapPosition ( Microsoft.Xna.Framework.Vector2  position)

◆ Hide()

void Yukar.Engine.LayoutDrawerPreview.Hide ( )

◆ Initialize()

void Yukar.Engine.LayoutDrawerPreview.Initialize ( GameMain  gameMain,
Common.Catalog  catalog,
MenuSettings  menuSettings 
)

initialize

Parameters
gameMaingame main
catalogcatalog
menuSettingsList of setting values to read

◆ InitializeOverLappingLayout()

void Yukar.Engine.LayoutDrawerPreview.InitializeOverLappingLayout ( GameMain  gameMain,
Common.Catalog  catalog,
System.Guid  guid 
)

◆ Insert()

void Yukar.Engine.LayoutDrawerPreview.Insert ( GameMain  gameMain,
Common.Catalog  catalog,
MenuSettings.MenuItem  addedMenuItem,
MenuSettings.MenuItem  parentMenuItem,
int  insertIndex 
)

insert

Parameters
gameMaingame main
catalogcatalog
addedMenuItemSettings for the layout to be added
parentMenuItemSetting the layout of the parent to be added
insertIndexindex number to insert

◆ Move()

void Yukar.Engine.LayoutDrawerPreview.Move ( MenuSettings.MenuItem  movedMenuItem,
MenuSettings.MenuItem  movedParentMenuItem,
int  insertIndex 
)

Moving

Parameters
movedMenuItemSetting the layout to move
movedParentMenuItemSetting the parent of the layout to be moved
insertIndexDestination index number

◆ Release()

void Yukar.Engine.LayoutDrawerPreview.Release ( )

◆ ReleaseOverLappingLayoutManager()

void Yukar.Engine.LayoutDrawerPreview.ReleaseOverLappingLayoutManager ( )

◆ Remove()

void Yukar.Engine.LayoutDrawerPreview.Remove ( MenuSettings.MenuItem  removedMenuItem)

delete

Parameters
removedMenuItemSetting the layout to be deleted

◆ ResetSubContainers()

void Yukar.Engine.LayoutDrawerPreview.ResetSubContainers ( )

Regenerate submenu container

◆ ResetVisible()

void Yukar.Engine.LayoutDrawerPreview.ResetVisible ( MenuSettings.MenuItem  menuItem)

Reset display state

Parameters
menuItemSetting the layout to reset the display state

◆ SetGridProperty()

void Yukar.Engine.LayoutDrawerPreview.SetGridProperty ( bool  drawGrid,
int  previewScreenWidth,
int  previewScreenHeight 
)

◆ SetSelectingLayout()

void Yukar.Engine.LayoutDrawerPreview.SetSelectingLayout ( System.Guid  guid)

◆ show()

void Yukar.Engine.LayoutDrawerPreview.show ( )

◆ ShowChoice()

void Yukar.Engine.LayoutDrawerPreview.ShowChoice ( string  text,
int  row,
int  windowAlign 
)

◆ showOverLappingLayout()

void Yukar.Engine.LayoutDrawerPreview.showOverLappingLayout ( )

◆ ShowToast()

void Yukar.Engine.LayoutDrawerPreview.ShowToast ( string  text)

◆ ToggleDrawCollider()

void Yukar.Engine.LayoutDrawerPreview.ToggleDrawCollider ( )

◆ Update()

void Yukar.Engine.LayoutDrawerPreview.Update ( )

◆ UpdateTouchCollider()

void Yukar.Engine.LayoutDrawerPreview.UpdateTouchCollider ( Microsoft.Xna.Framework.Vector2  addtionalContainerSize)

Member Data Documentation

◆ notUseTexture

readonly System.Guid Yukar.Engine.LayoutDrawerPreview.notUseTexture = new System.Guid("6F255726-E50E-43E8-B3EF-51A0C5E04E2F")
static

◆ stopBgmGuid

readonly System.Guid Yukar.Engine.LayoutDrawerPreview.stopBgmGuid = new System.Guid("D80CACE2-4E9A-4FD1-8F52-B458BEF14D22")
static

Property Documentation

◆ LayoutManagerGuid

System.Guid Yukar.Engine.LayoutDrawerPreview.LayoutManagerGuid
get

◆ OverLappingLayoutManagerGuid

System.Guid Yukar.Engine.LayoutDrawerPreview.OverLappingLayoutManagerGuid
get