- made some changes to the plugin rom info display.

- changed the font smaller.
- added developer:, publisher:, genre:, etc... before each item.
- made the rom info scroll-able if by any chance it doesn't all fit on the screen.
- made some adjustments to position of the images and fixed a little issue with setting the image texture position.
- need to fix the overlays for handheld consoles but personally i would rather just have bigger images and remove the overlays.
This commit is contained in:
Fledge68 2019-01-10 17:13:13 -06:00
parent 232c9b2888
commit 13585275ed
5 changed files with 670 additions and 568 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.3 MiB

After

Width:  |  Height:  |  Size: 3.3 MiB

View File

@ -13,7 +13,7 @@ const u8 WFB_HASH[] = {0x4f, 0xad, 0x97, 0xfd, 0x4a, 0x28, 0x8c, 0x47, 0xe0, 0
#define TITLEFONT_PT_SZ 24u
#define BTNFONT_PT_SZ 20u
#define LBLFONT_PT_SZ 20u
#define TEXTFONT_PT_SZ 16u
#define TEXTFONT_PT_SZ 14u
#define TITLEFONT TITLEFONT_PT_SZ, TITLEFONT_PT_SZ - 4, FONT_NOBOLD, 1, "title_font"
#define BUTTONFONT BTNFONT_PT_SZ, BTNFONT_PT_SZ - 4, FONT_NOBOLD, 1, "button_font"

View File

@ -250,8 +250,12 @@ void CButtonsMgr::setTexture(s16 id, TexData &bg, int width, int height)
case GUIELT_LABEL:
lbl = (SLabel*)m_elts[id];
lbl->texBg = bg;//change texture
lbl->x = lbl->x - lbl->w / 2;
lbl->y = lbl->y - lbl->h / 2;
lbl->w = width;
lbl->h = height;
lbl->x = lbl->x + width / 2;
lbl->y = lbl->y + height / 2;
break;
case GUIELT_PROGRESS:
break;

File diff suppressed because it is too large Load Diff

View File

@ -339,6 +339,9 @@ gameinfo3=Region: %s
gameinfo4=Release Date: %i.%i.%i
gameinfo5=Genre: %s
gameinfo6=No Gameinfo
gameinfo7=GameID: %s
gameinfo8=Released: %i
gameinfo9=Players: %i
gametdb_code=EN
GC_Def=Default
GC_DM=DIOS-MIOS