(Temporary ?) Fix for mini number padding on 1080p, Auto resize for images on the OpenEncyclopedia menu
This commit is contained in:
parent
8b5326f51d
commit
c5fc1be945
@ -757,8 +757,15 @@ namespace TJAPlayer3
|
||||
new Rectangle(0, 0, (int)(TJAPlayer3.stage選曲.r確定された曲.DanSongs[j - 1].Dan_C[i].GetAmountToPercent() * (TJAPlayer3.Tx.DanC_Gauge[drawGaugeTypetwo].szテクスチャサイズ.Width / 100.0)), TJAPlayer3.Tx.DanC_Gauge[drawGaugeTypetwo].szテクスチャサイズ.Height));
|
||||
}
|
||||
|
||||
int _tmpMiniPadding = (int)(14f * TJAPlayer3.Skin.Resolution[0] / 1280f);
|
||||
|
||||
// Usually +23 for gold and +17 for white, to test
|
||||
DrawMiniNumber(TJAPlayer3.stage選曲.r確定された曲.DanSongs[j - 1].Dan_C[i].GetAmount(), miniBarPositionX + 11, miniBarPositionY + 20, 14, TJAPlayer3.stage選曲.r確定された曲.DanSongs[j - 1].Dan_C[i]);
|
||||
DrawMiniNumber(
|
||||
TJAPlayer3.stage選曲.r確定された曲.DanSongs[j - 1].Dan_C[i].GetAmount(),
|
||||
miniBarPositionX + 11,
|
||||
miniBarPositionY + 20,
|
||||
_tmpMiniPadding,
|
||||
TJAPlayer3.stage選曲.r確定された曲.DanSongs[j - 1].Dan_C[i]);
|
||||
|
||||
CActSelect段位リスト.tDisplayDanIcon(j, miniBarPositionX + TJAPlayer3.Skin.Game_DanC_DanIcon_Offset_Mini[0], miniBarPositionY + TJAPlayer3.Skin.Game_DanC_DanIcon_Offset_Mini[1], miniIconOpacity, 0.5f, false);
|
||||
|
||||
|
@ -97,7 +97,12 @@ namespace TJAPlayer3
|
||||
var _page = _controler.Pages[_controler.PageIndex];
|
||||
|
||||
_page.Item2?.t2D中心基準描画(TJAPlayer3.app.Device, TJAPlayer3.Skin.OpenEncyclopedia_Context_Item2[0], TJAPlayer3.Skin.OpenEncyclopedia_Context_Item2[1]);
|
||||
_page.Item3?.t2D描画(TJAPlayer3.app.Device, TJAPlayer3.Skin.OpenEncyclopedia_Context_Item3[0], TJAPlayer3.Skin.OpenEncyclopedia_Context_Item3[1]);
|
||||
if (_page.Item3 != null)
|
||||
{
|
||||
_page.Item3.vc拡大縮小倍率.X = TJAPlayer3.Skin.Resolution[0] / (2 * _page.Item3.szテクスチャサイズ.Width);
|
||||
_page.Item3.vc拡大縮小倍率.Y = TJAPlayer3.Skin.Resolution[1] / (2 * _page.Item3.szテクスチャサイズ.Height);
|
||||
_page.Item3.t2D描画(TJAPlayer3.app.Device, TJAPlayer3.Skin.OpenEncyclopedia_Context_Item3[0], TJAPlayer3.Skin.OpenEncyclopedia_Context_Item3[1]);
|
||||
}
|
||||
_controler.PageText?.t2D下中央基準描画(TJAPlayer3.app.Device, TJAPlayer3.Skin.OpenEncyclopedia_Context_PageText[0], TJAPlayer3.Skin.OpenEncyclopedia_Context_PageText[1]);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user