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:
Maarten ter Huurne
2008-09-03 00:27:24 +00:00
parent 4b3c4492ea
commit bd7996354a
4 changed files with 6 additions and 7 deletions

View File

@ -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

View File

@ -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,

View File

@ -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);

View File

@ -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;}
}; };