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 554 by kairera0467, Tue Jun 21 11:45:14 2016 UTC revision 564 by kairera0467, Thu Aug 11 05:44:38 2016 UTC
# Line 566  namespace DTXMania Line 566  namespace DTXMania
566                          // 曲リスト文字は2倍(面積4倍)でテクスチャに描画してから縮小表示するので、フォントサイズは2倍とする。                          // 曲リスト文字は2倍(面積4倍)でテクスチャに描画してから縮小表示するので、フォントサイズは2倍とする。
567    
568                          FontStyle regular = FontStyle.Regular;                          FontStyle regular = FontStyle.Regular;
                         if( CDTXMania.ConfigIni.b選曲リストフォントを斜体にする ) regular |= FontStyle.Italic;  
569                          if( CDTXMania.ConfigIni.b選曲リストフォントを太字にする ) regular |= FontStyle.Bold;                          if( CDTXMania.ConfigIni.b選曲リストフォントを太字にする ) regular |= FontStyle.Bold;
570                          this.ft曲リスト用フォント = new Font( CDTXMania.ConfigIni.str選曲リストフォント, (float) ( CDTXMania.ConfigIni.n選曲リストフォントのサイズdot * 2 ), regular, GraphicsUnit.Pixel );                          this.ft曲リスト用フォント = new Font( CDTXMania.ConfigIni.str選曲リストフォント, (float) ( CDTXMania.ConfigIni.n選曲リストフォントのサイズdot * 2 ), regular, GraphicsUnit.Pixel );
571              //this.prvFont = new CPrivateFont( new FontFamily( CDTXMania.ConfigIni.str選曲リストフォント ), 28, FontStyle.Regular );              //this.prvFont = new CPrivateFont( new FontFamily( CDTXMania.ConfigIni.str選曲リストフォント ), 28, FontStyle.Regular );
# Line 1968  namespace DTXMania Line 1967  namespace DTXMania
1967              CTexture tx文字テクスチャ = CDTXMania.tテクスチャの生成( bmp, false );              CTexture tx文字テクスチャ = CDTXMania.tテクスチャの生成( bmp, false );
1968    
1969              if( tx文字テクスチャ != null )              if( tx文字テクスチャ != null )
1970                  tx文字テクスチャ.vc拡大縮小倍率 = new Vector3( 0.75f, 1f, 1f );                  //tx文字テクスチャ.vc拡大縮小倍率 = new Vector3( 1f, 1f, 1f );
1971                    tx文字テクスチャ.vc拡大縮小倍率 = new Vector3( CDTXMania.ConfigIni.f選曲リストフォントのX縮小率, 1f, 1f );
1972    
1973    
1974    
1975              int n最大幅 = 290;              int n最大幅 = 290;
1976              if( tx文字テクスチャ.szテクスチャサイズ.Width > n最大幅 )              if( tx文字テクスチャ.szテクスチャサイズ.Width > n最大幅 )

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

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