Develop and Download Open Source Software

Browse Subversion Repository

Diff of /trunk/DTXManiaプロジェクト/コード/ステージ/05.選曲/CActSelect曲リスト.cs

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 531 by kairera0467, Wed Feb 24 02:24:25 2016 UTC revision 554 by kairera0467, Tue Jun 21 11:45:14 2016 UTC
# Line 1323  namespace DTXMania Line 1323  namespace DTXMania
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 )
# Line 1342  namespace DTXMania Line 1342  namespace DTXMania
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                      {                      {
# Line 1481  namespace DTXMania Line 1481  namespace DTXMania
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 )
# Line 1500  namespace DTXMania Line 1500  namespace DTXMania
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                      {                      {
# Line 1953  namespace DTXMania Line 1953  namespace DTXMania
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              //現在は機能しない(面倒なので実装してない)が、そのうち使用する予定。              //現在は機能しない(面倒なので実装してない)が、そのうち使用する予定。
# Line 1961  namespace DTXMania Line 1961  namespace DTXMania
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    

Legend:
Removed from v.531  
changed lines
  Added in v.554

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26