Lines Matching refs:Info
13 InitFont(IN PFONT_WND_INFO Info) in InitFont() argument
15 Info->Font = (PBITMAP_FONT) HeapAlloc( hProcessHeap, 0, sizeof(BITMAP_FONT) ); in InitFont()
17 if(Info->OpenInfo->bCreateNew) in InitFont()
19 ZeroMemory( Info->Font, sizeof(BITMAP_FONT) ); in InitFont()
29 …hFile = CreateFileW(Info->OpenInfo->pszFileName, GENERIC_READ, FILE_SHARE_READ, NULL, OPEN_EXISTIN… in InitFont()
44 Info->OpenInfo->bBinaryFileOpened = TRUE; in InitFont()
46 if( ReadFile(hFile, Info->Font, sizeof(BITMAP_FONT), &dwTemp, NULL) ) in InitFont()
72 if( ReadFile(hFile, Info->Font, sizeof(BITMAP_FONT), &dwTemp, NULL) ) in InitFont()
99 PFONT_WND_INFO Info; in FontWndProc() local
101 Info = (PFONT_WND_INFO) GetWindowLongPtrW(hwnd, GWLP_USERDATA); in FontWndProc()
103 if(Info || uMsg == WM_CREATE) in FontWndProc()
108 Info->MainWndInfo->CurrentFontWnd = Info; in FontWndProc()
109 SetToolbarFileButtonState(Info->MainWndInfo, TRUE); in FontWndProc()
110 SetPasteButtonState(Info->MainWndInfo); in FontWndProc()
114 …Info = (PFONT_WND_INFO)( ( (LPMDICREATESTRUCT) ( (LPCREATESTRUCT)lParam )->lpCreateParams )->lPara… in FontWndProc()
115 Info->hSelf = hwnd; in FontWndProc()
117 SetWindowLongPtrW(hwnd, GWLP_USERDATA, (LONG_PTR)Info); in FontWndProc()
119 CreateFontBoxesWindow(Info); in FontWndProc()
126 if(Info->FirstEditGlyphWnd) in FontWndProc()
138 if(Info->OpenInfo->bModified) in FontWndProc()
153 DoFileSave(Info->MainWndInfo, FALSE); in FontWndProc()
166 Info->MainWndInfo->CurrentFontWnd = NULL; in FontWndProc()
167 SetToolbarFileButtonState(Info->MainWndInfo, FALSE); in FontWndProc()
168 SetPasteButtonState(Info->MainWndInfo); in FontWndProc()
181 if(Info->PrevFontWnd) in FontWndProc()
182 Info->PrevFontWnd->NextFontWnd = Info->NextFontWnd; in FontWndProc()
184 Info->MainWndInfo->FirstFontWnd = Info->NextFontWnd; in FontWndProc()
186 if(Info->NextFontWnd) in FontWndProc()
187 Info->NextFontWnd->PrevFontWnd = Info->PrevFontWnd; in FontWndProc()
189 Info->MainWndInfo->LastFontWnd = Info->PrevFontWnd; in FontWndProc()
192 if(Info->Font) in FontWndProc()
193 HeapFree(hProcessHeap, 0, Info->Font); in FontWndProc()
195 if(Info->OpenInfo->pszFileName) in FontWndProc()
196 HeapFree(hProcessHeap, 0, Info->OpenInfo->pszFileName); in FontWndProc()
198 HeapFree(hProcessHeap, 0, Info->OpenInfo); in FontWndProc()
199 HeapFree(hProcessHeap, 0, Info); in FontWndProc()
206 SetFocus(Info->hFontBoxesWnd); in FontWndProc()
217 GetWindowRect(Info->hFontBoxesWnd, &WndRect); in FontWndProc()
240 SetWindowPos(Info->hFontBoxesWnd, in FontWndProc()
265 SetWindowPos(Info->hFontBoxesWnd, in FontWndProc()
343 GetWindowRect(Info->hFontBoxesWnd, &WndRect); in FontWndProc()
349 … SetWindowPos(Info->hFontBoxesWnd, NULL, -si.nPos, pt.y, 0, 0, SWP_NOZORDER | SWP_NOSIZE); in FontWndProc()
351 … SetWindowPos(Info->hFontBoxesWnd, NULL, pt.x, -si.nPos, 0, 0, SWP_NOZORDER | SWP_NOSIZE); in FontWndProc()
366 PFONT_WND_INFO Info; in CreateFontWindow() local
368 Info = (PFONT_WND_INFO) HeapAlloc( hProcessHeap, HEAP_ZERO_MEMORY, sizeof(FONT_WND_INFO) ); in CreateFontWindow()
370 if(Info) in CreateFontWindow()
372 Info->MainWndInfo = MainWndInfo; in CreateFontWindow()
373 Info->OpenInfo = OpenInfo; in CreateFontWindow()
375 if( InitFont(Info) ) in CreateFontWindow()
398 (LPARAM)Info ); in CreateFontWindow()
406 Info->PrevFontWnd = Info->MainWndInfo->LastFontWnd; in CreateFontWindow()
408 if(Info->MainWndInfo->LastFontWnd) in CreateFontWindow()
409 Info->MainWndInfo->LastFontWnd->NextFontWnd = Info; in CreateFontWindow()
411 Info->MainWndInfo->FirstFontWnd = Info; in CreateFontWindow()
413 Info->MainWndInfo->LastFontWnd = Info; in CreateFontWindow()
419 HeapFree(hProcessHeap, 0, Info); in CreateFontWindow()