From bd1db01298b87ab3ca711347604097174ccd2f8b Mon Sep 17 00:00:00 2001 From: yyagi Date: Tue, 19 Apr 2011 13:28:38 +0000 Subject: [PATCH] =?utf8?q?#24757=20=E6=9B=B2=E3=82=BD=E3=83=BC=E3=83=88?= =?utf8?q?=E3=81=A7=E3=80=8C=E6=98=87=E9=A0=86/=E9=99=8D=E9=A0=86=E3=80=8D?= =?utf8?q?=E3=81=A8=E8=A1=A8=E7=A4=BA=E3=81=99=E3=82=8B=E4=BB=A3=E3=82=8F?= =?utf8?q?=E3=82=8A=E3=81=AB"1,2,3..."/"3,2,1"=E3=81=AA=E3=81=A9=E3=81=A8?= =?utf8?q?=E8=A1=A8=E7=A4=BA=E3=81=99=E3=82=8B=E3=82=88=E3=81=86=E5=A4=89?= =?utf8?q?=E6=9B=B4=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit git-svn-id: http://svn.osdn.jp/svnroot/dtxmania/trunk@157 16f42ceb-6dc6-49c8-ba94-f2d53467949d --- .../ステージ/05.選曲/CActSortSongs.cs | 54 +++++++++++++--------- 1 file changed, 33 insertions(+), 21 deletions(-) diff --git a/DTXManiaプロジェクト/コード/ステージ/05.選曲/CActSortSongs.cs b/DTXManiaプロジェクト/コード/ステージ/05.選曲/CActSortSongs.cs index 097b1d96..3cc0655c 100644 --- a/DTXManiaプロジェクト/コード/ステージ/05.選曲/CActSortSongs.cs +++ b/DTXManiaプロジェクト/コード/ステージ/05.選曲/CActSortSongs.cs @@ -272,33 +272,45 @@ namespace DTXMania } #endregion #region [ ソート候補文字列描画 ] - string[] strSortItem = { - "Title", "Level", "Best Rank", "PlayCount", - //"Author", - "SkillPoint", - //"BPM", - "Date", - "Return" + //string[] strSortItem = { + // "Title", "Level", "Best Rank", "PlayCount", + // //"Author", + // "SkillPoint", + // //"BPM", + // "Date", + // "Return" + //}; + //string[] strSortOrder = { + // "Descend", "", "Ascend" + //}; + string[ , ] strSortItem = { + { "Title", "Z,Y,X,...", "A,B,C,..." }, + { "Level", "99,98,97,...", "1,2,3,..." }, + { "Best Rank", "E,D,C,...", "SS,S,A,..." }, + { "PlayCount", "10,9,8,...", "1,2,3,..." }, + // { "Author", "Z,Y,X,...", "A,B,C,..." }, + { "SkillPoint", "100,99,98,...","1,2,3,..." }, + // { "BPM", "300,200,...", "70,80,90,..." }, + { "Date", "Dec.31,30,...","Jan.1,2,..." }, + { "Return", "", "" } }; - string[] strSortOrder = { - "Descend", "", "Ascend" - }; - for ( int i = 0; i < strSortItem.Length; i++ ) + + for ( int i = 0; i < strSortItem.GetLength(0); i++ ) { bool bBold = ( i == nSortType ) ? true : false; - font.t文字列描画( 190, 80 + i * 32, strSortItem[ i ], bBold, 1.0f ); + font.t文字列描画( 190, 80 + i * 32, strSortItem[ i, 0 ], bBold, 1.0f ); if ( bBold ) { // nSortOder+1 == 0(Ascend), (1,) 2(Descend) - if ( bIsJapanLocale ) - { // #24758 2011.4.1 yyagi: for JP locale, 昇順/降順 is used instead of ascend/descend. - Rectangle rect = new Rectangle( 0, this.txSortMenuChoices.sz画像サイズ.Height / 2 * (nSortOrder+1)/2, this.txSortMenuChoices.sz画像サイズ.Width, this.txSortMenuChoices.sz画像サイズ.Height / 2 ); - this.txSortMenuChoices.t2D描画( CDTXMania.app.Device, 350, 78 + i * 32, rect ); - } - else - { - font.t文字列描画( 350, 80 + i * 32, strSortOrder[ nSortOrder + 1 ], bBold, 1.0f ); - } +// if ( bIsJapanLocale ) +// { // #24758 2011.4.1 yyagi: for JP locale, 昇順/降順 is used instead of ascend/descend. +// Rectangle rect = new Rectangle( 0, this.txSortMenuChoices.sz画像サイズ.Height / 2 * (nSortOrder+1)/2, this.txSortMenuChoices.sz画像サイズ.Width, this.txSortMenuChoices.sz画像サイズ.Height / 2 ); +// this.txSortMenuChoices.t2D描画( CDTXMania.app.Device, 350, 78 + i * 32, rect ); +// } +// else +// { + font.t文字列描画( 340, 80 + i * 32, strSortItem[ i, (nSortOrder + 1)/2+1 ], bBold, 1.0f ); +// } } } #endregion -- 2.11.0