| 1613 |
public CTexture txタイトル名; |
public CTexture txタイトル名; |
| 1614 |
public CTexture txアーティスト名; |
public CTexture txアーティスト名; |
| 1615 |
public CTexture txパネル; |
public CTexture txパネル; |
| 1616 |
|
public CTexture txカスタム曲名テクスチャ; |
| 1617 |
public int nアーティスト名テクスチャの長さdot; |
public int nアーティスト名テクスチャの長さdot; |
| 1618 |
public int nタイトル名テクスチャの長さdot; |
public int nタイトル名テクスチャの長さdot; |
| 1619 |
public STDGBVALUE<int> nスキル値; |
public STDGBVALUE<int> nスキル値; |
| 1903 |
|
|
| 1904 |
this.stバー情報[ i ].strDTXフォルダのパス = song.arスコア[ this.n現在のアンカ難易度レベルに最も近い難易度レベルを返す( song ) ].ファイル情報.フォルダの絶対パス + song.arスコア[ this.n現在のアンカ難易度レベルに最も近い難易度レベルを返す( song ) ].譜面情報.Preimage; |
this.stバー情報[ i ].strDTXフォルダのパス = song.arスコア[ this.n現在のアンカ難易度レベルに最も近い難易度レベルを返す( song ) ].ファイル情報.フォルダの絶対パス + song.arスコア[ this.n現在のアンカ難易度レベルに最も近い難易度レベルを返す( song ) ].譜面情報.Preimage; |
| 1905 |
//this.tパスを指定してサムネイル画像を生成する( i, this.stバー情報[ i ].strDTXフォルダのパス, this.stバー情報[ i ].eバー種別 ); |
//this.tパスを指定してサムネイル画像を生成する( i, this.stバー情報[ i ].strDTXフォルダのパス, this.stバー情報[ i ].eバー種別 ); |
| 1906 |
this.tパネルの生成(i, song.strタイトル, this.stバー情報[i].strアーティスト名, song.col文字色); |
this.tパネルの生成(i, song.strタイトル, this.stバー情報[ i ].strアーティスト名, song.col文字色); |
| 1907 |
if( !this.dicThumbnail.ContainsKey( this.stバー情報[ i ].strDTXフォルダのパス ) ) |
if( !this.dicThumbnail.ContainsKey( this.stバー情報[ i ].strDTXフォルダのパス ) ) |
| 1908 |
{ |
{ |
| 1909 |
//txTumbnail = this.tサムネイルテクスチャを作成する( Path.GetDirectoryName( song.ScoreFile ) ); |
//txTumbnail = this.tサムネイルテクスチャを作成する( Path.GetDirectoryName( song.ScoreFile ) ); |
| 2059 |
{ |
{ |
| 2060 |
Bitmap b4font; |
Bitmap b4font; |
| 2061 |
Bitmap bSongPanel; |
Bitmap bSongPanel; |
| 2062 |
|
Bitmap bCustomSongNameTexture; |
| 2063 |
Image imgSongPanel; |
Image imgSongPanel; |
| 2064 |
|
Image imgCustomSongNameTexture; |
| 2065 |
|
Image imgCuttomArtistNameTexture; |
| 2066 |
SizeF sz曲名; |
SizeF sz曲名; |
| 2067 |
SizeF szアーティスト名; |
SizeF szアーティスト名; |
| 2068 |
|
|
| 2070 |
Graphics graphics = Graphics.FromImage( b4font ); |
Graphics graphics = Graphics.FromImage( b4font ); |
| 2071 |
graphics.PageUnit = GraphicsUnit.Pixel; |
graphics.PageUnit = GraphicsUnit.Pixel; |
| 2072 |
imgSongPanel = Image.FromFile( CSkin.Path( @"Graphics\5_music panel.png" ) ); |
imgSongPanel = Image.FromFile( CSkin.Path( @"Graphics\5_music panel.png" ) ); |
| 2073 |
|
|
| 2074 |
bSongPanel = new Bitmap( 223, 279 ); |
bSongPanel = new Bitmap( 223, 279 ); |
| 2075 |
|
|
| 2076 |
graphics = Graphics.FromImage( bSongPanel ); |
graphics = Graphics.FromImage( bSongPanel ); |
| 2077 |
graphics.DrawImage( imgSongPanel, 0, 0, 223, 279 ); |
graphics.DrawImage( imgSongPanel, 0, 0, 223, 279 ); |
| 2078 |
|
string strPassBefore = this.stバー情報[ nバー番号 ].strDTXフォルダのパス; |
| 2079 |
|
string strPassAfter = strPassBefore.Replace( this.stバー情報[ nバー番号 ].ar譜面情報.Preimage, "" ); |
| 2080 |
|
string strPath = ( strPassAfter + "TitleTexture.png" ); |
| 2081 |
|
if( File.Exists( ( strPath ) ) ) |
| 2082 |
|
{ |
| 2083 |
|
imgCustomSongNameTexture = Image.FromFile( strPath ); |
| 2084 |
|
graphics.DrawImage( imgCustomSongNameTexture, 4, -1, 223, 33 ); |
| 2085 |
|
} |
| 2086 |
|
if( File.Exists( ( strPassAfter + "ArtistTexture.png" ) ) ) |
| 2087 |
|
{ |
| 2088 |
|
imgCuttomArtistNameTexture = Image.FromFile( strPassAfter + "ArtistTexture.png" ); |
| 2089 |
|
graphics.DrawImage( imgCuttomArtistNameTexture, 0, 252, 223, 26 ); |
| 2090 |
|
} |
| 2091 |
|
|
| 2092 |
|
|
| 2093 |
#region [ 曲名表示に必要となるサイズを取得する。] |
#region [ 曲名表示に必要となるサイズを取得する。] |
| 2117 |
graphics.TextRenderingHint = TextRenderingHint.AntiAlias; |
graphics.TextRenderingHint = TextRenderingHint.AntiAlias; |
| 2118 |
float y = ( ( ( float ) bmp.Height ) ) - ( ( CDTXMania.ConfigIni.n選曲リストフォントのサイズdot ) ); |
float y = ( ( ( float ) bmp.Height ) ) - ( ( CDTXMania.ConfigIni.n選曲リストフォントのサイズdot ) ); |
| 2119 |
//graphics.DrawString( str曲名, this.ft曲リスト用フォント, new SolidBrush( this.color文字影 ), (float) 2f, (float) ( y + 2f ) ); |
//graphics.DrawString( str曲名, this.ft曲リスト用フォント, new SolidBrush( this.color文字影 ), (float) 2f, (float) ( y + 2f ) ); |
| 2120 |
graphics.DrawString( str曲名, new Font( CDTXMania.ConfigIni.str選曲リストフォント, 16 ), new SolidBrush( color ), 5f, y - 2 ); |
if( File.Exists( ( strPath ) ) == false ) |
| 2121 |
graphics.DrawString( strアーティスト名, new Font( CDTXMania.ConfigIni.str選曲リストフォント, 16 ), new SolidBrush( Color.White ), (float)218f - this.stバー情報[ nバー番号 ].nタイトル名テクスチャの長さdot, 255f); |
graphics.DrawString( str曲名, new Font( CDTXMania.ConfigIni.str選曲リストフォント, 16 ), new SolidBrush( color ), 5f, y - 2 ); |
| 2122 |
|
if( File.Exists( ( strPassAfter + "ArtistTexture.png" ) ) == false ) |
| 2123 |
|
graphics.DrawString( strアーティスト名, new Font( CDTXMania.ConfigIni.str選曲リストフォント, 16 ), new SolidBrush( Color.White ), (float)218f - this.stバー情報[ nバー番号 ].nタイトル名テクスチャの長さdot, 255f); |
| 2124 |
//graphics.DrawString( strアーティスト名, this.ft曲リスト用フォント, new SolidBrush( Color.White ), 234f, 258f ); |
//graphics.DrawString( strアーティスト名, this.ft曲リスト用フォント, new SolidBrush( Color.White ), 234f, 258f ); |
| 2125 |
|
|
| 2126 |
CDTXMania.t安全にDisposeする( ref this.stバー情報[ nバー番号 ].txパネル ); |
CDTXMania.t安全にDisposeする( ref this.stバー情報[ nバー番号 ].txパネル ); |