using System.Runtime.InteropServices;
using System.Diagnostics;
using System.Drawing;
+using System.IO;
using FDK;
using SlimDXKey = SlimDX.DirectInput.Key;
this.tx背景 = TextureFactory.tテクスチャの生成(CSkin.Path(@"Graphics\ScreenTitle background.jpg"), false);
this.txメニュー = TextureFactory.tテクスチャの生成(CSkin.Path(@"Graphics\ScreenTitle menu.png"), false);
- prvFont = new CPrivateFastFont(CSkin.Path(@"Graphics\fonts\mplus-1p-heavy.ttf"), 36);
+ string fontname = CDTXMania.Instance.Resources.Explanation("strCfgConfigurationTopItemsFontFileName");
+ string path = Path.Combine(@"Graphics\fonts", fontname);
+ this.prvFont = new CPrivateFastFont(CSkin.Path(path), (int)(16 * Scale.Y));
+ //prvFont = new CPrivateFastFont(CSkin.Path(@"Graphics\fonts\mplus-1p-heavy.ttf"), 36);
//prvFont = new CPrivateFont( new FontFamily("MS UI Gothic"), 36, FontStyle.Bold );
string strTitleStart = CDTXMania.Instance.Resources.Label( "strTitleStart" );
{
if (base.b活性化してる)
{
- this.prvFont = new CPrivateFastFont(CSkin.Path(@"Graphics\fonts\mplus-1p-heavy.ttf"), (int)(18 * Scale.Y)); // t項目リストの設定 の前に必要
+ string fontname = CDTXMania.Instance.Resources.Explanation("strCfgConfigurationKeyAssignFontFileName");
+ string path = Path.Combine(@"Graphics\fonts", fontname);
+ this.prvFont = new CPrivateFastFont(CSkin.Path(path), (int)(18 * Scale.Y));
+ //this.prvFont = new CPrivateFastFont(CSkin.Path(@"Graphics\fonts\mplus-1p-heavy.ttf"), (int)(18 * Scale.Y)); // t項目リストの設定 の前に必要
this.txカーソル = TextureFactory.tテクスチャの生成(CSkin.Path(@"Graphics\ScreenConfig menu cursor.png"), false);
#region [ Hit key to assign ダイアログイメージ作成 ]
this.eメニュー種別 = Eメニュー種別.Unknown;
CResources cr = CDTXMania.Instance.Resources;
- string fontname = cr.Explanation("strCfgConfigurationFontFileName");
+ string fontname = cr.Explanation("strCfgConfigurationItemsFontFileName");
string path = Path.Combine(@"Graphics\fonts", fontname);
this.prvFont = new CPrivateFastFont(CSkin.Path(path), (int)(18 * Scale.Y));
this.b要素値にフォーカス中 = false;
using System.Runtime.InteropServices;
using System.Drawing;
using System.Diagnostics;
+using System.IO;
using FDK;
using SlimDXKey = SlimDX.DirectInput.Key;
this.tx下部パネル = TextureFactory.tテクスチャの生成Af(CSkin.Path(@"Graphics\ScreenConfig footer panel.png"), true);
this.txMenuカーソル = TextureFactory.tテクスチャの生成(CSkin.Path(@"Graphics\ScreenConfig menu cursor.png"), false);
- prvFont = new CPrivateFastFont(CSkin.Path(@"Graphics\fonts\mplus-1p-heavy.ttf"), (int)(18 * Scale.Y));
+ CResources cr = CDTXMania.Instance.Resources;
+ string fontname = cr.Explanation("strCfgConfigurationTopItemsFontFileName");
+ string path = Path.Combine(@"Graphics\fonts", fontname);
+ prvFont = new CPrivateFastFont(CSkin.Path(path), (int)(18 * Scale.Y));
string[] strMenuItem = {
"strCfgSysMenuDesc",
"strCfgDrMenuDesc",
public void Initialize(List<COptionBase> menulist, bool showAllItems, string title, int defaultPos = 0)
{
-
- prvFont = new CPrivateFastFont(CSkin.Path(@"Graphics\fonts\mplus-1p-heavy.ttf"), (int)(18 * Scale.Y));
+ string fontname = CDTXMania.Instance.Resources.Explanation("strCfgPopupFontFileName");
+ string path = Path.Combine(@"Graphics\fonts", fontname);
+ this.prvFont = new CPrivateFastFont(CSkin.Path(path), (int)(18 * Scale.Y));
+ //prvFont = new CPrivateFastFont(CSkin.Path(@"Graphics\fonts\mplus-1p-heavy.ttf"), (int)(18 * Scale.Y));
stqMenuTitle = new stQuickMenuItem();
stqMenuTitle.cItem = new COptionString(title);
{
// プロパティ
#region [ properties ]
- public static readonly string VERSION = "112(180201)";
+ public static readonly string VERSION = "112(180301)";
public static readonly string SLIMDXDLL = "c_net20x86_Jun2010";
public static readonly string D3DXDLL = "d3dx9_43.dll"; // June 2010
//public static readonly string D3DXDLL = "d3dx9_42.dll"; // February 2010