Remove unused console font code from Win32Console::setSmallFont.
This commit is contained in:
parent
dbc2d51fec
commit
0427aedadd
@ -82,20 +82,10 @@ void Win32Console::setSmallFont()
|
|||||||
typedef BOOL WINAPI SetConsoleFontType(
|
typedef BOOL WINAPI SetConsoleFontType(
|
||||||
HANDLE hOutput,
|
HANDLE hOutput,
|
||||||
DWORD dwFontIndex);
|
DWORD dwFontIndex);
|
||||||
typedef BOOL WINAPI GetConsoleFontInfoType(
|
|
||||||
HANDLE hOutput,
|
|
||||||
BOOL bMaximize,
|
|
||||||
DWORD dwNumFonts,
|
|
||||||
AGENT_CONSOLE_FONT_INFO *info);
|
|
||||||
typedef DWORD WINAPI GetNumberOfConsoleFontsType();
|
|
||||||
typedef BOOL WINAPI GetCurrentConsoleFontType(
|
typedef BOOL WINAPI GetCurrentConsoleFontType(
|
||||||
HANDLE hOutput,
|
HANDLE hOutput,
|
||||||
BOOL bMaximize,
|
BOOL bMaximize,
|
||||||
AGENT_CONSOLE_FONT_INFO *pFontInfo);
|
AGENT_CONSOLE_FONT_INFO *pFontInfo);
|
||||||
typedef BOOL WINAPI GetCurrentConsoleFontExType(
|
|
||||||
HANDLE hOutput,
|
|
||||||
BOOL bMaximize,
|
|
||||||
AGENT_CONSOLE_FONT_INFOEX *pFontInfoEx);
|
|
||||||
typedef BOOL WINAPI SetCurrentConsoleFontExType(
|
typedef BOOL WINAPI SetCurrentConsoleFontExType(
|
||||||
HANDLE hConsoleOutput,
|
HANDLE hConsoleOutput,
|
||||||
BOOL bMaximumWindow,
|
BOOL bMaximumWindow,
|
||||||
@ -109,14 +99,8 @@ void Win32Console::setSmallFont()
|
|||||||
|
|
||||||
SetConsoleFontType *pSetConsoleFont =
|
SetConsoleFontType *pSetConsoleFont =
|
||||||
(SetConsoleFontType*)GetProcAddress(dll, "SetConsoleFont");
|
(SetConsoleFontType*)GetProcAddress(dll, "SetConsoleFont");
|
||||||
GetConsoleFontInfoType *pGetConsoleFontInfo =
|
|
||||||
(GetConsoleFontInfoType*)GetProcAddress(dll, "GetConsoleFontInfo");
|
|
||||||
GetNumberOfConsoleFontsType *pGetNumberOfConsoleFonts =
|
|
||||||
(GetNumberOfConsoleFontsType*)GetProcAddress(dll, "GetNumberOfConsoleFonts");
|
|
||||||
GetCurrentConsoleFontType *pGetCurrentConsoleFont =
|
GetCurrentConsoleFontType *pGetCurrentConsoleFont =
|
||||||
(GetCurrentConsoleFontType*)GetProcAddress(dll, "GetCurrentConsoleFont");
|
(GetCurrentConsoleFontType*)GetProcAddress(dll, "GetCurrentConsoleFont");
|
||||||
GetCurrentConsoleFontExType *pGetCurrentConsoleFontEx =
|
|
||||||
(GetCurrentConsoleFontExType*)GetProcAddress(dll, "GetCurrentConsoleFontEx");
|
|
||||||
SetCurrentConsoleFontExType *pSetCurrentConsoleFontEx =
|
SetCurrentConsoleFontExType *pSetCurrentConsoleFontEx =
|
||||||
(SetCurrentConsoleFontExType*)GetProcAddress(dll, "SetCurrentConsoleFontEx");
|
(SetCurrentConsoleFontExType*)GetProcAddress(dll, "SetCurrentConsoleFontEx");
|
||||||
GetConsoleFontSizeType *pGetConsoleFontSize =
|
GetConsoleFontSizeType *pGetConsoleFontSize =
|
||||||
|
Loading…
Reference in New Issue
Block a user