began implementing changes in RA.
This commit is contained in:
parent
dbafc989a5
commit
c7211323fd
Binary file not shown.
@ -659,7 +659,7 @@
|
|||||||
The skin definition data.
|
The skin definition data.
|
||||||
</summary>
|
</summary>
|
||||||
</member>
|
</member>
|
||||||
<member name="M:RecrownedAthenaeum.Data.SkinData.DefinitionData.#ctor(System.String,RecrownedAthenaeum.UI.Skin.Definitions.ISkinDefinitionData)">
|
<member name="M:RecrownedAthenaeum.Data.SkinData.DefinitionData.#ctor(System.String,RecrownedAthenaeum.UI.SkinSystem.Definitions.ISkinDefinitionData)">
|
||||||
<summary>
|
<summary>
|
||||||
Sets values for data.
|
Sets values for data.
|
||||||
</summary>
|
</summary>
|
||||||
@ -1049,85 +1049,100 @@
|
|||||||
Destructor.
|
Destructor.
|
||||||
</summary>
|
</summary>
|
||||||
</member>
|
</member>
|
||||||
<member name="T:RecrownedAthenaeum.UI.Book.Book">
|
<member name="T:RecrownedAthenaeum.UI.BookSystem.Book">
|
||||||
<summary>
|
<summary>
|
||||||
Contains the pages.
|
Contains the pages.
|
||||||
</summary>
|
</summary>
|
||||||
</member>
|
</member>
|
||||||
<member name="M:RecrownedAthenaeum.UI.Book.Book.Initiate(RecrownedAthenaeum.Camera.Camera2D,Microsoft.Xna.Framework.Rectangle)">
|
<member name="M:RecrownedAthenaeum.UI.BookSystem.Book.#ctor(RecrownedAthenaeum.ContentSystem.ContentManagerController,RecrownedAthenaeum.UI.SkinSystem.ISkin)">
|
||||||
|
<summary>
|
||||||
|
Creates a book.
|
||||||
|
</summary>
|
||||||
|
<param name="assets"><see cref="T:RecrownedAthenaeum.ContentSystem.ContentManagerController"/> that holds the assets that are to be used in the pages for this book during initialization.</param>
|
||||||
|
<param name="skin">The skin that will be passed to pages during their initialization.</param>
|
||||||
|
</member>
|
||||||
|
<member name="M:RecrownedAthenaeum.UI.BookSystem.Book.Initiate(RecrownedAthenaeum.Camera.Camera2D,Microsoft.Xna.Framework.Rectangle)">
|
||||||
<summary>
|
<summary>
|
||||||
Should be called whenever a valid camera and dimensions for the book exist.
|
Should be called whenever a valid camera and dimensions for the book exist.
|
||||||
Initializes book with given parameters.
|
Initializes book with given parameters.
|
||||||
|
Generally used with a <see cref="T:RecrownedAthenaeum.ScreenSystem.Screen"/> and called in the <see cref="M:RecrownedAthenaeum.ScreenSystem.Screen.Initiate(Microsoft.Xna.Framework.Rectangle,RecrownedAthenaeum.Camera.Camera2D)"/> function.
|
||||||
</summary>
|
</summary>
|
||||||
<param name="camera">Camera game is currently using.</param>
|
<param name="camera">Camera game is currently using.</param>
|
||||||
<param name="dimensions">Dimensions of the book and the dimensions the pages will use.</param>
|
<param name="dimensions">Dimensions of the book and the dimensions the pages will use.</param>
|
||||||
</member>
|
</member>
|
||||||
<member name="M:RecrownedAthenaeum.UI.Book.Book.Draw(Microsoft.Xna.Framework.Graphics.SpriteBatch)">
|
<member name="M:RecrownedAthenaeum.UI.BookSystem.Book.Draw(Microsoft.Xna.Framework.Graphics.SpriteBatch)">
|
||||||
<summary>
|
<summary>
|
||||||
Draws the pages.
|
Draws the pages.
|
||||||
</summary>
|
</summary>
|
||||||
<param name="batch">Batch used to draw.</param>
|
<param name="batch">Batch used to draw.</param>
|
||||||
</member>
|
</member>
|
||||||
<member name="M:RecrownedAthenaeum.UI.Book.Book.Update(Microsoft.Xna.Framework.GameTime)">
|
<member name="M:RecrownedAthenaeum.UI.BookSystem.Book.Update(Microsoft.Xna.Framework.GameTime)">
|
||||||
<summary>
|
<summary>
|
||||||
Updates the book.
|
Updates the book.
|
||||||
</summary>
|
</summary>
|
||||||
<param name="gameTime">Snapshot of information of the game time.</param>
|
<param name="gameTime">Snapshot of information of the game time.</param>
|
||||||
</member>
|
</member>
|
||||||
<member name="M:RecrownedAthenaeum.UI.Book.Book.AddPages(RecrownedAthenaeum.UI.Book.Page[])">
|
<member name="M:RecrownedAthenaeum.UI.BookSystem.Book.AddPages(RecrownedAthenaeum.UI.BookSystem.Page[])">
|
||||||
<summary>
|
<summary>
|
||||||
Adds the page(s).
|
Adds the page(s).
|
||||||
</summary>
|
</summary>
|
||||||
<param name="pages">The page(s) to add.</param>
|
<param name="pages">The page(s) to add.</param>
|
||||||
</member>
|
</member>
|
||||||
<member name="M:RecrownedAthenaeum.UI.Book.Book.RemovePage(RecrownedAthenaeum.UI.Book.Page)">
|
<member name="M:RecrownedAthenaeum.UI.BookSystem.Book.RemovePage(RecrownedAthenaeum.UI.BookSystem.Page)">
|
||||||
<summary>
|
<summary>
|
||||||
Removes the page.
|
Removes the page.
|
||||||
</summary>
|
</summary>
|
||||||
<param name="page">Page to remove.</param>
|
<param name="page">Page to remove.</param>
|
||||||
</member>
|
</member>
|
||||||
<member name="M:RecrownedAthenaeum.UI.Book.Book.RemovePage(System.String)">
|
<member name="M:RecrownedAthenaeum.UI.BookSystem.Book.RemovePage(System.String)">
|
||||||
<summary>
|
<summary>
|
||||||
Removes the page.
|
Removes the page.
|
||||||
</summary>
|
</summary>
|
||||||
<param name="name">Name of page to remove.</param>
|
<param name="name">Name of page to remove.</param>
|
||||||
</member>
|
</member>
|
||||||
<member name="M:RecrownedAthenaeum.UI.Book.Book.LerpToPage(RecrownedAthenaeum.UI.Book.Page)">
|
<member name="M:RecrownedAthenaeum.UI.BookSystem.Book.LerpToPage(RecrownedAthenaeum.UI.BookSystem.Page)">
|
||||||
<summary>
|
<summary>
|
||||||
Perform a step of linear interpolation to the given page.
|
Perform a step of linear interpolation to the given page.
|
||||||
</summary>
|
</summary>
|
||||||
<param name="page">The page to lerp to.</param>
|
<param name="page">The page to lerp to.</param>
|
||||||
</member>
|
</member>
|
||||||
<member name="M:RecrownedAthenaeum.UI.Book.Book.GoToPage(RecrownedAthenaeum.UI.Book.Page)">
|
<member name="M:RecrownedAthenaeum.UI.BookSystem.Book.GoToPage(RecrownedAthenaeum.UI.BookSystem.Page)">
|
||||||
<summary>
|
<summary>
|
||||||
Goes to page instantly.
|
Goes to page instantly.
|
||||||
</summary>
|
</summary>
|
||||||
<param name="page">Page to go to.</param>
|
<param name="page">Page to go to.</param>
|
||||||
</member>
|
</member>
|
||||||
<member name="T:RecrownedAthenaeum.UI.Book.Page">
|
<member name="T:RecrownedAthenaeum.UI.BookSystem.Page">
|
||||||
<summary>
|
<summary>
|
||||||
A page a part of a <see cref="T:RecrownedAthenaeum.UI.Book.Book"/>.
|
A page a part of a <see cref="T:RecrownedAthenaeum.UI.BookSystem.Book"/>.
|
||||||
</summary>
|
</summary>
|
||||||
</member>
|
</member>
|
||||||
<member name="F:RecrownedAthenaeum.UI.Book.Page.requiresSizeUpdate">
|
<member name="F:RecrownedAthenaeum.UI.BookSystem.Page.requiresSizeUpdate">
|
||||||
<summary>
|
<summary>
|
||||||
Whether or not this book needs to be refreshed with new dimensions.
|
Whether or not this book needs to be refreshed with new dimensions.
|
||||||
</summary>
|
</summary>
|
||||||
</member>
|
</member>
|
||||||
<member name="M:RecrownedAthenaeum.UI.Book.Page.#ctor(System.Int32,System.Int32)">
|
<member name="M:RecrownedAthenaeum.UI.BookSystem.Page.#ctor(System.Int32,System.Int32)">
|
||||||
<summary>
|
<summary>
|
||||||
Constructs a page.
|
Constructs a page.
|
||||||
</summary>
|
</summary>
|
||||||
<param name="pageX">The X position in the book.</param>
|
<param name="pageX">The X position in the book.</param>
|
||||||
<param name="pageY">The Y position in the book.</param>
|
<param name="pageY">The Y position in the book.</param>
|
||||||
</member>
|
</member>
|
||||||
<member name="M:RecrownedAthenaeum.UI.Book.Page.ApplySize(System.Int32,System.Int32)">
|
<member name="M:RecrownedAthenaeum.UI.BookSystem.Page.ApplySize(System.Int32,System.Int32)">
|
||||||
<summary>
|
<summary>
|
||||||
Called when this page is flagged as needing a size update.
|
Called when this page is flagged as needing a size update.
|
||||||
</summary>
|
</summary>
|
||||||
<param name="width">New width.</param>
|
<param name="width">New width.</param>
|
||||||
<param name="height">New Height</param>
|
<param name="height">New Height</param>
|
||||||
</member>
|
</member>
|
||||||
|
<member name="M:RecrownedAthenaeum.UI.BookSystem.Page.Initialize(RecrownedAthenaeum.ContentSystem.ContentManagerController,RecrownedAthenaeum.UI.SkinSystem.ISkin)">
|
||||||
|
<summary>
|
||||||
|
Called only once after a page is added to a <see cref="T:RecrownedAthenaeum.UI.BookSystem.Book"/>. Generally used to instantiate the modules of the page.
|
||||||
|
</summary>
|
||||||
|
<param name="assets">The assets to be used during initialization passed by the book this page belongs to.</param>
|
||||||
|
<param name="skin">The skin the book containing this page is given that can be used by this page.</param>
|
||||||
|
</member>
|
||||||
<member name="T:RecrownedAthenaeum.UI.Modular.Modules.Image">
|
<member name="T:RecrownedAthenaeum.UI.Modular.Modules.Image">
|
||||||
<summary>
|
<summary>
|
||||||
Represents a texture with more information.
|
Represents a texture with more information.
|
||||||
@ -1184,6 +1199,7 @@
|
|||||||
<summary>
|
<summary>
|
||||||
Function to be called when button is clicked.
|
Function to be called when button is clicked.
|
||||||
</summary>
|
</summary>
|
||||||
|
<param name="button">The button that was clicked.</param>
|
||||||
</member>
|
</member>
|
||||||
<member name="T:RecrownedAthenaeum.UI.Modular.Modules.Interactive.Button">
|
<member name="T:RecrownedAthenaeum.UI.Modular.Modules.Interactive.Button">
|
||||||
<summary>
|
<summary>
|
||||||
@ -1214,7 +1230,7 @@
|
|||||||
<param name="disabled">Disabled button.</param>
|
<param name="disabled">Disabled button.</param>
|
||||||
<param name="selected">Button being highlighted.</param>
|
<param name="selected">Button being highlighted.</param>
|
||||||
</member>
|
</member>
|
||||||
<member name="M:RecrownedAthenaeum.UI.Modular.Modules.Interactive.Button.#ctor(RecrownedAthenaeum.UI.Skin.Skin,System.String)">
|
<member name="M:RecrownedAthenaeum.UI.Modular.Modules.Interactive.Button.#ctor(RecrownedAthenaeum.UI.SkinSystem.ISkin,System.String)">
|
||||||
<summary>
|
<summary>
|
||||||
Constructs this button using the skin system.
|
Constructs this button using the skin system.
|
||||||
</summary>
|
</summary>
|
||||||
@ -1246,6 +1262,11 @@
|
|||||||
Button that holds a string.
|
Button that holds a string.
|
||||||
</summary>
|
</summary>
|
||||||
</member>
|
</member>
|
||||||
|
<member name="F:RecrownedAthenaeum.UI.Modular.Modules.Interactive.TextButton.text">
|
||||||
|
<summary>
|
||||||
|
The text that is used to display the string.
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
<member name="P:RecrownedAthenaeum.UI.Modular.Modules.Interactive.TextButton.FontColor">
|
<member name="P:RecrownedAthenaeum.UI.Modular.Modules.Interactive.TextButton.FontColor">
|
||||||
<summary>
|
<summary>
|
||||||
The color the font should be rendered in.
|
The color the font should be rendered in.
|
||||||
@ -1262,7 +1283,7 @@
|
|||||||
<param name="disabled">What to draw as button is disabled.</param>
|
<param name="disabled">What to draw as button is disabled.</param>
|
||||||
<param name="selected">What to draw as button is selected.</param>
|
<param name="selected">What to draw as button is selected.</param>
|
||||||
</member>
|
</member>
|
||||||
<member name="M:RecrownedAthenaeum.UI.Modular.Modules.Interactive.TextButton.#ctor(System.String,Microsoft.Xna.Framework.Graphics.SpriteFont,RecrownedAthenaeum.UI.Skin.Skin,System.String)">
|
<member name="M:RecrownedAthenaeum.UI.Modular.Modules.Interactive.TextButton.#ctor(System.String,Microsoft.Xna.Framework.Graphics.SpriteFont,RecrownedAthenaeum.UI.SkinSystem.ISkin,System.String)">
|
||||||
<summary>
|
<summary>
|
||||||
Constructs a text button using a skin and definition.
|
Constructs a text button using a skin and definition.
|
||||||
</summary>
|
</summary>
|
||||||
@ -1320,12 +1341,12 @@
|
|||||||
<param name="font">The font to use.</param>
|
<param name="font">The font to use.</param>
|
||||||
<param name="content">The string for the text.</param>
|
<param name="content">The string for the text.</param>
|
||||||
</member>
|
</member>
|
||||||
<member name="M:RecrownedAthenaeum.UI.Modular.Modules.Text.#ctor(RecrownedAthenaeum.UI.Skin.Skin,Microsoft.Xna.Framework.Graphics.SpriteFont,System.String,System.String)">
|
<member name="M:RecrownedAthenaeum.UI.Modular.Modules.Text.#ctor(RecrownedAthenaeum.UI.SkinSystem.ISkin,Microsoft.Xna.Framework.Graphics.SpriteFont,System.String,System.String)">
|
||||||
<summary>
|
<summary>
|
||||||
Creates a UI text object
|
Creates a UI text object
|
||||||
</summary>
|
</summary>
|
||||||
<param name="skin">The skin to be used.</param>
|
<param name="skin">The skin to be used.</param>
|
||||||
<param name="skinDefinitionName">The name of the skin's definition to use of a <see cref="T:RecrownedAthenaeum.UI.Skin.Definitions.TextSkinDefinition"/>.</param>
|
<param name="skinDefinitionName">The name of the skin's definition to use of a <see cref="T:RecrownedAthenaeum.UI.SkinSystem.Definitions.TextSkinDefinition"/>.</param>
|
||||||
<param name="font">The font to be used.</param>
|
<param name="font">The font to be used.</param>
|
||||||
<param name="content">The string of text to be displayed.</param>
|
<param name="content">The string of text to be displayed.</param>
|
||||||
</member>
|
</member>
|
||||||
@ -1435,6 +1456,11 @@
|
|||||||
<param name="state">The current state of the mouse.</param>
|
<param name="state">The current state of the mouse.</param>
|
||||||
<returns>Returning whether or not to continue to call the next listener.</returns>
|
<returns>Returning whether or not to continue to call the next listener.</returns>
|
||||||
</member>
|
</member>
|
||||||
|
<member name="M:RecrownedAthenaeum.UI.Modular.UIModule.CenterOrigin">
|
||||||
|
<summary>
|
||||||
|
Sets the origin to be the center of the bounds.
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
<member name="T:RecrownedAthenaeum.UI.Modular.UIModuleGroup">
|
<member name="T:RecrownedAthenaeum.UI.Modular.UIModuleGroup">
|
||||||
<summary>
|
<summary>
|
||||||
Contains a group of modules and has its own relative coordinate system.
|
Contains a group of modules and has its own relative coordinate system.
|
||||||
@ -1490,84 +1516,84 @@
|
|||||||
<param name="state">The new state.</param>
|
<param name="state">The new state.</param>
|
||||||
<returns>Whether or not to continue updating other listeners.</returns>
|
<returns>Whether or not to continue updating other listeners.</returns>
|
||||||
</member>
|
</member>
|
||||||
<member name="T:RecrownedAthenaeum.UI.Skin.Definitions.ButtonSkinDefinition">
|
<member name="T:RecrownedAthenaeum.UI.SkinSystem.Definitions.ButtonSkinDefinition">
|
||||||
<summary>
|
<summary>
|
||||||
Definition for a button.
|
Definition for a button.
|
||||||
</summary>
|
</summary>
|
||||||
</member>
|
</member>
|
||||||
<member name="F:RecrownedAthenaeum.UI.Skin.Definitions.ButtonSkinDefinition.upRegion">
|
<member name="F:RecrownedAthenaeum.UI.SkinSystem.Definitions.ButtonSkinDefinition.upRegion">
|
||||||
<summary>
|
<summary>
|
||||||
Names for the regions in the texture atlas respectively.
|
Names for the regions in the texture atlas respectively.
|
||||||
</summary>
|
</summary>
|
||||||
</member>
|
</member>
|
||||||
<member name="F:RecrownedAthenaeum.UI.Skin.Definitions.ButtonSkinDefinition.downRegion">
|
<member name="F:RecrownedAthenaeum.UI.SkinSystem.Definitions.ButtonSkinDefinition.downRegion">
|
||||||
<summary>
|
<summary>
|
||||||
Names for the regions in the texture atlas respectively.
|
Names for the regions in the texture atlas respectively.
|
||||||
</summary>
|
</summary>
|
||||||
</member>
|
</member>
|
||||||
<member name="F:RecrownedAthenaeum.UI.Skin.Definitions.ButtonSkinDefinition.disabledRegion">
|
<member name="F:RecrownedAthenaeum.UI.SkinSystem.Definitions.ButtonSkinDefinition.disabledRegion">
|
||||||
<summary>
|
<summary>
|
||||||
Names for the regions in the texture atlas respectively.
|
Names for the regions in the texture atlas respectively.
|
||||||
</summary>
|
</summary>
|
||||||
</member>
|
</member>
|
||||||
<member name="F:RecrownedAthenaeum.UI.Skin.Definitions.ButtonSkinDefinition.selectedRegion">
|
<member name="F:RecrownedAthenaeum.UI.SkinSystem.Definitions.ButtonSkinDefinition.selectedRegion">
|
||||||
<summary>
|
<summary>
|
||||||
Names for the regions in the texture atlas respectively.
|
Names for the regions in the texture atlas respectively.
|
||||||
</summary>
|
</summary>
|
||||||
</member>
|
</member>
|
||||||
<member name="P:RecrownedAthenaeum.UI.Skin.Definitions.ButtonSkinDefinition.UIModuleType">
|
<member name="P:RecrownedAthenaeum.UI.SkinSystem.Definitions.ButtonSkinDefinition.UIModuleType">
|
||||||
<inheritDoc/>
|
<inheritDoc/>
|
||||||
</member>
|
</member>
|
||||||
<member name="M:RecrownedAthenaeum.UI.Skin.Definitions.ButtonSkinDefinition.#ctor(System.String,System.String)">
|
<member name="M:RecrownedAthenaeum.UI.SkinSystem.Definitions.ButtonSkinDefinition.#ctor(System.String,System.String)">
|
||||||
<summary>
|
<summary>
|
||||||
Constructs the definition with minimum requirements.
|
Constructs the definition with minimum requirements.
|
||||||
</summary>
|
</summary>
|
||||||
<param name="downRegion">Name of region specifying the texture shown for when the button is pressed down.</param>
|
<param name="downRegion">Name of region specifying the texture shown for when the button is pressed down.</param>
|
||||||
<param name="upRegion">Name of region specifying the texture shown for when the button is not pressed.</param>
|
<param name="upRegion">Name of region specifying the texture shown for when the button is not pressed.</param>
|
||||||
</member>
|
</member>
|
||||||
<member name="T:RecrownedAthenaeum.UI.Skin.Definitions.ISkinDefinitionData">
|
<member name="T:RecrownedAthenaeum.UI.SkinSystem.Definitions.ISkinDefinitionData">
|
||||||
<summary>
|
<summary>
|
||||||
A definition containing the data for the skin system. Should be in data transfer object model.
|
A definition containing the data for the skin system. Should be in data transfer object model.
|
||||||
</summary>
|
</summary>
|
||||||
</member>
|
</member>
|
||||||
<member name="P:RecrownedAthenaeum.UI.Skin.Definitions.ISkinDefinitionData.UIModuleType">
|
<member name="P:RecrownedAthenaeum.UI.SkinSystem.Definitions.ISkinDefinitionData.UIModuleType">
|
||||||
<summary>
|
<summary>
|
||||||
The module type this definition is definining.
|
The module type this definition is definining.
|
||||||
</summary>
|
</summary>
|
||||||
</member>
|
</member>
|
||||||
<member name="T:RecrownedAthenaeum.UI.Skin.Definitions.TextButtonSkinDefinition">
|
<member name="T:RecrownedAthenaeum.UI.SkinSystem.Definitions.TextButtonSkinDefinition">
|
||||||
<summary>
|
<summary>
|
||||||
Definition for a text button for a skin theme.
|
Definition for a text button for a skin theme.
|
||||||
</summary>
|
</summary>
|
||||||
</member>
|
</member>
|
||||||
<member name="F:RecrownedAthenaeum.UI.Skin.Definitions.TextButtonSkinDefinition.fontColor">
|
<member name="F:RecrownedAthenaeum.UI.SkinSystem.Definitions.TextButtonSkinDefinition.fontColor">
|
||||||
<summary>
|
<summary>
|
||||||
Name of color from the skin to use for the font.
|
Name of color from the skin to use for the font.
|
||||||
</summary>
|
</summary>
|
||||||
</member>
|
</member>
|
||||||
<member name="P:RecrownedAthenaeum.UI.Skin.Definitions.TextButtonSkinDefinition.UIModuleType">
|
<member name="P:RecrownedAthenaeum.UI.SkinSystem.Definitions.TextButtonSkinDefinition.UIModuleType">
|
||||||
<summary>
|
<summary>
|
||||||
The type of module that will be using this definition.
|
The type of module that will be using this definition.
|
||||||
</summary>
|
</summary>
|
||||||
</member>
|
</member>
|
||||||
<member name="M:RecrownedAthenaeum.UI.Skin.Definitions.TextButtonSkinDefinition.#ctor(System.String,System.String)">
|
<member name="M:RecrownedAthenaeum.UI.SkinSystem.Definitions.TextButtonSkinDefinition.#ctor(System.String,System.String)">
|
||||||
<summary>
|
<summary>
|
||||||
Creates this definition with the most minimal requirements.
|
Creates this definition with the most minimal requirements.
|
||||||
</summary>
|
</summary>
|
||||||
<param name="downRegion">Texture region from skin that represents when the button is pressed down.</param>
|
<param name="downRegion">Texture region from skin that represents when the button is pressed down.</param>
|
||||||
<param name="upRegion">The texture region that represents when the button is not pressed.</param>
|
<param name="upRegion">The texture region that represents when the button is not pressed.</param>
|
||||||
</member>
|
</member>
|
||||||
<member name="T:RecrownedAthenaeum.UI.Skin.ISkin">
|
<member name="T:RecrownedAthenaeum.UI.SkinSystem.ISkin">
|
||||||
<summary>
|
<summary>
|
||||||
The output requirements of a skin. This allows for very customized skin systems if needed.
|
The output requirements of a skin. This allows for very customized skin systems if needed.
|
||||||
</summary>
|
</summary>
|
||||||
</member>
|
</member>
|
||||||
<member name="P:RecrownedAthenaeum.UI.Skin.ISkin.CursorTexture">
|
<member name="P:RecrownedAthenaeum.UI.SkinSystem.ISkin.CursorTexture">
|
||||||
<summary>
|
<summary>
|
||||||
The texture for the cursor.
|
The texture for the cursor.
|
||||||
</summary>
|
</summary>
|
||||||
</member>
|
</member>
|
||||||
<member name="M:RecrownedAthenaeum.UI.Skin.ISkin.Draw(System.String,System.String,Microsoft.Xna.Framework.Graphics.SpriteBatch,Microsoft.Xna.Framework.Rectangle,System.Single,Microsoft.Xna.Framework.Vector2)">
|
<member name="M:RecrownedAthenaeum.UI.SkinSystem.ISkin.Draw(System.String,System.String,Microsoft.Xna.Framework.Graphics.SpriteBatch,Microsoft.Xna.Framework.Rectangle,System.Single,Microsoft.Xna.Framework.Vector2)">
|
||||||
<summary>
|
<summary>
|
||||||
Draws a region from the texture atlas.
|
Draws a region from the texture atlas.
|
||||||
</summary>
|
</summary>
|
||||||
@ -1578,36 +1604,36 @@
|
|||||||
<param name="rotation">The rotation to use in radians.</param>
|
<param name="rotation">The rotation to use in radians.</param>
|
||||||
<param name="origin">The origin for the rotation.</param>
|
<param name="origin">The origin for the rotation.</param>
|
||||||
</member>
|
</member>
|
||||||
<member name="M:RecrownedAthenaeum.UI.Skin.ISkin.GetColor(System.String)">
|
<member name="M:RecrownedAthenaeum.UI.SkinSystem.ISkin.GetColor(System.String)">
|
||||||
<summary>
|
<summary>
|
||||||
Returns a <see cref="T:Microsoft.Xna.Framework.Color"/> with given name of defined color;
|
Returns a <see cref="T:Microsoft.Xna.Framework.Color"/> with given name of defined color;
|
||||||
</summary>
|
</summary>
|
||||||
<param name="name">Name of defined color.</param>
|
<param name="name">Name of defined color.</param>
|
||||||
<returns>The defined color based on the name given.</returns>
|
<returns>The defined color based on the name given.</returns>
|
||||||
</member>
|
</member>
|
||||||
<member name="M:RecrownedAthenaeum.UI.Skin.ISkin.GetTextureAtlasRegion(System.String)">
|
<member name="M:RecrownedAthenaeum.UI.SkinSystem.ISkin.GetTextureAtlasRegion(System.String)">
|
||||||
<summary>
|
<summary>
|
||||||
Returns a <see cref="T:RecrownedAthenaeum.SpecialTypes.TextureAtlas.Region"/> with given name of region.
|
Returns a <see cref="T:RecrownedAthenaeum.SpecialTypes.TextureAtlas.Region"/> with given name of region.
|
||||||
</summary>
|
</summary>
|
||||||
<param name="name">Name of region.</param>
|
<param name="name">Name of region.</param>
|
||||||
<returns>The region corresponding to the name.</returns>
|
<returns>The region corresponding to the name.</returns>
|
||||||
</member>
|
</member>
|
||||||
<member name="M:RecrownedAthenaeum.UI.Skin.ISkin.ObtainDefinition(System.String,System.Type)">
|
<member name="M:RecrownedAthenaeum.UI.SkinSystem.ISkin.ObtainDefinition(System.String,System.Type)">
|
||||||
<summary>
|
<summary>
|
||||||
Returns an <see cref="T:RecrownedAthenaeum.UI.Skin.Definitions.ISkinDefinitionData"/> of the given name and type.
|
Returns an <see cref="T:RecrownedAthenaeum.UI.SkinSystem.Definitions.ISkinDefinitionData"/> of the given name and type.
|
||||||
</summary>
|
</summary>
|
||||||
<param name="definitionName">Name of definition of the <paramref name="type"/></param>
|
<param name="definitionName">Name of definition of the <paramref name="type"/></param>
|
||||||
<param name="type">The UIModule the definition defines.</param>
|
<param name="type">The UIModule the definition defines.</param>
|
||||||
<returns>The interface for the definition.</returns>
|
<returns>The interface for the definition.</returns>
|
||||||
</member>
|
</member>
|
||||||
<member name="M:RecrownedAthenaeum.UI.Skin.ISkin.ObtainDefinition(System.Type)">
|
<member name="M:RecrownedAthenaeum.UI.SkinSystem.ISkin.ObtainDefinition(System.Type)">
|
||||||
<summary>
|
<summary>
|
||||||
Returns the default <see cref="T:RecrownedAthenaeum.UI.Skin.Definitions.ISkinDefinitionData"/> of the given parameters.
|
Returns the default <see cref="T:RecrownedAthenaeum.UI.SkinSystem.Definitions.ISkinDefinitionData"/> of the given parameters.
|
||||||
</summary>
|
</summary>
|
||||||
<param name="type">The type of definition the default should be coming from.</param>
|
<param name="type">The type of definition the default should be coming from.</param>
|
||||||
<returns>The default definition for the given type.</returns>
|
<returns>The default definition for the given type.</returns>
|
||||||
</member>
|
</member>
|
||||||
<member name="M:RecrownedAthenaeum.UI.Skin.ISkin.ObtainDefinition``1(System.String,System.Type)">
|
<member name="M:RecrownedAthenaeum.UI.SkinSystem.ISkin.ObtainDefinition``1(System.String,System.Type)">
|
||||||
<summary>
|
<summary>
|
||||||
Returns the proper definition for the given parameters or throws exception in the case the requested definition does not exist.
|
Returns the proper definition for the given parameters or throws exception in the case the requested definition does not exist.
|
||||||
</summary>
|
</summary>
|
||||||
@ -1616,7 +1642,7 @@
|
|||||||
<param name="type">UIModule type the definition defines.</param>
|
<param name="type">UIModule type the definition defines.</param>
|
||||||
<returns>The definition cast to T.</returns>
|
<returns>The definition cast to T.</returns>
|
||||||
</member>
|
</member>
|
||||||
<member name="M:RecrownedAthenaeum.UI.Skin.ISkin.ObtainDefinition``1(System.Type)">
|
<member name="M:RecrownedAthenaeum.UI.SkinSystem.ISkin.ObtainDefinition``1(System.Type)">
|
||||||
<summary>
|
<summary>
|
||||||
Returns the default definition.
|
Returns the default definition.
|
||||||
</summary>
|
</summary>
|
||||||
@ -1624,43 +1650,43 @@
|
|||||||
<param name="type">The type of the UIModule to retrieve the default from.</param>
|
<param name="type">The type of the UIModule to retrieve the default from.</param>
|
||||||
<returns>The default definition for the given type.</returns>
|
<returns>The default definition for the given type.</returns>
|
||||||
</member>
|
</member>
|
||||||
<member name="T:RecrownedAthenaeum.UI.Skin.Skin">
|
<member name="T:RecrownedAthenaeum.UI.SkinSystem.Skin">
|
||||||
<summary>
|
<summary>
|
||||||
A skin is used to group a theme which can then be applied to the UI via the use of modules.
|
A skin is used to group a theme which can then be applied to the UI via the use of modules.
|
||||||
</summary>
|
</summary>
|
||||||
</member>
|
</member>
|
||||||
<member name="P:RecrownedAthenaeum.UI.Skin.Skin.Laminated">
|
<member name="P:RecrownedAthenaeum.UI.SkinSystem.Skin.Laminated">
|
||||||
<summary>
|
<summary>
|
||||||
Whether or not this skin is completed being built and thus ready to use.
|
Whether or not this skin is completed being built and thus ready to use.
|
||||||
</summary>
|
</summary>
|
||||||
</member>
|
</member>
|
||||||
<member name="P:RecrownedAthenaeum.UI.Skin.Skin.CursorTexture">
|
<member name="P:RecrownedAthenaeum.UI.SkinSystem.Skin.CursorTexture">
|
||||||
<summary>
|
<summary>
|
||||||
The texture for the cursor.
|
The texture for the cursor.
|
||||||
</summary>
|
</summary>
|
||||||
</member>
|
</member>
|
||||||
<member name="M:RecrownedAthenaeum.UI.Skin.Skin.#ctor(RecrownedAthenaeum.SpecialTypes.TextureAtlas,Microsoft.Xna.Framework.Graphics.Texture2D)">
|
<member name="M:RecrownedAthenaeum.UI.SkinSystem.Skin.#ctor(RecrownedAthenaeum.SpecialTypes.TextureAtlas,Microsoft.Xna.Framework.Graphics.Texture2D)">
|
||||||
<summary>
|
<summary>
|
||||||
Creates a basic unfilled skin.
|
Creates a basic unfilled skin.
|
||||||
</summary>
|
</summary>
|
||||||
<param name="textureAtlas">The texture atlas to use for this skin.</param>
|
<param name="textureAtlas">The texture atlas to use for this skin.</param>
|
||||||
<param name="cursorTexture">The texture the cursor will be.</param>
|
<param name="cursorTexture">The texture the cursor will be.</param>
|
||||||
</member>
|
</member>
|
||||||
<member name="M:RecrownedAthenaeum.UI.Skin.Skin.GetTextureAtlasRegion(System.String)">
|
<member name="M:RecrownedAthenaeum.UI.SkinSystem.Skin.GetTextureAtlasRegion(System.String)">
|
||||||
<summary>
|
<summary>
|
||||||
Returns a <see cref="T:RecrownedAthenaeum.SpecialTypes.TextureAtlas.Region"/> with given name of region.
|
Returns a <see cref="T:RecrownedAthenaeum.SpecialTypes.TextureAtlas.Region"/> with given name of region.
|
||||||
</summary>
|
</summary>
|
||||||
<param name="name">Name of region.</param>
|
<param name="name">Name of region.</param>
|
||||||
<returns>The region corresponding to the name.</returns>
|
<returns>The region corresponding to the name.</returns>
|
||||||
</member>
|
</member>
|
||||||
<member name="M:RecrownedAthenaeum.UI.Skin.Skin.GetColor(System.String)">
|
<member name="M:RecrownedAthenaeum.UI.SkinSystem.Skin.GetColor(System.String)">
|
||||||
<summary>
|
<summary>
|
||||||
Returns a <see cref="T:Microsoft.Xna.Framework.Color"/> with given name of defined color;
|
Returns a <see cref="T:Microsoft.Xna.Framework.Color"/> with given name of defined color;
|
||||||
</summary>
|
</summary>
|
||||||
<param name="name">Name of defined color.</param>
|
<param name="name">Name of defined color.</param>
|
||||||
<returns>The defined color based on the name given.</returns>
|
<returns>The defined color based on the name given.</returns>
|
||||||
</member>
|
</member>
|
||||||
<member name="M:RecrownedAthenaeum.UI.Skin.Skin.Draw(System.String,System.String,Microsoft.Xna.Framework.Graphics.SpriteBatch,Microsoft.Xna.Framework.Rectangle,System.Single,Microsoft.Xna.Framework.Vector2)">
|
<member name="M:RecrownedAthenaeum.UI.SkinSystem.Skin.Draw(System.String,System.String,Microsoft.Xna.Framework.Graphics.SpriteBatch,Microsoft.Xna.Framework.Rectangle,System.Single,Microsoft.Xna.Framework.Vector2)">
|
||||||
<summary>
|
<summary>
|
||||||
Draws a region from the texture atlas.
|
Draws a region from the texture atlas.
|
||||||
</summary>
|
</summary>
|
||||||
@ -1671,22 +1697,22 @@
|
|||||||
<param name="rotation">The rotation to use in radians.</param>
|
<param name="rotation">The rotation to use in radians.</param>
|
||||||
<param name="origin">The origin for the rotation.</param>
|
<param name="origin">The origin for the rotation.</param>
|
||||||
</member>
|
</member>
|
||||||
<member name="M:RecrownedAthenaeum.UI.Skin.Skin.ObtainDefinition(System.String,System.Type)">
|
<member name="M:RecrownedAthenaeum.UI.SkinSystem.Skin.ObtainDefinition(System.String,System.Type)">
|
||||||
<summary>
|
<summary>
|
||||||
Returns an <see cref="T:RecrownedAthenaeum.UI.Skin.Definitions.ISkinDefinitionData"/> of the given name and type.
|
Returns an <see cref="T:RecrownedAthenaeum.UI.SkinSystem.Definitions.ISkinDefinitionData"/> of the given name and type.
|
||||||
</summary>
|
</summary>
|
||||||
<param name="definitionName">Name of definition of the <paramref name="type"/></param>
|
<param name="definitionName">Name of definition of the <paramref name="type"/></param>
|
||||||
<param name="type">The UIModule the definition defines.</param>
|
<param name="type">The UIModule the definition defines.</param>
|
||||||
<returns>The interface for the definition.</returns>
|
<returns>The interface for the definition.</returns>
|
||||||
</member>
|
</member>
|
||||||
<member name="M:RecrownedAthenaeum.UI.Skin.Skin.ObtainDefinition(System.Type)">
|
<member name="M:RecrownedAthenaeum.UI.SkinSystem.Skin.ObtainDefinition(System.Type)">
|
||||||
<summary>
|
<summary>
|
||||||
Returns the default <see cref="T:RecrownedAthenaeum.UI.Skin.Definitions.ISkinDefinitionData"/> of the given parameters.
|
Returns the default <see cref="T:RecrownedAthenaeum.UI.SkinSystem.Definitions.ISkinDefinitionData"/> of the given parameters.
|
||||||
</summary>
|
</summary>
|
||||||
<param name="type">The type of definition the default should be coming from.</param>
|
<param name="type">The type of definition the default should be coming from.</param>
|
||||||
<returns>The default definition for the given type.</returns>
|
<returns>The default definition for the given type.</returns>
|
||||||
</member>
|
</member>
|
||||||
<member name="M:RecrownedAthenaeum.UI.Skin.Skin.ObtainDefinition``1(System.String,System.Type)">
|
<member name="M:RecrownedAthenaeum.UI.SkinSystem.Skin.ObtainDefinition``1(System.String,System.Type)">
|
||||||
<summary>
|
<summary>
|
||||||
Returns the proper definition for the given parameters or throws exception in the case the requested definition does not exist.
|
Returns the proper definition for the given parameters or throws exception in the case the requested definition does not exist.
|
||||||
</summary>
|
</summary>
|
||||||
@ -1695,7 +1721,7 @@
|
|||||||
<param name="type">UIModule type the definition defines.</param>
|
<param name="type">UIModule type the definition defines.</param>
|
||||||
<returns>The definition cast to T.</returns>
|
<returns>The definition cast to T.</returns>
|
||||||
</member>
|
</member>
|
||||||
<member name="M:RecrownedAthenaeum.UI.Skin.Skin.ObtainDefinition``1(System.Type)">
|
<member name="M:RecrownedAthenaeum.UI.SkinSystem.Skin.ObtainDefinition``1(System.Type)">
|
||||||
<summary>
|
<summary>
|
||||||
Returns the default definition.
|
Returns the default definition.
|
||||||
</summary>
|
</summary>
|
||||||
@ -1703,134 +1729,134 @@
|
|||||||
<param name="type">The type of the UIModule to retrieve the default from.</param>
|
<param name="type">The type of the UIModule to retrieve the default from.</param>
|
||||||
<returns>The default definition for the given type.</returns>
|
<returns>The default definition for the given type.</returns>
|
||||||
</member>
|
</member>
|
||||||
<member name="M:RecrownedAthenaeum.UI.Skin.Skin.AddDefinition(System.String,RecrownedAthenaeum.UI.Skin.Definitions.ISkinDefinitionData)">
|
<member name="M:RecrownedAthenaeum.UI.SkinSystem.Skin.AddDefinition(System.String,RecrownedAthenaeum.UI.SkinSystem.Definitions.ISkinDefinitionData)">
|
||||||
<summary>
|
<summary>
|
||||||
Adds the definition.
|
Adds the definition.
|
||||||
</summary>
|
</summary>
|
||||||
<param name="definitionName">The name of the definition.</param>
|
<param name="definitionName">The name of the definition.</param>
|
||||||
<param name="skinDefinition">The definition itself.</param>
|
<param name="skinDefinition">The definition itself.</param>
|
||||||
</member>
|
</member>
|
||||||
<member name="M:RecrownedAthenaeum.UI.Skin.Skin.AddColor(System.String,Microsoft.Xna.Framework.Color)">
|
<member name="M:RecrownedAthenaeum.UI.SkinSystem.Skin.AddColor(System.String,Microsoft.Xna.Framework.Color)">
|
||||||
<summary>
|
<summary>
|
||||||
Adds color to skin.
|
Adds color to skin.
|
||||||
</summary>
|
</summary>
|
||||||
<param name="name"></param>
|
<param name="name"></param>
|
||||||
<param name="color"></param>
|
<param name="color"></param>
|
||||||
</member>
|
</member>
|
||||||
<member name="M:RecrownedAthenaeum.UI.Skin.Skin.Laminate">
|
<member name="M:RecrownedAthenaeum.UI.SkinSystem.Skin.Laminate">
|
||||||
<summary>
|
<summary>
|
||||||
Laminates the skin. Making sure no more additions are done and sets the skin to be ready for use.
|
Laminates the skin. Making sure no more additions are done and sets the skin to be ready for use.
|
||||||
Needs to be called before any use of skin. Building skin needs to be done before lamination.
|
Needs to be called before any use of skin. Building skin needs to be done before lamination.
|
||||||
</summary>
|
</summary>
|
||||||
</member>
|
</member>
|
||||||
<member name="M:RecrownedAthenaeum.UI.Skin.Skin.Dispose">
|
<member name="M:RecrownedAthenaeum.UI.SkinSystem.Skin.Dispose">
|
||||||
<summary>
|
<summary>
|
||||||
Disposes <see cref="F:RecrownedAthenaeum.UI.Skin.Skin.textureAtlas"/> and the <see cref="T:Microsoft.Xna.Framework.Graphics.Texture2D"/> holding the cursor texture.
|
Disposes <see cref="F:RecrownedAthenaeum.UI.SkinSystem.Skin.textureAtlas"/> and the <see cref="T:Microsoft.Xna.Framework.Graphics.Texture2D"/> holding the cursor texture.
|
||||||
</summary>
|
</summary>
|
||||||
</member>
|
</member>
|
||||||
<member name="M:RecrownedAthenaeum.UI.Skin.Skin.Dispose(System.Boolean)">
|
<member name="M:RecrownedAthenaeum.UI.SkinSystem.Skin.Dispose(System.Boolean)">
|
||||||
<summary>
|
<summary>
|
||||||
Overridable dispose function.
|
Overridable dispose function.
|
||||||
</summary>
|
</summary>
|
||||||
<param name="disposing">true when it's a user call to dispose.</param>
|
<param name="disposing">true when it's a user call to dispose.</param>
|
||||||
</member>
|
</member>
|
||||||
<member name="M:RecrownedAthenaeum.UI.Skin.Skin.Finalize">
|
<member name="M:RecrownedAthenaeum.UI.SkinSystem.Skin.Finalize">
|
||||||
<summary>
|
<summary>
|
||||||
Destructor. Calls the dispose with false.
|
Destructor. Calls the dispose with false.
|
||||||
</summary>
|
</summary>
|
||||||
</member>
|
</member>
|
||||||
<member name="T:RecrownedAthenaeum.UI.Skin.AsyncComplete">
|
<member name="T:RecrownedAthenaeum.UI.SkinSystem.AsyncComplete">
|
||||||
<summary>
|
<summary>
|
||||||
Called when the skin manager has completed a async action.
|
Called when the skin manager has completed a async action.
|
||||||
</summary>
|
</summary>
|
||||||
<param name="actionCompleted">The completed action.</param>
|
<param name="actionCompleted">The completed action.</param>
|
||||||
</member>
|
</member>
|
||||||
<member name="T:RecrownedAthenaeum.UI.Skin.SkinManager">
|
<member name="T:RecrownedAthenaeum.UI.SkinSystem.SkinManager">
|
||||||
<summary>
|
<summary>
|
||||||
Manages reference to default and loading of custom skins.
|
Manages reference to default and loading of custom skins.
|
||||||
</summary>
|
</summary>
|
||||||
</member>
|
</member>
|
||||||
<member name="P:RecrownedAthenaeum.UI.Skin.SkinManager.MergingSkins">
|
<member name="P:RecrownedAthenaeum.UI.SkinSystem.SkinManager.MergingSkins">
|
||||||
<summary>
|
<summary>
|
||||||
Whether or not the skin manager is set up with a <see cref="P:RecrownedAthenaeum.UI.Skin.SkinManager.BaseSkin"/> and <see cref="P:RecrownedAthenaeum.UI.Skin.SkinManager.loadedSkin"/>.
|
Whether or not the skin manager is set up with a <see cref="P:RecrownedAthenaeum.UI.SkinSystem.SkinManager.BaseSkin"/> and <see cref="P:RecrownedAthenaeum.UI.SkinSystem.SkinManager.loadedSkin"/>.
|
||||||
</summary>
|
</summary>
|
||||||
</member>
|
</member>
|
||||||
<member name="P:RecrownedAthenaeum.UI.Skin.SkinManager.SkinUseable">
|
<member name="P:RecrownedAthenaeum.UI.SkinSystem.SkinManager.SkinUseable">
|
||||||
<summary>
|
<summary>
|
||||||
Whether or not this manager has been set up with at least a base skin.
|
Whether or not this manager has been set up with at least a base skin.
|
||||||
</summary>
|
</summary>
|
||||||
</member>
|
</member>
|
||||||
<member name="F:RecrownedAthenaeum.UI.Skin.SkinManager.skinPaths">
|
<member name="F:RecrownedAthenaeum.UI.SkinSystem.SkinManager.skinPaths">
|
||||||
<summary>
|
<summary>
|
||||||
The list of paths for all found skins by <see cref="M:RecrownedAthenaeum.UI.Skin.SkinManager.SearchSkinDirectory"/>. May be null.
|
The list of paths for all found skins by <see cref="M:RecrownedAthenaeum.UI.SkinSystem.SkinManager.SearchSkinDirectory"/>. May be null.
|
||||||
</summary>
|
</summary>
|
||||||
</member>
|
</member>
|
||||||
<member name="E:RecrownedAthenaeum.UI.Skin.SkinManager.AsyncCompleteEvent">
|
<member name="E:RecrownedAthenaeum.UI.SkinSystem.SkinManager.AsyncCompleteEvent">
|
||||||
<summary>
|
<summary>
|
||||||
The event that is called when a state changes.
|
The event that is called when a state changes.
|
||||||
</summary>
|
</summary>
|
||||||
</member>
|
</member>
|
||||||
<member name="T:RecrownedAthenaeum.UI.Skin.SkinManager.Action">
|
<member name="T:RecrownedAthenaeum.UI.SkinSystem.SkinManager.Action">
|
||||||
<summary>
|
<summary>
|
||||||
The various possible states a skin manager could be in.
|
The various possible states a skin manager could be in.
|
||||||
</summary>
|
</summary>
|
||||||
</member>
|
</member>
|
||||||
<member name="F:RecrownedAthenaeum.UI.Skin.SkinManager.Action.SEARCH">
|
<member name="F:RecrownedAthenaeum.UI.SkinSystem.SkinManager.Action.SEARCH">
|
||||||
<summary>
|
<summary>
|
||||||
After a search has completed.
|
After a search has completed.
|
||||||
</summary>
|
</summary>
|
||||||
</member>
|
</member>
|
||||||
<member name="F:RecrownedAthenaeum.UI.Skin.SkinManager.Action.LOAD">
|
<member name="F:RecrownedAthenaeum.UI.SkinSystem.SkinManager.Action.LOAD">
|
||||||
<summary>
|
<summary>
|
||||||
Having the skin generated to be in a useable state.
|
Having the skin generated to be in a useable state.
|
||||||
</summary>
|
</summary>
|
||||||
</member>
|
</member>
|
||||||
<member name="P:RecrownedAthenaeum.UI.Skin.SkinManager.Skin">
|
<member name="P:RecrownedAthenaeum.UI.SkinSystem.SkinManager.Skin">
|
||||||
<summary>
|
<summary>
|
||||||
the skin that favors the selected skin, but still has a fallback to the default skin in case anything is missing.
|
the skin that favors the selected skin, but still has a fallback to the default skin in case anything is missing.
|
||||||
</summary>
|
</summary>
|
||||||
</member>
|
</member>
|
||||||
<member name="P:RecrownedAthenaeum.UI.Skin.SkinManager.loadedSkin">
|
<member name="P:RecrownedAthenaeum.UI.SkinSystem.SkinManager.loadedSkin">
|
||||||
<summary>
|
<summary>
|
||||||
The user loaded skin. Set by the skin loaded by calling <see cref="M:RecrownedAthenaeum.UI.Skin.SkinManager.LoadSkin(RecrownedAthenaeum.Data.SkinData,System.String,Microsoft.Xna.Framework.Graphics.GraphicsDevice)"/>.
|
The user loaded skin. Set by the skin loaded by calling <see cref="M:RecrownedAthenaeum.UI.SkinSystem.SkinManager.LoadSkin(RecrownedAthenaeum.Data.SkinData,System.String,Microsoft.Xna.Framework.Graphics.GraphicsDevice)"/>.
|
||||||
</summary>
|
</summary>
|
||||||
</member>
|
</member>
|
||||||
<member name="P:RecrownedAthenaeum.UI.Skin.SkinManager.BaseSkin">
|
<member name="P:RecrownedAthenaeum.UI.SkinSystem.SkinManager.BaseSkin">
|
||||||
<summary>
|
<summary>
|
||||||
The default skin in case the selected skin doesn't cover a specific definition or color.
|
The default skin in case the selected skin doesn't cover a specific definition or color.
|
||||||
</summary>
|
</summary>
|
||||||
</member>
|
</member>
|
||||||
<member name="F:RecrownedAthenaeum.UI.Skin.SkinManager.skinsDirectory">
|
<member name="F:RecrownedAthenaeum.UI.SkinSystem.SkinManager.skinsDirectory">
|
||||||
<summary>
|
<summary>
|
||||||
The directory that contains the skins.
|
The directory that contains the skins.
|
||||||
</summary>
|
</summary>
|
||||||
</member>
|
</member>
|
||||||
<member name="M:RecrownedAthenaeum.UI.Skin.SkinManager.SearchSkinDirectory">
|
<member name="M:RecrownedAthenaeum.UI.SkinSystem.SkinManager.SearchSkinDirectory">
|
||||||
<summary>
|
<summary>
|
||||||
Performs a recursive asynchronous search of the directory given in a path set by <see cref="F:RecrownedAthenaeum.UI.Skin.SkinManager.skinsDirectory"/>.
|
Performs a recursive asynchronous search of the directory given in a path set by <see cref="F:RecrownedAthenaeum.UI.SkinSystem.SkinManager.skinsDirectory"/>.
|
||||||
</summary>
|
</summary>
|
||||||
</member>
|
</member>
|
||||||
<member name="M:RecrownedAthenaeum.UI.Skin.SkinManager.ReadSkinData(System.String)">
|
<member name="M:RecrownedAthenaeum.UI.SkinSystem.SkinManager.ReadSkinData(System.String)">
|
||||||
<summary>
|
<summary>
|
||||||
Reads skin data if extension is valid.
|
Reads skin data if extension is valid.
|
||||||
</summary>
|
</summary>
|
||||||
<param name="path">the path to load from.</param>
|
<param name="path">the path to load from.</param>
|
||||||
<returns>A <see cref="T:RecrownedAthenaeum.Data.SkinData"/> that holds all the information and some metadata for the loaded skin.</returns>
|
<returns>A <see cref="T:RecrownedAthenaeum.Data.SkinData"/> that holds all the information and some metadata for the loaded skin.</returns>
|
||||||
</member>
|
</member>
|
||||||
<member name="M:RecrownedAthenaeum.UI.Skin.SkinManager.LoadSkin(RecrownedAthenaeum.Data.SkinData,System.String,Microsoft.Xna.Framework.Graphics.GraphicsDevice)">
|
<member name="M:RecrownedAthenaeum.UI.SkinSystem.SkinManager.LoadSkin(RecrownedAthenaeum.Data.SkinData,System.String,Microsoft.Xna.Framework.Graphics.GraphicsDevice)">
|
||||||
<summary>
|
<summary>
|
||||||
loads a skin asynchronously to the <see cref="P:RecrownedAthenaeum.UI.Skin.SkinManager.loadedSkin"/>.
|
loads a skin asynchronously to the <see cref="P:RecrownedAthenaeum.UI.SkinSystem.SkinManager.loadedSkin"/>.
|
||||||
</summary>
|
</summary>
|
||||||
<param name="graphicsDevice">Graphics device to use for texture creation. Uses graphics device from <see cref="T:RecrownedAthenaeum.Configuration"/>by default.</param>
|
<param name="graphicsDevice">Graphics device to use for texture creation. Uses graphics device from <see cref="T:RecrownedAthenaeum.Configuration"/>by default.</param>
|
||||||
<param name="skinData">The data to generate from.</param>
|
<param name="skinData">The data to generate from.</param>
|
||||||
<param name="path">The path pointing to the file with the extension "<see cref="F:RecrownedAthenaeum.UI.Skin.SkinManager.EXTENSION"/>".</param>
|
<param name="path">The path pointing to the file with the extension "<see cref="F:RecrownedAthenaeum.UI.SkinSystem.SkinManager.EXTENSION"/>".</param>
|
||||||
</member>
|
</member>
|
||||||
<member name="F:RecrownedAthenaeum.UI.Skin.MergedSkin.mainSkin">
|
<member name="F:RecrownedAthenaeum.UI.SkinSystem.MergedSkin.mainSkin">
|
||||||
<summary>
|
<summary>
|
||||||
The skin to try to use first.
|
The skin to try to use first.
|
||||||
</summary>
|
</summary>
|
||||||
</member>
|
</member>
|
||||||
<member name="F:RecrownedAthenaeum.UI.Skin.MergedSkin.alternateSkin">
|
<member name="F:RecrownedAthenaeum.UI.SkinSystem.MergedSkin.alternateSkin">
|
||||||
<summary>
|
<summary>
|
||||||
The fallback skin.
|
The fallback skin.
|
||||||
</summary>
|
</summary>
|
||||||
|
@ -74,6 +74,27 @@
|
|||||||
/processorParam:TextureFormat=Color
|
/processorParam:TextureFormat=Color
|
||||||
/build:1920x1080/flake.png
|
/build:1920x1080/flake.png
|
||||||
|
|
||||||
|
#begin 1920x1080/fonts/darktech_ldr.spritefont
|
||||||
|
/importer:FontDescriptionImporter
|
||||||
|
/processor:FontDescriptionProcessor
|
||||||
|
/processorParam:PremultiplyAlpha=True
|
||||||
|
/processorParam:TextureFormat=Compressed
|
||||||
|
/build:1920x1080/fonts/darktech_ldr.spritefont
|
||||||
|
|
||||||
|
#begin 1920x1080/fonts/gasalt_regular.spritefont
|
||||||
|
/importer:FontDescriptionImporter
|
||||||
|
/processor:FontDescriptionProcessor
|
||||||
|
/processorParam:PremultiplyAlpha=True
|
||||||
|
/processorParam:TextureFormat=Compressed
|
||||||
|
/build:1920x1080/fonts/gasalt_regular.spritefont
|
||||||
|
|
||||||
|
#begin 1920x1080/fonts/iron_maiden.spritefont
|
||||||
|
/importer:FontDescriptionImporter
|
||||||
|
/processor:FontDescriptionProcessor
|
||||||
|
/processorParam:PremultiplyAlpha=True
|
||||||
|
/processorParam:TextureFormat=Compressed
|
||||||
|
/build:1920x1080/fonts/iron_maiden.spritefont
|
||||||
|
|
||||||
#begin 1920x1080/laser.png
|
#begin 1920x1080/laser.png
|
||||||
/importer:TextureImporter
|
/importer:TextureImporter
|
||||||
/processor:TextureProcessor
|
/processor:TextureProcessor
|
||||||
@ -266,6 +287,27 @@
|
|||||||
/processorParam:TextureFormat=Color
|
/processorParam:TextureFormat=Color
|
||||||
/build:2560x1440/flake.png
|
/build:2560x1440/flake.png
|
||||||
|
|
||||||
|
#begin 2560x1440/fonts/darktech_ldr.spritefont
|
||||||
|
/importer:FontDescriptionImporter
|
||||||
|
/processor:FontDescriptionProcessor
|
||||||
|
/processorParam:PremultiplyAlpha=True
|
||||||
|
/processorParam:TextureFormat=Compressed
|
||||||
|
/build:2560x1440/fonts/darktech_ldr.spritefont
|
||||||
|
|
||||||
|
#begin 2560x1440/fonts/gasalt_regular.spritefont
|
||||||
|
/importer:FontDescriptionImporter
|
||||||
|
/processor:FontDescriptionProcessor
|
||||||
|
/processorParam:PremultiplyAlpha=True
|
||||||
|
/processorParam:TextureFormat=Compressed
|
||||||
|
/build:2560x1440/fonts/gasalt_regular.spritefont
|
||||||
|
|
||||||
|
#begin 2560x1440/fonts/iron_maiden.spritefont
|
||||||
|
/importer:FontDescriptionImporter
|
||||||
|
/processor:FontDescriptionProcessor
|
||||||
|
/processorParam:PremultiplyAlpha=True
|
||||||
|
/processorParam:TextureFormat=Compressed
|
||||||
|
/build:2560x1440/fonts/iron_maiden.spritefont
|
||||||
|
|
||||||
#begin 2560x1440/laser.png
|
#begin 2560x1440/laser.png
|
||||||
/importer:TextureImporter
|
/importer:TextureImporter
|
||||||
/processor:TextureProcessor
|
/processor:TextureProcessor
|
||||||
@ -470,6 +512,27 @@
|
|||||||
/processorParam:TextureFormat=Color
|
/processorParam:TextureFormat=Color
|
||||||
/build:3840x2160/flake.png
|
/build:3840x2160/flake.png
|
||||||
|
|
||||||
|
#begin 3840x2160/fonts/darktech_ldr.spritefont
|
||||||
|
/importer:FontDescriptionImporter
|
||||||
|
/processor:FontDescriptionProcessor
|
||||||
|
/processorParam:PremultiplyAlpha=True
|
||||||
|
/processorParam:TextureFormat=Compressed
|
||||||
|
/build:3840x2160/fonts/darktech_ldr.spritefont
|
||||||
|
|
||||||
|
#begin 3840x2160/fonts/gasalt_regular.spritefont
|
||||||
|
/importer:FontDescriptionImporter
|
||||||
|
/processor:FontDescriptionProcessor
|
||||||
|
/processorParam:PremultiplyAlpha=True
|
||||||
|
/processorParam:TextureFormat=Compressed
|
||||||
|
/build:3840x2160/fonts/gasalt_regular.spritefont
|
||||||
|
|
||||||
|
#begin 3840x2160/fonts/iron_maiden.spritefont
|
||||||
|
/importer:FontDescriptionImporter
|
||||||
|
/processor:FontDescriptionProcessor
|
||||||
|
/processorParam:PremultiplyAlpha=True
|
||||||
|
/processorParam:TextureFormat=Compressed
|
||||||
|
/build:3840x2160/fonts/iron_maiden.spritefont
|
||||||
|
|
||||||
#begin 3840x2160/laser.png
|
#begin 3840x2160/laser.png
|
||||||
/importer:TextureImporter
|
/importer:TextureImporter
|
||||||
/processor:TextureProcessor
|
/processor:TextureProcessor
|
||||||
@ -602,6 +665,66 @@
|
|||||||
/processorParam:TextureFormat=Color
|
/processorParam:TextureFormat=Color
|
||||||
/build:3840x2160/void_circle.png
|
/build:3840x2160/void_circle.png
|
||||||
|
|
||||||
|
#begin cursor.png
|
||||||
|
/importer:TextureImporter
|
||||||
|
/processor:TextureProcessor
|
||||||
|
/processorParam:ColorKeyColor=255,0,255,255
|
||||||
|
/processorParam:ColorKeyEnabled=True
|
||||||
|
/processorParam:GenerateMipmaps=False
|
||||||
|
/processorParam:PremultiplyAlpha=True
|
||||||
|
/processorParam:ResizeToPowerOfTwo=False
|
||||||
|
/processorParam:MakeSquare=False
|
||||||
|
/processorParam:TextureFormat=Color
|
||||||
|
/build:cursor.png
|
||||||
|
|
||||||
|
#begin default_cover.png
|
||||||
|
/importer:TextureImporter
|
||||||
|
/processor:TextureProcessor
|
||||||
|
/processorParam:ColorKeyColor=255,0,255,255
|
||||||
|
/processorParam:ColorKeyEnabled=True
|
||||||
|
/processorParam:GenerateMipmaps=False
|
||||||
|
/processorParam:PremultiplyAlpha=True
|
||||||
|
/processorParam:ResizeToPowerOfTwo=False
|
||||||
|
/processorParam:MakeSquare=False
|
||||||
|
/processorParam:TextureFormat=Color
|
||||||
|
/build:default_cover.png
|
||||||
|
|
||||||
|
#begin loading_ring.png
|
||||||
|
/importer:TextureImporter
|
||||||
|
/processor:TextureProcessor
|
||||||
|
/processorParam:ColorKeyColor=255,0,255,255
|
||||||
|
/processorParam:ColorKeyEnabled=True
|
||||||
|
/processorParam:GenerateMipmaps=False
|
||||||
|
/processorParam:PremultiplyAlpha=True
|
||||||
|
/processorParam:ResizeToPowerOfTwo=False
|
||||||
|
/processorParam:MakeSquare=False
|
||||||
|
/processorParam:TextureFormat=Color
|
||||||
|
/build:loading_ring.png
|
||||||
|
|
||||||
|
#begin recrown.png
|
||||||
|
/importer:TextureImporter
|
||||||
|
/processor:TextureProcessor
|
||||||
|
/processorParam:ColorKeyColor=255,0,255,255
|
||||||
|
/processorParam:ColorKeyEnabled=True
|
||||||
|
/processorParam:GenerateMipmaps=False
|
||||||
|
/processorParam:PremultiplyAlpha=True
|
||||||
|
/processorParam:ResizeToPowerOfTwo=False
|
||||||
|
/processorParam:MakeSquare=False
|
||||||
|
/processorParam:TextureFormat=Color
|
||||||
|
/build:recrown.png
|
||||||
|
|
||||||
|
#begin RhythmBullet.png
|
||||||
|
/importer:TextureImporter
|
||||||
|
/processor:TextureProcessor
|
||||||
|
/processorParam:ColorKeyColor=255,0,255,255
|
||||||
|
/processorParam:ColorKeyEnabled=True
|
||||||
|
/processorParam:GenerateMipmaps=False
|
||||||
|
/processorParam:PremultiplyAlpha=True
|
||||||
|
/processorParam:ResizeToPowerOfTwo=False
|
||||||
|
/processorParam:MakeSquare=False
|
||||||
|
/processorParam:TextureFormat=Color
|
||||||
|
/build:RhythmBullet.png
|
||||||
|
|
||||||
#begin sfx/disintegrate.ogg
|
#begin sfx/disintegrate.ogg
|
||||||
/importer:OggImporter
|
/importer:OggImporter
|
||||||
/processor:SongProcessor
|
/processor:SongProcessor
|
||||||
@ -632,87 +755,6 @@
|
|||||||
/processorParam:Quality=Best
|
/processorParam:Quality=Best
|
||||||
/build:sfx/pop_open.ogg
|
/build:sfx/pop_open.ogg
|
||||||
|
|
||||||
#begin 1920x1080/fonts/darktech_ldr.spritefont
|
|
||||||
/importer:FontDescriptionImporter
|
|
||||||
/processor:FontDescriptionProcessor
|
|
||||||
/processorParam:PremultiplyAlpha=True
|
|
||||||
/processorParam:TextureFormat=Compressed
|
|
||||||
/build:1920x1080/fonts/darktech_ldr.spritefont
|
|
||||||
|
|
||||||
#begin 1920x1080/fonts/gasalt_regular.spritefont
|
|
||||||
/importer:FontDescriptionImporter
|
|
||||||
/processor:FontDescriptionProcessor
|
|
||||||
/processorParam:PremultiplyAlpha=True
|
|
||||||
/processorParam:TextureFormat=Compressed
|
|
||||||
/build:1920x1080/fonts/gasalt_regular.spritefont
|
|
||||||
|
|
||||||
#begin 1920x1080/fonts/iron_maiden.spritefont
|
|
||||||
/importer:FontDescriptionImporter
|
|
||||||
/processor:FontDescriptionProcessor
|
|
||||||
/processorParam:PremultiplyAlpha=True
|
|
||||||
/processorParam:TextureFormat=Compressed
|
|
||||||
/build:1920x1080/fonts/iron_maiden.spritefont
|
|
||||||
|
|
||||||
#begin recrown.png
|
|
||||||
/importer:TextureImporter
|
|
||||||
/processor:TextureProcessor
|
|
||||||
/processorParam:ColorKeyColor=255,0,255,255
|
|
||||||
/processorParam:ColorKeyEnabled=True
|
|
||||||
/processorParam:GenerateMipmaps=False
|
|
||||||
/processorParam:PremultiplyAlpha=True
|
|
||||||
/processorParam:ResizeToPowerOfTwo=False
|
|
||||||
/processorParam:MakeSquare=False
|
|
||||||
/processorParam:TextureFormat=Color
|
|
||||||
/build:recrown.png
|
|
||||||
|
|
||||||
#begin default_cover.png
|
|
||||||
/importer:TextureImporter
|
|
||||||
/processor:TextureProcessor
|
|
||||||
/processorParam:ColorKeyColor=255,0,255,255
|
|
||||||
/processorParam:ColorKeyEnabled=True
|
|
||||||
/processorParam:GenerateMipmaps=False
|
|
||||||
/processorParam:PremultiplyAlpha=True
|
|
||||||
/processorParam:ResizeToPowerOfTwo=False
|
|
||||||
/processorParam:MakeSquare=False
|
|
||||||
/processorParam:TextureFormat=Color
|
|
||||||
/build:default_cover.png
|
|
||||||
|
|
||||||
#begin RhythmBullet.png
|
|
||||||
/importer:TextureImporter
|
|
||||||
/processor:TextureProcessor
|
|
||||||
/processorParam:ColorKeyColor=255,0,255,255
|
|
||||||
/processorParam:ColorKeyEnabled=True
|
|
||||||
/processorParam:GenerateMipmaps=False
|
|
||||||
/processorParam:PremultiplyAlpha=True
|
|
||||||
/processorParam:ResizeToPowerOfTwo=False
|
|
||||||
/processorParam:MakeSquare=False
|
|
||||||
/processorParam:TextureFormat=Color
|
|
||||||
/build:RhythmBullet.png
|
|
||||||
|
|
||||||
#begin loading_ring.png
|
|
||||||
/importer:TextureImporter
|
|
||||||
/processor:TextureProcessor
|
|
||||||
/processorParam:ColorKeyColor=255,0,255,255
|
|
||||||
/processorParam:ColorKeyEnabled=True
|
|
||||||
/processorParam:GenerateMipmaps=False
|
|
||||||
/processorParam:PremultiplyAlpha=True
|
|
||||||
/processorParam:ResizeToPowerOfTwo=False
|
|
||||||
/processorParam:MakeSquare=False
|
|
||||||
/processorParam:TextureFormat=Color
|
|
||||||
/build:loading_ring.png
|
|
||||||
|
|
||||||
#begin cursor.png
|
|
||||||
/importer:TextureImporter
|
|
||||||
/processor:TextureProcessor
|
|
||||||
/processorParam:ColorKeyColor=255,0,255,255
|
|
||||||
/processorParam:ColorKeyEnabled=True
|
|
||||||
/processorParam:GenerateMipmaps=False
|
|
||||||
/processorParam:PremultiplyAlpha=True
|
|
||||||
/processorParam:ResizeToPowerOfTwo=False
|
|
||||||
/processorParam:MakeSquare=False
|
|
||||||
/processorParam:TextureFormat=Color
|
|
||||||
/build:cursor.png
|
|
||||||
|
|
||||||
#begin UI.tatlas
|
#begin UI.tatlas
|
||||||
/importer:TextureAtlasImporter
|
/importer:TextureAtlasImporter
|
||||||
/processor:TextureAtlasProcessor
|
/processor:TextureAtlasProcessor
|
||||||
|
@ -72,17 +72,18 @@
|
|||||||
<Reference Include="BulletSharp, Version=0.11.0.0, Culture=neutral, processorArchitecture=MSIL">
|
<Reference Include="BulletSharp, Version=0.11.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||||
<HintPath>..\packages\BulletSharp.0.11.1\lib\net40-client\BulletSharp.dll</HintPath>
|
<HintPath>..\packages\BulletSharp.0.11.1\lib\net40-client\BulletSharp.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="MonoGame.Framework">
|
<Reference Include="MonoGame.Framework, Version=3.7.1.189, Culture=neutral, processorArchitecture=MSIL">
|
||||||
<HintPath>$(MonoGameInstallDirectory)\MonoGame\v3.0\Assemblies\DesktopGL\MonoGame.Framework.dll</HintPath>
|
<HintPath>..\packages\MonoGame.Framework.DesktopGL.3.7.1.189\lib\net45\MonoGame.Framework.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="NAudio, Version=1.8.5.0, Culture=neutral, processorArchitecture=MSIL">
|
<Reference Include="NAudio, Version=1.9.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||||
<HintPath>..\packages\NAudio.1.8.5\lib\net35\NAudio.dll</HintPath>
|
<HintPath>..\packages\NAudio.1.9.0-preview2\lib\net35\NAudio.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="RecrownedAthenaeum, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
<Reference Include="RecrownedAthenaeum, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||||
<SpecificVersion>False</SpecificVersion>
|
<SpecificVersion>False</SpecificVersion>
|
||||||
<HintPath>..\References\RecrownedAthenaeum.dll</HintPath>
|
<HintPath>..\References\RecrownedAthenaeum.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="System" />
|
<Reference Include="System" />
|
||||||
|
<Reference Include="System.Windows.Forms" />
|
||||||
<Reference Include="System.Xml" />
|
<Reference Include="System.Xml" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
@ -146,7 +147,9 @@
|
|||||||
<ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
|
<ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<Error Condition="!Exists('..\packages\BulletSharp.0.11.1\build\net40-client\BulletSharp.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\BulletSharp.0.11.1\build\net40-client\BulletSharp.targets'))" />
|
<Error Condition="!Exists('..\packages\BulletSharp.0.11.1\build\net40-client\BulletSharp.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\BulletSharp.0.11.1\build\net40-client\BulletSharp.targets'))" />
|
||||||
|
<Error Condition="!Exists('..\packages\MonoGame.Framework.DesktopGL.3.7.1.189\build\MonoGame.Framework.DesktopGL.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\MonoGame.Framework.DesktopGL.3.7.1.189\build\MonoGame.Framework.DesktopGL.targets'))" />
|
||||||
</Target>
|
</Target>
|
||||||
|
<Import Project="..\packages\MonoGame.Framework.DesktopGL.3.7.1.189\build\MonoGame.Framework.DesktopGL.targets" Condition="Exists('..\packages\MonoGame.Framework.DesktopGL.3.7.1.189\build\MonoGame.Framework.DesktopGL.targets')" />
|
||||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||||
Other similar extension points exist, see Microsoft.Common.targets.
|
Other similar extension points exist, see Microsoft.Common.targets.
|
||||||
<Target Name="BeforeBuild">
|
<Target Name="BeforeBuild">
|
||||||
|
@ -8,8 +8,8 @@ using RecrownedAthenaeum.Input;
|
|||||||
using RecrownedAthenaeum.Persistence;
|
using RecrownedAthenaeum.Persistence;
|
||||||
using RecrownedAthenaeum.ScreenSystem;
|
using RecrownedAthenaeum.ScreenSystem;
|
||||||
using RecrownedAthenaeum.SpecialTypes;
|
using RecrownedAthenaeum.SpecialTypes;
|
||||||
using RecrownedAthenaeum.UI.Skin;
|
using RecrownedAthenaeum.UI.SkinSystem;
|
||||||
using RecrownedAthenaeum.UI.Skin.Definitions;
|
using RecrownedAthenaeum.UI.SkinSystem.Definitions;
|
||||||
using RhythmBullet.Audio;
|
using RhythmBullet.Audio;
|
||||||
using RhythmBullet.ContentResolvers;
|
using RhythmBullet.ContentResolvers;
|
||||||
using RhythmBullet.Preferences;
|
using RhythmBullet.Preferences;
|
||||||
@ -50,7 +50,6 @@ namespace RhythmBullet
|
|||||||
graphics = new GraphicsDeviceManager(this);
|
graphics = new GraphicsDeviceManager(this);
|
||||||
Content.RootDirectory = "Content";
|
Content.RootDirectory = "Content";
|
||||||
assets = new ContentManagerController(Content);
|
assets = new ContentManagerController(Content);
|
||||||
|
|
||||||
musicController = new MusicController();
|
musicController = new MusicController();
|
||||||
resolutionContentResolver = new ResolutionContentResolver();
|
resolutionContentResolver = new ResolutionContentResolver();
|
||||||
FontContentResolver fcr = new FontContentResolver(resolutionContentResolver);
|
FontContentResolver fcr = new FontContentResolver(resolutionContentResolver);
|
||||||
@ -202,6 +201,9 @@ namespace RhythmBullet
|
|||||||
assets.Queue<Texture2D>("default_cover", false);
|
assets.Queue<Texture2D>("default_cover", false);
|
||||||
assets.Queue<Texture2D>("backgrounds/mainBG");
|
assets.Queue<Texture2D>("backgrounds/mainBG");
|
||||||
assets.Queue<TextureAtlas>("UI");
|
assets.Queue<TextureAtlas>("UI");
|
||||||
|
assets.Queue<SpriteFont>("gasalt_regular");
|
||||||
|
assets.Queue<SpriteFont>("darktech_ldr");
|
||||||
|
assets.Queue<SpriteFont>("iron_maiden");
|
||||||
}
|
}
|
||||||
|
|
||||||
private void PostLoad()
|
private void PostLoad()
|
||||||
@ -209,14 +211,15 @@ namespace RhythmBullet
|
|||||||
Debug.WriteLine("Initial setup and loading complete.");
|
Debug.WriteLine("Initial setup and loading complete.");
|
||||||
SetUpDefaultSkin();
|
SetUpDefaultSkin();
|
||||||
UpdateCursor();
|
UpdateCursor();
|
||||||
mainScreen = new MainScreen(assets);
|
|
||||||
|
mainScreen = new MainScreen(assets, Skin);
|
||||||
initialLoadComplete = true;
|
initialLoadComplete = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
private void UpdateCursor()
|
private void UpdateCursor()
|
||||||
{
|
{
|
||||||
Texture2D texture = skinManager.Skin.CursorTexture;
|
Texture2D texture = Skin.CursorTexture;
|
||||||
int cursorSize = (int)(0.08f * graphics.PreferredBackBufferHeight);
|
int cursorSize = (int)(0.07f * graphics.PreferredBackBufferHeight);
|
||||||
Debug.WriteLine("Cursor size length: " + cursorSize);
|
Debug.WriteLine("Cursor size length: " + cursorSize);
|
||||||
RenderTarget2D renderTarget = new RenderTarget2D(GraphicsDevice, cursorSize, cursorSize);
|
RenderTarget2D renderTarget = new RenderTarget2D(GraphicsDevice, cursorSize, cursorSize);
|
||||||
GraphicsDevice.SetRenderTarget(renderTarget);
|
GraphicsDevice.SetRenderTarget(renderTarget);
|
||||||
@ -238,6 +241,7 @@ namespace RhythmBullet
|
|||||||
|
|
||||||
TextButtonSkinDefinition textButtonSkinDefinition = new TextButtonSkinDefinition("Rounded9pButton-down", "Rounded9pButton");
|
TextButtonSkinDefinition textButtonSkinDefinition = new TextButtonSkinDefinition("Rounded9pButton-down", "Rounded9pButton");
|
||||||
textButtonSkinDefinition.disabledRegion = "Rounded9pButton-disabled";
|
textButtonSkinDefinition.disabledRegion = "Rounded9pButton-disabled";
|
||||||
|
|
||||||
skin.AddDefinition("default", textButtonSkinDefinition);
|
skin.AddDefinition("default", textButtonSkinDefinition);
|
||||||
|
|
||||||
skin.Laminate();
|
skin.Laminate();
|
||||||
|
@ -1,8 +1,11 @@
|
|||||||
using Microsoft.Xna.Framework.Graphics;
|
using Microsoft.Xna.Framework;
|
||||||
|
using Microsoft.Xna.Framework.Graphics;
|
||||||
using RecrownedAthenaeum.ContentSystem;
|
using RecrownedAthenaeum.ContentSystem;
|
||||||
using RecrownedAthenaeum.UI.Book;
|
using RecrownedAthenaeum.UI.BookSystem;
|
||||||
using RecrownedAthenaeum.UI.Modular.Modules;
|
using RecrownedAthenaeum.UI.Modular.Modules;
|
||||||
using RecrownedAthenaeum.UI.Modular.Modules.Interactive;
|
using RecrownedAthenaeum.UI.Modular.Modules.Interactive;
|
||||||
|
using RecrownedAthenaeum.UI.SkinSystem;
|
||||||
|
using RecrownedAthenaeum.UI.SkinSystem.Definitions;
|
||||||
|
|
||||||
namespace RhythmBullet.Screens.MainMenu
|
namespace RhythmBullet.Screens.MainMenu
|
||||||
{
|
{
|
||||||
@ -12,18 +15,33 @@ namespace RhythmBullet.Screens.MainMenu
|
|||||||
TextButton playButton;
|
TextButton playButton;
|
||||||
TextButton quitButton;
|
TextButton quitButton;
|
||||||
|
|
||||||
internal MainPage(ContentManagerController assets) : base(0, 0)
|
internal MainPage() : base(0, 0)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
protected override void Initialize(ContentManagerController assets, ISkin skin)
|
||||||
{
|
{
|
||||||
title = new Image(assets.Get<Texture2D>("title"));
|
title = new Image(assets.Get<Texture2D>("title"));
|
||||||
AddModule(title);
|
AddModule(title);
|
||||||
|
|
||||||
|
SpriteFont font = assets.Get<SpriteFont>("gasalt_regular");
|
||||||
|
|
||||||
|
var test = skin.ObtainDefinition<TextButtonSkinDefinition>(typeof(TextButton));
|
||||||
|
|
||||||
|
playButton = new TextButton("Play!", font, skin);
|
||||||
|
AddModule(playButton);
|
||||||
|
|
||||||
|
quitButton = new TextButton("Quit", font, skin);
|
||||||
|
AddModule(quitButton);
|
||||||
}
|
}
|
||||||
|
|
||||||
public override void ApplySize(int width, int height)
|
public override void ApplySize(int width, int height)
|
||||||
{
|
{
|
||||||
title.Scale = (width - 40) / title.Texture.Width;
|
title.Scale = (width - 40) / title.Texture.Width;
|
||||||
title.bounds.X = (int)((width - title.bounds.Width) / 2f);
|
title.CenterOrigin();
|
||||||
title.bounds.Y = (int)((height - title.bounds.Height) / 2f);
|
title.bounds.X = width / 2;
|
||||||
|
title.bounds.Y = height / 2;
|
||||||
|
|
||||||
base.ApplySize(width, height);
|
base.ApplySize(width, height);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -3,7 +3,8 @@ using Microsoft.Xna.Framework.Graphics;
|
|||||||
using RecrownedAthenaeum.Camera;
|
using RecrownedAthenaeum.Camera;
|
||||||
using RecrownedAthenaeum.ContentSystem;
|
using RecrownedAthenaeum.ContentSystem;
|
||||||
using RecrownedAthenaeum.ScreenSystem;
|
using RecrownedAthenaeum.ScreenSystem;
|
||||||
using RecrownedAthenaeum.UI.Book;
|
using RecrownedAthenaeum.UI.BookSystem;
|
||||||
|
using RecrownedAthenaeum.UI.SkinSystem;
|
||||||
using RhythmBullet.Screens.Transitions;
|
using RhythmBullet.Screens.Transitions;
|
||||||
|
|
||||||
namespace RhythmBullet.Screens.MainMenu
|
namespace RhythmBullet.Screens.MainMenu
|
||||||
@ -16,13 +17,13 @@ namespace RhythmBullet.Screens.MainMenu
|
|||||||
readonly Book book;
|
readonly Book book;
|
||||||
readonly MainPage mainPage;
|
readonly MainPage mainPage;
|
||||||
|
|
||||||
public MainScreen(ContentManagerController assets) : base(true)
|
public MainScreen(ContentManagerController assets, ISkin skin) : base(true)
|
||||||
{
|
{
|
||||||
this.assets = assets;
|
this.assets = assets;
|
||||||
background = assets.Get<Texture2D>("backgrounds/mainBG");
|
background = assets.Get<Texture2D>("backgrounds/mainBG");
|
||||||
fat = new FadeAwayTransition(1.5f);
|
fat = new FadeAwayTransition(1.5f);
|
||||||
book = new Book();
|
book = new Book(assets, skin);
|
||||||
mainPage = new MainPage(assets);
|
mainPage = new MainPage();
|
||||||
book.AddPages(mainPage);
|
book.AddPages(mainPage);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<packages>
|
<packages>
|
||||||
<package id="BulletSharp" version="0.11.1" targetFramework="net45" />
|
<package id="BulletSharp" version="0.11.1" targetFramework="net45" />
|
||||||
<package id="NAudio" version="1.8.5" targetFramework="net45" />
|
<package id="MonoGame.Framework.DesktopGL" version="3.7.1.189" targetFramework="net45" />
|
||||||
|
<package id="NAudio" version="1.9.0-preview2" targetFramework="net45" />
|
||||||
</packages>
|
</packages>
|
Loading…
Reference in New Issue
Block a user