namespace refactor & progress on texture atlas
This commit is contained in:
@@ -1,15 +1,15 @@
|
||||
using Microsoft.Xna.Framework;
|
||||
using Microsoft.Xna.Framework.Graphics;
|
||||
using RhythmBullet.UI.Modular;
|
||||
using RecrownedAthenaeum.UI.Modular;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace RhythmBullet.Utilities.UI.Modular.Modules
|
||||
namespace RecrownedAthenaeum.UI.Modular.Modules
|
||||
{
|
||||
class Image : UIModule
|
||||
public class Image : UIModule
|
||||
{
|
||||
public float rotation = 0f;
|
||||
public Texture2D Texture { get; set; }
|
||||
|
@@ -1,15 +1,15 @@
|
||||
using Microsoft.Xna.Framework.Graphics;
|
||||
using Microsoft.Xna.Framework.Input;
|
||||
using RhythmBullet.UI.Modular;
|
||||
using RhythmBullet.Utilities.DataTypes;
|
||||
using RhythmBullet.Utilities.Input;
|
||||
using RecrownedAthenaeum.UI.Modular;
|
||||
using RecrownedAthenaeum.DataTypes;
|
||||
using RecrownedAthenaeum.Input;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace RhythmBullet.Utilities.UI.Modular.Modules.Interactive
|
||||
namespace RecrownedAthenaeum.UI.Modular.Modules.Interactive
|
||||
{
|
||||
public delegate bool Clicked();
|
||||
|
||||
|
@@ -1,21 +1,21 @@
|
||||
using Microsoft.Xna.Framework;
|
||||
using Microsoft.Xna.Framework.Graphics;
|
||||
using RhythmBullet.UI.Modular.Modules;
|
||||
using RhythmBullet.Utilities.DataTypes;
|
||||
using RhythmBullet.Utilities.UI.Modular.Modules.Interactive;
|
||||
using RecrownedAthenaeum.UI.Modular.Modules;
|
||||
using RecrownedAthenaeum.DataTypes;
|
||||
using RecrownedAthenaeum.UI.Modular.Modules.Interactive;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace RhythmBullet.Utilities.UI.Modular.Modules.Interactive
|
||||
namespace RecrownedAthenaeum.UI.Modular.Modules.Interactive
|
||||
{
|
||||
internal class TextButton : Button
|
||||
public class TextButton : Button
|
||||
{
|
||||
private TextLabel label;
|
||||
|
||||
internal TextButton(string text, SpriteFont font, NinePatch background) : base(background)
|
||||
public TextButton(string text, SpriteFont font, NinePatch background) : base(background)
|
||||
{
|
||||
label = new TextLabel(font, text);
|
||||
label.autoScale = true;
|
||||
|
@@ -1,13 +1,13 @@
|
||||
using Microsoft.Xna.Framework;
|
||||
using Microsoft.Xna.Framework.Graphics;
|
||||
using RhythmBullet.Utilities.Camera;
|
||||
using RecrownedAthenaeum.Camera;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace RhythmBullet.UI.Modular.Modules
|
||||
namespace RecrownedAthenaeum.UI.Modular.Modules
|
||||
{
|
||||
public class TextLabel : UIModule
|
||||
{
|
||||
|
@@ -1,15 +1,15 @@
|
||||
using Microsoft.Xna.Framework;
|
||||
using Microsoft.Xna.Framework.Graphics;
|
||||
using Microsoft.Xna.Framework.Input;
|
||||
using RhythmBullet.Utilities.Camera;
|
||||
using RhythmBullet.Utilities.Input;
|
||||
using RecrownedAthenaeum.Camera;
|
||||
using RecrownedAthenaeum.Input;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace RhythmBullet.UI.Modular
|
||||
namespace RecrownedAthenaeum.UI.Modular
|
||||
{
|
||||
public class UIModule : IInputListener
|
||||
{
|
||||
|
@@ -6,10 +6,10 @@ using System.Threading.Tasks;
|
||||
using Microsoft.Xna.Framework;
|
||||
using Microsoft.Xna.Framework.Graphics;
|
||||
using Microsoft.Xna.Framework.Input;
|
||||
using RhythmBullet.Utilities.Camera;
|
||||
using RhythmBullet.Utilities.Input;
|
||||
using RecrownedAthenaeum.Camera;
|
||||
using RecrownedAthenaeum.Input;
|
||||
|
||||
namespace RhythmBullet.UI.Modular
|
||||
namespace RecrownedAthenaeum.UI.Modular
|
||||
{
|
||||
public class UIModuleGroup : UIModule
|
||||
{
|
||||
|
Reference in New Issue
Block a user