Rename CTexture to CTextureRef to reflect it is only a reference
This commit is contained in:
1 parent
3fe8cdf05c
commit
7f8e974fe1
51 files changed
+290
-285
No files matched your search
@@ -24,8 +24,8 @@ namespace VocaluxeLib.Songs
|
||||
public class CCategory
|
||||
{
|
||||
public readonly string Name;
|
||||
private CTexture _CoverTextureSmall;
|
||||
private CTexture _CoverTextureBig;
|
||||
private CTextureRef _CoverTextureSmall;
|
||||
private CTextureRef _CoverTextureBig;
|
||||
public readonly List<CSongPointer> Songs = new List<CSongPointer>();
|
||||
|
||||
public CCategory(string name)
|
||||
@@ -33,14 +33,14 @@ namespace VocaluxeLib.Songs
|
||||
Name = name;
|
||||
}
|
||||
|
||||
public CTexture CoverTextureSmall
|
||||
public CTextureRef CoverTextureSmall
|
||||
{
|
||||
get { return _CoverTextureSmall; }
|
||||
|
||||
set { _CoverTextureSmall = value; }
|
||||
}
|
||||
|
||||
public CTexture CoverTextureBig
|
||||
public CTextureRef CoverTextureBig
|
||||
{
|
||||
get { return _CoverTextureBig ?? _CoverTextureSmall; }
|
||||
set
|
||||
|
||||
@@ -78,8 +78,8 @@ namespace VocaluxeLib.Songs
|
||||
|
||||
public partial class CSong
|
||||
{
|
||||
private CTexture _CoverTextureSmall;
|
||||
private CTexture _CoverTextureBig;
|
||||
private CTextureRef _CoverTextureSmall;
|
||||
private CTextureRef _CoverTextureBig;
|
||||
|
||||
public SMedley Medley;
|
||||
|
||||
@@ -104,7 +104,7 @@ namespace VocaluxeLib.Songs
|
||||
|
||||
public bool NotesLoaded { get; private set; }
|
||||
|
||||
public CTexture CoverTextureSmall
|
||||
public CTextureRef CoverTextureSmall
|
||||
{
|
||||
get
|
||||
{
|
||||
@@ -116,7 +116,7 @@ namespace VocaluxeLib.Songs
|
||||
set { _CoverTextureSmall = value; }
|
||||
}
|
||||
|
||||
public CTexture CoverTextureBig
|
||||
public CTextureRef CoverTextureBig
|
||||
{
|
||||
get { return _CoverTextureBig ?? _CoverTextureSmall; }
|
||||
set { _CoverTextureBig = value; }
|
||||
|
||||
Reference in new issue
Block a user