Home
last modified time | relevance | path

Searched refs:g_FontIndex (Results 1 – 2 of 2) sorted by relevance

/reactos/base/applications/fontview/
H A Dfontview.c20 INT g_FontIndex = 0; variable
404 g_FontIndex = 0; in MainWnd_OnCreate()
405 SendMessage(hDisplay, FVM_SETTYPEFACE, 0, (LPARAM)&g_LogFonts[g_FontIndex]); in MainWnd_OnCreate()
552 if (g_FontIndex > 0) in MainWnd_OnPrev()
554 --g_FontIndex; in MainWnd_OnPrev()
556 if (g_FontIndex == 0) in MainWnd_OnPrev()
560 SendMessage(hDisplay, FVM_SETTYPEFACE, 0, (LPARAM)&g_LogFonts[g_FontIndex]); in MainWnd_OnPrev()
570 if (g_FontIndex + 1 < g_NumFonts) in MainWnd_OnNext()
572 ++g_FontIndex; in MainWnd_OnNext()
574 if (g_FontIndex == g_NumFonts - 1) in MainWnd_OnNext()
[all …]
H A Dfontview.h23 extern INT g_FontIndex;