mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-03-21 05:35:05 +01:00
Removed "INT" typedef: it was not used in any plugin spec. It was used DX9 video plugin, but for arguments where MSDN lists a plain "int", so I replaced "INT" by "int" to make things clearer.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@435 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
4b3c4492ea
commit
bd7996354a
@ -39,7 +39,6 @@
|
||||
#define BOOL unsigned int
|
||||
#define HWND void*
|
||||
#define HINSTANCE void*
|
||||
#define INT int
|
||||
#define CHAR char
|
||||
#endif
|
||||
|
||||
|
@ -63,7 +63,7 @@ namespace D3D
|
||||
// We definitely don't want to get it cleartype'd, anyway.
|
||||
int m_dwFontHeight = 36;
|
||||
|
||||
INT nHeight = -MulDiv( m_dwFontHeight, (INT)(GetDeviceCaps(hDC, LOGPIXELSY) * m_fTextScale), 72 );
|
||||
int nHeight = -MulDiv( m_dwFontHeight, int(GetDeviceCaps(hDC, LOGPIXELSY) * m_fTextScale), 72 );
|
||||
int dwBold = FW_NORMAL; ///FW_BOLD
|
||||
HFONT hFont = CreateFont( nHeight, 0, 0, 0, dwBold, 0,
|
||||
FALSE, FALSE, DEFAULT_CHARSET, OUT_DEFAULT_PRECIS,
|
||||
|
@ -139,7 +139,7 @@ namespace W32Util
|
||||
//StringCchCopy(TitleLogFont.lfFaceName, 32, TEXT("Verdana Bold"));
|
||||
|
||||
HDC hdc = GetDC(NULL); //gets the screen DC
|
||||
INT FontSize = 12;
|
||||
int FontSize = 12;
|
||||
TitleLogFont.lfHeight = 0 - GetDeviceCaps(hdc, LOGPIXELSY) * FontSize / 72;
|
||||
hTitleFont = CreateFontIndirect(&TitleLogFont);
|
||||
ReleaseDC(NULL, hdc);
|
||||
|
@ -22,9 +22,9 @@ namespace W32Util
|
||||
|
||||
class WizExteriorPage : public Tab
|
||||
{
|
||||
INT captionID;
|
||||
int captionID;
|
||||
public:
|
||||
WizExteriorPage(INT caption) {captionID = caption;}
|
||||
WizExteriorPage(int caption) {captionID = caption;}
|
||||
void Init(HWND hDlg);
|
||||
};
|
||||
|
||||
@ -32,7 +32,7 @@ namespace W32Util
|
||||
class WizFirstPage : public WizExteriorPage
|
||||
{
|
||||
public:
|
||||
WizFirstPage(INT caption) : WizExteriorPage(caption) {}
|
||||
WizFirstPage(int caption) : WizExteriorPage(caption) {}
|
||||
bool HasPrev() {return false;}
|
||||
};
|
||||
|
||||
@ -40,7 +40,7 @@ namespace W32Util
|
||||
class WizLastPage : public WizExteriorPage
|
||||
{
|
||||
public:
|
||||
WizLastPage(INT caption) : WizExteriorPage(caption) {}
|
||||
WizLastPage(int caption) : WizExteriorPage(caption) {}
|
||||
bool HasNext() {return false;}
|
||||
bool HasFinish() {return true;}
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user