PPU viewer: "Mask unused graphics" button cuts off text

guiconfig.cpp: making CB_PARTIALVISUALTHEME inline manifest file hack more readable (what does this do???)
This commit is contained in:
rainwarrior 2016-09-23 19:47:14 +00:00
parent 3c510966df
commit 7496340a89
2 changed files with 16 additions and 4 deletions
trunk/src/drivers/win

View File

@ -78,7 +78,19 @@ void CloseGuiDialog(HWND hwndDlg)
{ {
FILE * stream = fopen( ManifestFilePath, "w" ); FILE * stream = fopen( ManifestFilePath, "w" );
if (stream) { if (stream) {
fputs ("<\?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"\?>\n<assembly\n xmlns=\"urn:schemas-microsoft-com:asm.v1\"\n manifestVersion=\"1.0\">\n<assemblyIdentity\n name=\"FCEUX\"\n processorArchitecture=\"x86\"\n version=\"1.0.0.0\"\n type=\"win32\"/>\n<description>FCEUX</description>\n</assembly>\n",stream); fputs (
"<\?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"\?>\n"
"<assembly\n"
" xmlns=\"urn:schemas-microsoft-com:asm.v1\"\n"
" manifestVersion=\"1.0\">\n"
"<assemblyIdentity\n"
" name=\"FCEUX\"\n"
" processorArchitecture=\"x86\"\n"
" version=\"1.0.0.0\"\n"
" type=\"win32\"/>\n"
"<description>FCEUX</description>\n"
"</assembly>\n"
,stream);
fclose(stream); fclose(stream);
} }
} }

View File

@ -1260,11 +1260,11 @@ BEGIN
LTEXT "Display on scanline:",-1,253,166,65,9 LTEXT "Display on scanline:",-1,253,166,65,9
EDITTEXT IDC_PPUVIEW_SCANLINE,315,164,27,12 EDITTEXT IDC_PPUVIEW_SCANLINE,315,164,27,12
CONTROL "Sprites 8x16 mode",IDC_SPRITE16_MODE, CONTROL "Sprites 8x16 mode",IDC_SPRITE16_MODE,
"Button",BS_AUTOCHECKBOX | WS_TABSTOP,6,151,75,10 "Button",BS_AUTOCHECKBOX | WS_TABSTOP,6,151,160,10
CONTROL "Mask unused graphics (Code/Data Logger)",IDC_MASK_UNUSED_GRAPHICS, CONTROL "Mask unused graphics (Code/Data Logger)",IDC_MASK_UNUSED_GRAPHICS,
"Button",BS_AUTOCHECKBOX | WS_TABSTOP,6,162,140,10 "Button",BS_AUTOCHECKBOX | WS_TABSTOP,6,162,160,10
CONTROL "Invert the mask (Code/Data Logger)",IDC_INVERT_THE_MASK, CONTROL "Invert the mask (Code/Data Logger)",IDC_INVERT_THE_MASK,
"Button",BS_AUTOCHECKBOX | WS_TABSTOP,6,173,140,10 "Button",BS_AUTOCHECKBOX | WS_TABSTOP,6,173,160,10
GROUPBOX "Palettes",LBL_PPUVIEW_PALETTES,2,185,348,46,WS_TABSTOP GROUPBOX "Palettes",LBL_PPUVIEW_PALETTES,2,185,348,46,WS_TABSTOP
END END