ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

fontdlg.c File Reference
#include <ctype.h>
#include <stdlib.h>
#include <stdarg.h>
#include <stdio.h>
#include <string.h>
#include "windef.h"
#include "winbase.h"
#include "winnls.h"
#include "wingdi.h"
#include "winuser.h"
#include "commdlg.h"
#include "dlgs.h"
#include "wine/debug.h"
#include "cderr.h"
#include "cdlg.h"

Go to the source code of this file.

Data Structures

struct  CFn_ENUMSTRUCT

Defines

#define TTBITMAP_XSIZE   20 /* x-size of the bitmaps */
#define CI(cs)   ((IDS_CHARSET_##cs)-IDS_CHARSET_ANSI)
#define XX(x)   { x, #x },
#define TEXT_EXTRAS   4
#define TEXT_COLORS   16
#define FSTYLES   4

Typedefs

typedef struct CFn_ENUMSTRUCTLPCFn_ENUMSTRUCT

Functions

 WINE_DEFAULT_DEBUG_CHANNEL (commdlg)
static INT_PTR CALLBACK FormatCharDlgProcA (HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
static INT_PTR CALLBACK FormatCharDlgProcW (HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
static void _dump_cf_flags (DWORD cflags)
BOOL WINAPI ChooseFontW (LPCHOOSEFONTW lpChFont)
BOOL WINAPI ChooseFontA (LPCHOOSEFONTA lpChFont)
static BOOL CFn_HookCallChk32 (const CHOOSEFONTW *lpcf)
static INT AddFontFamily (const ENUMLOGFONTEXW *lpElfex, const NEWTEXTMETRICEXW *lpNTM, UINT nFontType, const CHOOSEFONTW *lpcf, HWND hwnd, LPCFn_ENUMSTRUCT e)
static INT WINAPI FontFamilyEnumProc (const ENUMLOGFONTEXW *lpElfex, const TEXTMETRICW *metrics, DWORD dwFontType, LPARAM lParam)
static int SetFontStylesToCombo2 (HWND hwnd, HDC hdc, const LOGFONTW *lplf)
static int AddFontSizeToCombo3 (HWND hwnd, UINT h, const CHOOSEFONTW *lpcf)
static int SetFontSizesToCombo3 (HWND hwnd, const CHOOSEFONTW *lpcf)
static HDC CFn_GetDC (const CHOOSEFONTW *lpcf)
static int GetScreenDPI (void)
static void CFn_ReleaseDC (const CHOOSEFONTW *lpcf, HDC hdc)
static INT AddFontStyle (const ENUMLOGFONTEXW *lpElfex, const NEWTEXTMETRICEXW *lpNTM, UINT nFontType, const CHOOSEFONTW *lpcf, HWND hcmb2, HWND hcmb3, HWND hDlg)
static INT CFn_FitFontSize (HWND hDlg, int points)
static INT CFn_FitFontStyle (HWND hDlg, LONG packedstyle)
static INT CFn_FitCharSet (HWND hDlg, int charset)
static INT WINAPI FontStyleEnumProc (const ENUMLOGFONTEXW *lpElfex, const TEXTMETRICW *metrics, DWORD dwFontType, LPARAM lParam)
static LRESULT CFn_WMInitDialog (HWND hDlg, LPARAM lParam, LPCHOOSEFONTW lpcf)
static LRESULT CFn_WMMeasureItem (HWND hDlg, LPARAM lParam)
static LRESULT CFn_WMDrawItem (LPARAM lParam)
static LRESULT CFn_WMCommand (HWND hDlg, WPARAM wParam, LPARAM lParam, LPCHOOSEFONTW lpcf)
static LRESULT CFn_WMDestroy (HWND hwnd, LPCHOOSEFONTW lpcfw)
static LRESULT CFn_WMPaint (HWND hDlg, WPARAM wParam, LPARAM lParam, const CHOOSEFONTW *lpcf)

Variables

static const WCHAR strWineFontData [] = {'_','_','W','I','N','E','_','F','O','N','T','D','L','G','D','A','T','A',0}
static const WCHAR strWineFontData_a []
static const WCHAR chooseFontW [] = {'C','H','O','O','S','E','_','F','O','N','T',0}
static HIMAGELIST himlTT = 0
static const WCHAR stWestern [] = {'A','a','B','b','Y','y','Z','z',0}
static const WCHAR stSymbol [] = {'S','y','m','b','o','l',0}
static const WCHAR stShiftJis [] = {'A','a',0x3042,0x3041,0x30a2,0x30a1,0x4e9c,0x5b87,0}
static const WCHAR stHangul [] = {0xac00,0xb098,0xb2e4,'A','a','B','Y','y','Z','z',0}
static const WCHAR stGB2312 [] = {0x5fae,0x8f6f,0x4e2d,0x6587,0x8f6f,0x4ef6,0}
static const WCHAR stBIG5 [] = {0x4e2d,0x6587,0x5b57,0x578b,0x7bc4,0x4f8b,0}
static const WCHAR stGreek [] = {'A','a','B','b',0x0391,0x03b1,0x0392,0x03b2,0}
static const WCHAR stTurkish [] = {'A','a','B','b',0x011e,0x011f,0x015e,0x015f,0}
static const WCHAR stHebrew [] = {'A','a','B','b',0x05e0,0x05e1,0x05e9,0x05ea,0}
static const WCHAR stArabic [] = {'A','a','B','b',0x0627,0x0628,0x062c,0x062f,0x0647,0x0648,0x0632,0}
static const WCHAR stBaltic [] = {'A','a','B','b','Y','y','Z','z',0}
static const WCHAR stVietname [] = {'A','a','B','b',0x01a0,0x01a1,0x01af,0x01b0,0}
static const WCHAR stCyrillic [] = {'A','a','B','b',0x0411,0x0431,0x0424,0x0444,0}
static const WCHAR stEastEur [] = {'A','a','B','b',0xc1,0xe1,0xd4,0xf4,0}
static const WCHAR stThai [] = {'A','a','B','b',0x0e2d,0x0e31,0x0e01,0x0e29,0x0e23,0x0e44,0x0e17,0x0e22,0}
static const WCHAR stJohab [] = {0xac00,0xb098,0xb2e4,'A','a','B','Y','y','Z','z',0}
static const WCHAR stMac [] = {'A','a','B','b','Y','y','Z','z',0}
static const WCHAR stOEM [] = {'A','a','B','b',0xf8,0xf1,0xfd,0}
static const WCHAR stVISCII [] = {'A','a','B','b',0}
static const WCHAR stTCVN [] = {'A','a','B','b',0}
static const WCHAR stKOI8 [] = {'A','a','B','b',0}
static const WCHAR stIso88593 [] = {'A','a','B','b',0}
static const WCHAR stIso88594 [] = {'A','a','B','b',0}
static const WCHAR stIso885910 [] = {'A','a','B','b',0}
static const WCHAR stCeltic [] = {'A','a','B','b',0}
static const WCHAR *const sample_lang_text []
static const BYTE CHARSET_ORDER [256]
struct {
   DWORD   mask
   const char *   name
cfflags []
static const COLORREF textcolors [TEXT_COLORS]

Generated on Sat May 26 2012 05:06:19 for ReactOS by doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.