Home
last modified time | relevance | path

Searched refs:lfFont (Results 1 – 18 of 18) sorted by relevance

/reactos/base/applications/notepad/
H A Dsettings.c116 ZeroMemory(&Globals.lfFont, sizeof(Globals.lfFont)); in NOTEPAD_LoadSettingsFromRegistry()
117 Globals.lfFont.lfCharSet = DEFAULT_CHARSET; in NOTEPAD_LoadSettingsFromRegistry()
119 Globals.lfFont.lfWeight = FW_NORMAL; in NOTEPAD_LoadSettingsFromRegistry()
120 Globals.lfFont.lfPitchAndFamily = FIXED_PITCH | FF_MODERN; in NOTEPAD_LoadSettingsFromRegistry()
135 QueryByte(hKey, _T("lfItalic"), &Globals.lfFont.lfItalic); in NOTEPAD_LoadSettingsFromRegistry()
178 Globals.lfFont.lfHeight = HeightFromPointSize(dwPointSize); in NOTEPAD_LoadSettingsFromRegistry()
180 Globals.lfFont.lfFaceName, _countof(Globals.lfFont.lfFaceName))) in NOTEPAD_LoadSettingsFromRegistry()
183 _countof(Globals.lfFont.lfFaceName)); in NOTEPAD_LoadSettingsFromRegistry()
211 hFont = CreateFontIndirect(&Globals.lfFont); in NOTEPAD_LoadSettingsFromRegistry()
261 SaveDword(hKey, _T("lfItalic"), Globals.lfFont.lfItalic); in NOTEPAD_SaveSettingsToRegistry()
[all …]
H A Dnotepad.h69 LOGFONT lfFont; member
H A Dprinting.c371 lfBody = Globals.lfFont; in DoCreatePrintFonts()
378 lfHeader = Globals.lfFont; in DoCreatePrintFonts()
H A Ddialog.c769 LOGFONT lf = Globals.lfFont; in DIALOG_SelectFont()
782 Globals.lfFont = lf; in DIALOG_SelectFont()
/reactos/modules/rostests/winetests/user32/
H A Dsysparams.c1780 im_cur.lfFont.lfWidth += 2; in test_SPI_SETICONMETRICS()
1782 im_cur.lfFont.lfWeight = im_cur.lfFont.lfWeight > 100 ? 1 : 314; in test_SPI_SETICONMETRICS()
1783 im_cur.lfFont.lfItalic = !im_cur.lfFont.lfItalic; in test_SPI_SETICONMETRICS()
1784 im_cur.lfFont.lfStrikeOut = !im_cur.lfFont.lfStrikeOut; in test_SPI_SETICONMETRICS()
1785 im_cur.lfFont.lfUnderline = !im_cur.lfFont.lfUnderline; in test_SPI_SETICONMETRICS()
1786 im_cur.lfFont.lfCharSet = im_cur.lfFont.lfCharSet ? 0 : 1; in test_SPI_SETICONMETRICS()
1787 im_cur.lfFont.lfOutPrecision = im_cur.lfFont.lfOutPrecision == OUT_DEFAULT_PRECIS ? in test_SPI_SETICONMETRICS()
1790 im_cur.lfFont.lfPitchAndFamily = im_cur.lfFont.lfPitchAndFamily ? 0 : 1; in test_SPI_SETICONMETRICS()
1791 im_cur.lfFont.lfQuality = im_cur.lfFont.lfQuality == DEFAULT_QUALITY ? in test_SPI_SETICONMETRICS()
1820 ok( !strcmp( im_new.lfFont.lfFaceName, im_cur.lfFont.lfFaceName), in test_SPI_SETICONMETRICS()
[all …]
H A Dgenerated.c894 TEST_FIELD_SIZE (ICONMETRICSA, lfFont, 60) in test_pack_ICONMETRICSA()
895 TEST_FIELD_ALIGN (ICONMETRICSA, lfFont, 4) in test_pack_ICONMETRICSA()
896 TEST_FIELD_OFFSET(ICONMETRICSA, lfFont, 16) in test_pack_ICONMETRICSA()
916 TEST_FIELD_SIZE (ICONMETRICSW, lfFont, 92) in test_pack_ICONMETRICSW()
917 TEST_FIELD_ALIGN (ICONMETRICSW, lfFont, 4) in test_pack_ICONMETRICSW()
918 TEST_FIELD_OFFSET(ICONMETRICSW, lfFont, 16) in test_pack_ICONMETRICSW()
4398 TEST_FIELD_SIZE (ICONMETRICSA, lfFont, 60) in test_pack_ICONMETRICSA()
4399 TEST_FIELD_ALIGN (ICONMETRICSA, lfFont, 4) in test_pack_ICONMETRICSA()
4400 TEST_FIELD_OFFSET(ICONMETRICSA, lfFont, 16) in test_pack_ICONMETRICSA()
4420 TEST_FIELD_SIZE (ICONMETRICSW, lfFont, 92) in test_pack_ICONMETRICSW()
[all …]
/reactos/win32ss/user/user32/misc/
H A Ddesktop.c264 LogFontW2A(&(picma->lfFont), &(icmw.lfFont)); in RealSystemParametersInfoA()
280 LogFontA2W(&(icmw.lfFont), &(picma->lfFont)); in RealSystemParametersInfoA()
H A Dimm.c695 IMM_FN(ImmSetCompositionFontW)(hIMC, &pIC->lfFont.W); in ImeWnd_OnImeSystem()
/reactos/dll/cpl/desk/
H A Dadvappdlg.c347 LOGFONT lfFont; in AdvAppearanceDlg_Init() local
415 lfFont.lfCharSet = DEFAULT_CHARSET; in AdvAppearanceDlg_Init()
416 lfFont.lfFaceName[0] = (TCHAR)0; in AdvAppearanceDlg_Init()
417 lfFont.lfPitchAndFamily = 0; in AdvAppearanceDlg_Init()
419 …EnumFontFamiliesEx(hScreenDC, &lfFont, (FONTENUMPROC)EnumFontFamExProc, (LPARAM)GetDlgItem(hwndDlg… in AdvAppearanceDlg_Init()
H A Dtheme.c113 case FONT_ICON: return &scheme->icMetrics.lfFont; in SchemeGetFont()
980 GetThemeSysFont(hTheme, TMT_ICONTITLEFONT, &scheme->icMetrics.lfFont); in LoadSchemeFromTheme()
/reactos/sdk/lib/cicero/
H A Dcicimc.h158 return m_pIC->cfCompForm.dwStyle && ((m_pIC->lfFont.A.lfEscapement / 900) % 4 == 3); in UseVerticalCompWindow()
/reactos/sdk/include/ddk/
H A Dimmdev.h138 } lfFont; member
158 C_ASSERT(offsetof(INPUTCONTEXT, lfFont) == 0x20);
/reactos/dll/win32/imm32/
H A Dimm.c268 LogFontWideToAnsi(&pIC->lfFont.W, &LogFontA); in Imm32SelectInputContext()
269 pIC->lfFont.A = LogFontA; in Imm32SelectInputContext()
277 LogFontAnsiToWide(&pIC->lfFont.A, &LogFontW); in Imm32SelectInputContext()
278 pIC->lfFont.W = LogFontW; in Imm32SelectInputContext()
H A Dime.c1637 LogFontWideToAnsi(&pIC->lfFont.W, lplf); in ImmGetCompositionFontA()
1639 *lplf = pIC->lfFont.A; in ImmGetCompositionFontA()
1674 *lplf = pIC->lfFont.W; in ImmGetCompositionFontW()
1676 LogFontAnsiToWide(&pIC->lfFont.A, lplf); in ImmGetCompositionFontW()
1730 pIC->lfFont.A = *lplf; in ImmSetCompositionFontA()
1786 pIC->lfFont.W = *lplf; in ImmSetCompositionFontW()
/reactos/win32ss/user/ntuser/
H A Dsysparams.c297 SpiLoadFont(&gspv.im.lfFont, L"IconFont", &lf1); in SpiUpdatePerUserSystemParameters()
928 return SpiGet(pvParam, &gspv.im.lfFont, sizeof(LOGFONTW), fl); in SpiGetSet()
931 if (!SpiSet(&gspv.im.lfFont, pvParam, sizeof(LOGFONTW), fl)) in SpiGetSet()
935 SpiStoreFont(L"IconFont", &gspv.im.lfFont); in SpiGetSet()
1051 SpiStoreFont(L"IconFont", &gspv.im.lfFont); in SpiGetSet()
/reactos/dll/ime/msctfime/
H A Dmsctfime.cpp79 imcLock.get().lfFont.W = lf; in InternalSelectEx()
82 imcLock.get().lfFont.W.lfCharSet = GetCharsetFromLangId(LangID); in InternalSelectEx()
H A Dui.cpp692 LOGFONTW lf = imcLock.get().lfFont.W; in UpdateFont()
/reactos/sdk/include/psdk/
H A Dwinuser.h3384 LOGFONTA lfFont; member
3392 LOGFONTW lfFont; member