ReactOS 0.4.16-dev-197-g92996da
|
#include <stdio.h>
#include <stdlib.h>
#include <wchar.h>
#include <windef.h>
#include <winbase.h>
#include <wincon.h>
#include <wingdi.h>
#include <winnls.h>
#include <winreg.h>
#include <winuser.h>
#include <commctrl.h>
#include <cpl.h>
#include <strsafe.h>
#include "resource.h"
#include "concfg.h"
Go to the source code of this file.
Classes | |
struct | _FONT_PREVIEW |
struct | _LIST_CTL |
Macros | |
#define | WIN32_NO_STATUS |
#define | EnableDlgItem(hDlg, nID, bEnable) EnableWindow(GetDlgItem((hDlg), (nID)), (bEnable)) |
#define | ResetFontPreview(Preview) UpdateFontPreview((Preview), NULL, 0, 0) |
Typedefs | |
typedef enum _TEXT_TYPE | TEXT_TYPE |
typedef struct _FONT_PREVIEW | FONT_PREVIEW |
typedef INT(* | PLIST_GETCOUNT) (IN struct _LIST_CTL *ListCtl) |
typedef ULONG_PTR(* | PLIST_GETDATA) (IN struct _LIST_CTL *ListCtl, IN INT Index) |
typedef struct _LIST_CTL | LIST_CTL |
typedef struct _LIST_CTL * | PLIST_CTL |
Enumerations | |
enum | _TEXT_TYPE { Screen , Popup } |
Functions | |
VOID | ApplyConsoleInfo (HWND hwndDlg) |
VOID | RefreshFontPreview (IN FONT_PREVIEW *Preview, IN PCONSOLE_STATE_INFO pConInfo) |
VOID | UpdateFontPreview (IN FONT_PREVIEW *Preview, IN HFONT hFont, IN UINT CharWidth, IN UINT CharHeight) |
BOOL | RegisterWinPrevClass (IN HINSTANCE hInstance) |
BOOL | UnRegisterWinPrevClass (IN HINSTANCE hInstance) |
VOID | PaintText (IN LPDRAWITEMSTRUCT drawItem, IN PCONSOLE_STATE_INFO pConInfo, IN TEXT_TYPE TextMode) |
UINT | BisectListSortedByValueEx (IN PLIST_CTL ListCtl, IN ULONG_PTR Value, IN UINT itemStart, IN UINT itemEnd, OUT PUINT pValueItem OPTIONAL, IN BOOL BisectRightOrLeft) |
UINT | BisectListSortedByValue (IN PLIST_CTL ListCtl, IN ULONG_PTR Value, OUT PUINT pValueItem OPTIONAL, IN BOOL BisectRightOrLeft) |
Variables | |
HINSTANCE | hApplet |
PCONSOLE_STATE_INFO | ConInfo |
FONT_PREVIEW | FontPreview |
#define EnableDlgItem | ( | hDlg, | |
nID, | |||
bEnable | |||
) | EnableWindow(GetDlgItem((hDlg), (nID)), (bEnable)) |
#define ResetFontPreview | ( | Preview | ) | UpdateFontPreview((Preview), NULL, 0, 0) |
typedef struct _FONT_PREVIEW FONT_PREVIEW |
typedef enum _TEXT_TYPE TEXT_TYPE |
Definition at line 88 of file console.c.
Referenced by ColorsProc(), FontProc(), and OptionsProc().
UINT BisectListSortedByValue | ( | IN PLIST_CTL | ListCtl, |
IN ULONG_PTR | Value, | ||
OUT PUINT pValueItem | OPTIONAL, | ||
IN BOOL | BisectRightOrLeft | ||
) |
Definition at line 115 of file utils.c.
Referenced by AddCodePage(), BuildCodePageList(), EnumFontSizesProc(), and FontSizeList_SelectFontSize().
UINT BisectListSortedByValueEx | ( | IN PLIST_CTL | ListCtl, |
IN ULONG_PTR | Value, | ||
IN UINT | itemStart, | ||
IN UINT | itemEnd, | ||
OUT PUINT pValueItem | OPTIONAL, | ||
IN BOOL | BisectRightOrLeft | ||
) |
Definition at line 39 of file utils.c.
Referenced by BisectListSortedByValue().
VOID PaintText | ( | IN LPDRAWITEMSTRUCT | drawItem, |
IN PCONSOLE_STATE_INFO | pConInfo, | ||
IN TEXT_TYPE | TextMode | ||
) |
Definition at line 471 of file layout.c.
Referenced by ColorsProc(), and FontProc().
VOID RefreshFontPreview | ( | IN FONT_PREVIEW * | Preview, |
IN PCONSOLE_STATE_INFO | pConInfo | ||
) |
Definition at line 52 of file font.c.
Referenced by InitApplet(), PaintText(), and WinPrev_OnDraw().
Definition at line 32 of file layout.c.
Referenced by InitApplet().
Definition at line 52 of file layout.c.
Referenced by InitApplet().
VOID UpdateFontPreview | ( | IN FONT_PREVIEW * | Preview, |
IN HFONT | hFont, | ||
IN UINT | CharWidth, | ||
IN UINT | CharHeight | ||
) |
Definition at line 69 of file font.c.
Referenced by FontSizeChange().
|
extern |
Definition at line 23 of file console.c.
Referenced by ApplyConsoleInfo(), ColorsProc(), FontProc(), InitApplet(), LayoutProc(), OptionsProc(), and WinPrevProc().
|
extern |
Definition at line 21 of file font.c.
Referenced by FontSizeChange(), InitApplet(), OptionsProc(), PaintText(), and WinPrev_OnDraw().