Lines Matching +defs:title +defs:font +defs:size

24 #include "version.h"	/* used by dialog box routine for default title */
136 static WORD s_dlgfntheight; /* height of the dialog font */
137 static WORD s_dlgfntwidth; /* width of the dialog font */
1208 /* When side scroll bar is unshown, the size of window will change.
1231 /* TODO: When the window is maximized, the size of the window stays the
1232 * same, thus the size of the text area changes. On Win98 it's OK, on Win
1283 * Get the character size of a font.
1286 GetFontSize(GuiFont font)
1290 HFONT hfntOld = SelectFont(hdc, (HFONT)font);
1320 HFONT font = NULL;
1322 /* Load the font */
1323 font = CreateFontIndirect(lf);
1325 if (font == NULL)
1328 return (GuiFont)font;
1355 GuiFont font = NOFONT;
1358 font = get_font_handle(&lf);
1359 if (font == NOFONT && giveErrorIfMissing)
1361 return font;
1366 * Return the name of font "font" in allocated memory.
1371 gui_mch_get_fontname(font, name)
1372 GuiFont font;
1382 gui_mch_free_font(GuiFont font)
1384 if (font)
1385 DeleteObject((HFONT)font);
2173 SIZE size;
2175 GetTextExtentPoint(hdc, str, len, &size);
2176 return size.cx;
2187 SIZE size;
2199 n = GetTextExtentPointW(hdc, wstr, wlen, &size);
2202 return size.cx;
2581 set_window_title(HWND hwnd, char *title)
2584 if (title != NULL && enc_codepage >= 0 && enc_codepage != (int)GetACP())
2589 /* Convert the title from 'encoding' to UTF-16. */
2590 wbuf = (WCHAR *)enc_to_utf16((char_u *)title, NULL);
2601 (void)SetWindowText(hwnd, (LPCSTR)title);
3045 /* make a normal font string out of the lf thing:*/
3075 * Initialise vim to use the font with the given name.
3076 * Return FAIL if the font could not be loaded, OK otherwise.
3083 GuiFont font = NOFONT;
3086 /* Load the font */
3088 font = get_font_handle(&lf);
3089 if (font == NOFONT)
3101 gui.norm_font = font;
3103 GetFontSize(font);
3110 /* When setting 'guifont' to "*" replace it with the actual font name.
3172 * Called when the font changed while the window is maximized. Compute the
3193 * Set the window title
3198 char_u *title,
3201 set_window_title(s_hwnd, (title == NULL ? "VIM" : (char *)title));
3307 char_u *title,
3353 if (title != NULL)
3354 titlep = enc_to_utf16(title, NULL);
3458 gui_mch_browsedir(char_u *title, char_u *initdir)
3462 return gui_mch_browse(0, title, (char_u *)_("Not Used"), NULL,
3470 * title - Title message for the file browser dialog.
3481 char_u *title,
3495 return gui_mch_browseW(saving, title, dflt, ext, initdir, filter);
3514 fileStruct.lpstrTitle = title;
3690 val += (sb_info->size > 2 ? sb_info->size - 2 : 1);
3693 val -= (sb_info->size > 2 ? sb_info->size - 2 : 1);
3803 * it. Add the size of the string, the separating NUL and a terminating