Lines Matching refs:Info
24 InitToolbox(IN PEDIT_GLYPH_INFO Info) in InitToolbox() argument
30 hToolbar = GetDlgItem(Info->hSelf, IDC_EDIT_GLYPH_TOOLBOX); in InitToolbox()
48 GetBitRect(IN PEDIT_GLYPH_INFO Info, IN UINT uRow, IN UINT uColumn, OUT LPRECT BitRect) in GetBitRect() argument
50 BitRect->left = uColumn * Info->lEditSpacing + 1; in GetBitRect()
51 BitRect->top = uRow * Info->lEditSpacing + 1; in GetBitRect()
52 BitRect->right = BitRect->left + Info->lEditSpacing - 1; in GetBitRect()
53 BitRect->bottom = BitRect->top + Info->lEditSpacing - 1; in GetBitRect()
57 SetPixelBit(IN PEDIT_GLYPH_INFO Info, IN UINT uRow, IN UINT uColumn, IN BOOL uBit) in SetPixelBit() argument
61 Info->CharacterBits[uRow] |= 1 << (7 - uColumn); in SetPixelBit()
63 Info->CharacterBits[uRow] &= ~( 1 << (7 - uColumn) ); in SetPixelBit()
66 InvalidateRect(Info->hEdit, NULL, FALSE); in SetPixelBit()
67 InvalidateRect(Info->hPreview, NULL, FALSE); in SetPixelBit()
71 EditGlyphCommand(IN INT idCommand, IN PEDIT_GLYPH_INFO Info) in EditGlyphCommand() argument
81 …RtlCopyMemory( Info->FontWndInfo->Font->Bits + Info->uCharacter * 8, Info->CharacterBits, sizeof(I… in EditGlyphCommand()
83 GetCharacterPosition(Info->uCharacter, &uRow, &uColumn); in EditGlyphCommand()
85 InvalidateRect(Info->FontWndInfo->hFontBoxesWnd, &rect, FALSE); in EditGlyphCommand()
87 Info->FontWndInfo->OpenInfo->bModified = TRUE; in EditGlyphCommand()
94 EndDialog(Info->hSelf, 0); in EditGlyphCommand()
97 if(Info->PrevEditGlyphWnd) in EditGlyphCommand()
98 Info->PrevEditGlyphWnd->NextEditGlyphWnd = Info->NextEditGlyphWnd; in EditGlyphCommand()
100 Info->FontWndInfo->FirstEditGlyphWnd = Info->NextEditGlyphWnd; in EditGlyphCommand()
102 if(Info->NextEditGlyphWnd) in EditGlyphCommand()
103 Info->NextEditGlyphWnd->PrevEditGlyphWnd = Info->PrevEditGlyphWnd; in EditGlyphCommand()
105 Info->FontWndInfo->LastEditGlyphWnd = Info->PrevEditGlyphWnd; in EditGlyphCommand()
107 SetWindowLongPtrW(Info->hSelf, GWLP_USERDATA, 0); in EditGlyphCommand()
108 SetWindowLongPtrW(Info->hEdit, GWLP_USERDATA, 0); in EditGlyphCommand()
109 SetWindowLongPtrW(Info->hPreview, GWLP_USERDATA, 0 ); in EditGlyphCommand()
111 HeapFree(hProcessHeap, 0, Info); in EditGlyphCommand()
121 PEDIT_GLYPH_INFO Info; in EditGlyphDlgProc() local
123 Info = (PEDIT_GLYPH_INFO) GetWindowLongPtrW(hwnd, GWLP_USERDATA); in EditGlyphDlgProc()
125 if(Info || uMsg == WM_INITDIALOG) in EditGlyphDlgProc()
130 return EditGlyphCommand( LOWORD(wParam), Info ); in EditGlyphDlgProc()
133 Info = (PEDIT_GLYPH_INFO) lParam; in EditGlyphDlgProc()
134 Info->hSelf = hwnd; in EditGlyphDlgProc()
135 Info->hEdit = GetDlgItem(hwnd, IDC_EDIT_GLYPH_EDIT); in EditGlyphDlgProc()
136 Info->hPreview = GetDlgItem(hwnd, IDC_EDIT_GLYPH_PREVIEW); in EditGlyphDlgProc()
138 SetWindowLongPtrW(hwnd, GWLP_USERDATA, (LONG_PTR)Info); in EditGlyphDlgProc()
139 SetWindowLongPtrW(Info->hEdit, GWLP_USERDATA, (LONG_PTR)Info); in EditGlyphDlgProc()
140 SetWindowLongPtrW(Info->hPreview, GWLP_USERDATA, (LONG_PTR)Info); in EditGlyphDlgProc()
142 InitToolbox(Info); in EditGlyphDlgProc()
154 PEDIT_GLYPH_INFO Info; in EditGlyphEditWndProc() local
156 Info = (PEDIT_GLYPH_INFO) GetWindowLongPtrW(hwnd, GWLP_USERDATA); in EditGlyphEditWndProc()
158 if(Info) in EditGlyphEditWndProc()
166 …SetPixelBit(Info, GET_Y_LPARAM(lParam) / Info->lEditSpacing, GET_X_LPARAM(lParam) / Info->lEditSpa… in EditGlyphEditWndProc()
170 …SetPixelBit(Info, GET_Y_LPARAM(lParam) / Info->lEditSpacing, GET_X_LPARAM(lParam) / Info->lEditSpa… in EditGlyphEditWndProc()
187 Info->lEditSpacing = rect.right / 8; in EditGlyphEditWndProc()
194 MoveToEx(ps.hdc, i * Info->lEditSpacing, 0, NULL); in EditGlyphEditWndProc()
195 LineTo (ps.hdc, i * Info->lEditSpacing, rect.right); in EditGlyphEditWndProc()
197 MoveToEx(ps.hdc, 0, i * Info->lEditSpacing, NULL); in EditGlyphEditWndProc()
198 LineTo (ps.hdc, rect.right, i * Info->lEditSpacing); in EditGlyphEditWndProc()
209 bBit = (BOOL) (Info->CharacterBits[i] << j & 0x80); in EditGlyphEditWndProc()
211 GetBitRect(Info, i, j, &rect); in EditGlyphEditWndProc()
232 PEDIT_GLYPH_INFO Info; in EditGlyphPreviewWndProc() local
234 Info = (PEDIT_GLYPH_INFO) GetWindowLongPtrW(hwnd, GWLP_USERDATA); in EditGlyphPreviewWndProc()
236 if(Info) in EditGlyphPreviewWndProc()
267 bBit = (BOOL) (Info->CharacterBits[i] << j & 0x80); in EditGlyphPreviewWndProc()