mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-24 14:49:42 -06: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:
@ -39,7 +39,6 @@
|
|||||||
#define BOOL unsigned int
|
#define BOOL unsigned int
|
||||||
#define HWND void*
|
#define HWND void*
|
||||||
#define HINSTANCE void*
|
#define HINSTANCE void*
|
||||||
#define INT int
|
|
||||||
#define CHAR char
|
#define CHAR char
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -63,7 +63,7 @@ namespace D3D
|
|||||||
// We definitely don't want to get it cleartype'd, anyway.
|
// We definitely don't want to get it cleartype'd, anyway.
|
||||||
int m_dwFontHeight = 36;
|
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
|
int dwBold = FW_NORMAL; ///FW_BOLD
|
||||||
HFONT hFont = CreateFont( nHeight, 0, 0, 0, dwBold, 0,
|
HFONT hFont = CreateFont( nHeight, 0, 0, 0, dwBold, 0,
|
||||||
FALSE, FALSE, DEFAULT_CHARSET, OUT_DEFAULT_PRECIS,
|
FALSE, FALSE, DEFAULT_CHARSET, OUT_DEFAULT_PRECIS,
|
||||||
|
@ -139,7 +139,7 @@ namespace W32Util
|
|||||||
//StringCchCopy(TitleLogFont.lfFaceName, 32, TEXT("Verdana Bold"));
|
//StringCchCopy(TitleLogFont.lfFaceName, 32, TEXT("Verdana Bold"));
|
||||||
|
|
||||||
HDC hdc = GetDC(NULL); //gets the screen DC
|
HDC hdc = GetDC(NULL); //gets the screen DC
|
||||||
INT FontSize = 12;
|
int FontSize = 12;
|
||||||
TitleLogFont.lfHeight = 0 - GetDeviceCaps(hdc, LOGPIXELSY) * FontSize / 72;
|
TitleLogFont.lfHeight = 0 - GetDeviceCaps(hdc, LOGPIXELSY) * FontSize / 72;
|
||||||
hTitleFont = CreateFontIndirect(&TitleLogFont);
|
hTitleFont = CreateFontIndirect(&TitleLogFont);
|
||||||
ReleaseDC(NULL, hdc);
|
ReleaseDC(NULL, hdc);
|
||||||
|
@ -22,9 +22,9 @@ namespace W32Util
|
|||||||
|
|
||||||
class WizExteriorPage : public Tab
|
class WizExteriorPage : public Tab
|
||||||
{
|
{
|
||||||
INT captionID;
|
int captionID;
|
||||||
public:
|
public:
|
||||||
WizExteriorPage(INT caption) {captionID = caption;}
|
WizExteriorPage(int caption) {captionID = caption;}
|
||||||
void Init(HWND hDlg);
|
void Init(HWND hDlg);
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -32,7 +32,7 @@ namespace W32Util
|
|||||||
class WizFirstPage : public WizExteriorPage
|
class WizFirstPage : public WizExteriorPage
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
WizFirstPage(INT caption) : WizExteriorPage(caption) {}
|
WizFirstPage(int caption) : WizExteriorPage(caption) {}
|
||||||
bool HasPrev() {return false;}
|
bool HasPrev() {return false;}
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -40,7 +40,7 @@ namespace W32Util
|
|||||||
class WizLastPage : public WizExteriorPage
|
class WizLastPage : public WizExteriorPage
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
WizLastPage(INT caption) : WizExteriorPage(caption) {}
|
WizLastPage(int caption) : WizExteriorPage(caption) {}
|
||||||
bool HasNext() {return false;}
|
bool HasNext() {return false;}
|
||||||
bool HasFinish() {return true;}
|
bool HasFinish() {return true;}
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user