| 1323 |
else |
else |
| 1324 |
{ |
{ |
| 1325 |
if( this.stバー情報[ n選択曲のパネル番号 ].strタイトル文字列 != "" && this.stバー情報[ n選択曲のパネル番号 ].strタイトル文字列 != null && this.tx選択されている曲の曲名 == null ) |
if( this.stバー情報[ n選択曲のパネル番号 ].strタイトル文字列 != "" && this.stバー情報[ n選択曲のパネル番号 ].strタイトル文字列 != null && this.tx選択されている曲の曲名 == null ) |
| 1326 |
this.tx選択されている曲の曲名 = this.t指定された文字テクスチャを生成する( this.stバー情報[ n選択曲のパネル番号 ].strタイトル文字列 ); |
this.tx選択されている曲の曲名 = this.t指定された文字テクスチャを生成する( this.stバー情報[ n選択曲のパネル番号 ].strタイトル文字列, this.stバー情報[ n選択曲のパネル番号 ].col文字色 ); |
| 1327 |
} |
} |
| 1328 |
//曲名テクスチャ 描画 |
//曲名テクスチャ 描画 |
| 1329 |
if( this.tx選択されている曲の曲名 != null ) |
if( this.tx選択されている曲の曲名 != null ) |
| 1342 |
else if( !File.Exists( this.stバー情報[ n選択曲のパネル番号 ].strDTXフォルダのパス + "ArtistTexture.png" ) ) |
else if( !File.Exists( this.stバー情報[ n選択曲のパネル番号 ].strDTXフォルダのパス + "ArtistTexture.png" ) ) |
| 1343 |
{ |
{ |
| 1344 |
if( this.stバー情報[ n選択曲のパネル番号 ].strアーティスト名 != "" && this.stバー情報[ n選択曲のパネル番号 ].strアーティスト名 != null && this.tx選択されている曲のアーティスト名 == null ) |
if( this.stバー情報[ n選択曲のパネル番号 ].strアーティスト名 != "" && this.stバー情報[ n選択曲のパネル番号 ].strアーティスト名 != null && this.tx選択されている曲のアーティスト名 == null ) |
| 1345 |
this.tx選択されている曲のアーティスト名 = this.t指定された文字テクスチャを生成する( this.stバー情報[ n選択曲のパネル番号 ].strアーティスト名 ); |
this.tx選択されている曲のアーティスト名 = this.t指定された文字テクスチャを生成する( this.stバー情報[ n選択曲のパネル番号 ].strアーティスト名, Color.Black ); |
| 1346 |
|
|
| 1347 |
if( this.tx選択されている曲のアーティスト名 != null ) |
if( this.tx選択されている曲のアーティスト名 != null ) |
| 1348 |
{ |
{ |
| 1481 |
else |
else |
| 1482 |
{ |
{ |
| 1483 |
if( this.stバー情報[ n選択曲のパネル番号 ].strタイトル文字列 != "" && this.stバー情報[ n選択曲のパネル番号 ].strタイトル文字列 != null && this.tx選択されている曲の曲名 == null ) |
if( this.stバー情報[ n選択曲のパネル番号 ].strタイトル文字列 != "" && this.stバー情報[ n選択曲のパネル番号 ].strタイトル文字列 != null && this.tx選択されている曲の曲名 == null ) |
| 1484 |
this.tx選択されている曲の曲名 = this.t指定された文字テクスチャを生成する( this.stバー情報[ n選択曲のパネル番号 ].strタイトル文字列 ); |
this.tx選択されている曲の曲名 = this.t指定された文字テクスチャを生成する( this.stバー情報[ n選択曲のパネル番号 ].strタイトル文字列, this.stバー情報[ n選択曲のパネル番号 ].col文字色 ); |
| 1485 |
} |
} |
| 1486 |
//曲名テクスチャ 描画 |
//曲名テクスチャ 描画 |
| 1487 |
if( this.tx選択されている曲の曲名 != null ) |
if( this.tx選択されている曲の曲名 != null ) |
| 1500 |
else if( !File.Exists( this.stバー情報[ n選択曲のパネル番号 ].strDTXフォルダのパス + "ArtistTexture.png" ) ) |
else if( !File.Exists( this.stバー情報[ n選択曲のパネル番号 ].strDTXフォルダのパス + "ArtistTexture.png" ) ) |
| 1501 |
{ |
{ |
| 1502 |
if( this.stバー情報[ n選択曲のパネル番号 ].strアーティスト名 != "" && this.stバー情報[ n選択曲のパネル番号 ].strアーティスト名 != null && this.tx選択されている曲のアーティスト名 == null ) |
if( this.stバー情報[ n選択曲のパネル番号 ].strアーティスト名 != "" && this.stバー情報[ n選択曲のパネル番号 ].strアーティスト名 != null && this.tx選択されている曲のアーティスト名 == null ) |
| 1503 |
this.tx選択されている曲のアーティスト名 = this.t指定された文字テクスチャを生成する( this.stバー情報[ n選択曲のパネル番号 ].strアーティスト名 ); |
this.tx選択されている曲のアーティスト名 = this.t指定された文字テクスチャを生成する( this.stバー情報[ n選択曲のパネル番号 ].strアーティスト名, Color.Black ); |
| 1504 |
|
|
| 1505 |
if( this.tx選択されている曲のアーティスト名 != null ) |
if( this.tx選択されている曲のアーティスト名 != null ) |
| 1506 |
{ |
{ |
| 1953 |
} |
} |
| 1954 |
*/ |
*/ |
| 1955 |
} |
} |
| 1956 |
private CTexture t指定された文字テクスチャを生成する( string str文字 ) |
private CTexture t指定された文字テクスチャを生成する( string str文字, Color color ) |
| 1957 |
{ |
{ |
| 1958 |
//2013.09.05.kairera0467 中央にしか使用することはないので、色は黒固定。 |
//2013.09.05.kairera0467 中央にしか使用することはないので、色は黒固定。 |
| 1959 |
//現在は機能しない(面倒なので実装してない)が、そのうち使用する予定。 |
//現在は機能しない(面倒なので実装してない)が、そのうち使用する予定。 |
| 1961 |
//CPrivateFastFont |
//CPrivateFastFont |
| 1962 |
prvFont = new CPrivateFastFont( new FontFamily( CDTXMania.ConfigIni.str選曲リストフォント ), 14, FontStyle.Regular ); |
prvFont = new CPrivateFastFont( new FontFamily( CDTXMania.ConfigIni.str選曲リストフォント ), 14, FontStyle.Regular ); |
| 1963 |
Bitmap bmp; |
Bitmap bmp; |
| 1964 |
|
|
| 1965 |
bmp = prvFont.DrawPrivateFont( str文字, Color.Black, Color.Transparent ); |
bmp = prvFont.DrawPrivateFont( str文字, Color.Black, Color.Transparent ); |
| 1966 |
|
//bmp = prvFont.DrawPrivateFont( str文字, color == Color.White ? Color.Black : color, color == Color.White ? Color.Transparent : Color.FromArgb( 64, 0, 0, 0 ) ); |
| 1967 |
|
|
| 1968 |
CTexture tx文字テクスチャ = CDTXMania.tテクスチャの生成( bmp, false ); |
CTexture tx文字テクスチャ = CDTXMania.tテクスチャの生成( bmp, false ); |
| 1969 |
|
|