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

33  *   * ATSU font rendering has some problems
163 FMFontSize size;
304 static void gui_mac_set_font_attributes(GuiFont font);
430 /* Convert a string representing a point size into pixels. The string should
434 * calculation is for a vertical (height) size or a horizontal (width) one.
475 * parentheses) from a menu item and returns the cleaned menu item title.
711 /* AECreateDesc(typeChar, (Ptr)&title[1], title[0], &data) */
770 * When the editor receives this event, it must set the size of the handle
1381 /* Retrieve the font family ID number. */
1389 /* Retrieve the font size. */
1393 gFontPanelInfo.size = newSize;
1395 /* Retrieve the font style (bold, etc.). Currently unused. */
1425 * Fill the buffer pointed to by outName with the name and size
1426 * of the font currently selected in the Font Panel.
1442 /* Canonicalize localized font names */
1447 /* Request font name with Mac encoding (otherwise we could
1454 /* Only encode font size, because style (bold, italic, etc) is
1455 * already part of the font full name */
1457 gFontPanelInfo.size/*,
1611 if (sb_info->size > 5)
1612 page = sb_info->size - 2; /* use two lines of context */
1614 page = sb_info->size;
1644 gui_mch_set_scrollbar_thumb(sb, value, sb_info->size, sb_info->max);
1660 gui_mch_set_scrollbar_thumb(sb, value, sb_info->size, sb_info->max);
1797 /* Set the minimum size */
2446 /* prevent that the vim window size changes if it's activated by a
2758 short size=9;
2759 GuiFont font;
2775 /* Get the font name, minus the style suffix (:h, etc) */
2796 * Try again, this time replacing underscores in the font name
2830 /* Oups, the system font was it the one the user want */
2846 size = points_to_pixels(p, &p, TRUE);
2857 if (size < 1)
2858 size = 1; /* Avoid having a size of 0 with system font */
2860 font = (size << 16) + ((long) font_id & 0xFFFF);
2862 return font;
3011 Size size;
3017 err = GetFlavorDataSize(theDrag, item, type, &size);
3018 if (err != noErr || size > sizeof(hfsFlavor))
3020 err = GetFlavorData(theDrag, item, type, &hfsFlavor, &size, 0);
3136 gui_mch_draw_string() below), enable it for all font sizes. */
3374 * Open the Font Panel and wait for the user to select a font and
3376 * the name and size of the selected font and return the font's handle,
3386 /* Initialize the Font Panel with the current font. */
3388 curr_font.size = (gui.norm_font >> 16);
3398 gFontPanelInfo.size = curr_font.size;
3443 * Initialise vim to use the font with the given name. Return FAIL if the font
3454 GuiFont font;
3463 /* First try to get the suggested font */
3468 /* Then pickup the standard application font */
3474 font = (suggestedSize << 16) + ((long) font_id & 0xFFFF);
3480 font = gui_mac_select_font(used_font_name);
3481 if (font == NOFONT)
3484 /* Set guifont to the name of the selected font. */
3491 /* Replace spaces in the font name with underscores. */
3501 font = gui_mac_find_font(font_name);
3504 if (font == NOFONT)
3508 gui.norm_font = font;
3512 TextSize(font >> 16);
3513 TextFont(font & 0xFFFF);
3523 gui_mac_set_font_attributes(font);
3544 * Get a font structure for highlighting.
3549 GuiFont font;
3551 font = gui_mac_find_font(name);
3553 if (font == NOFONT)
3563 return font;
3568 * Return the name of font "font" in allocated memory.
3572 gui_mch_get_fontname(GuiFont font, char_u *name)
3582 gui_mac_set_font_attributes(GuiFont font)
3588 fontID = font & 0xFFFF;
3589 fontSize = Long2Fix(font >> 16);
3601 sizeof(font)
3606 &fontID, &fontSize, &fontWidth, &font
3616 fprintf(stderr, "couldn't set font style\n");
3626 * wide font drawing */
3643 * Set the current text font.
3646 gui_mch_set_font(GuiFont font)
3654 /* Avoid setting same font again */
3656 sizeof(font), &currFont, &actualFontByteCount) == noErr
3657 && actualFontByteCount == (sizeof font))
3659 if (currFont == font)
3663 gui_mac_set_font_attributes(font);
3668 /* Setup automatic font substitution. The user's guifontwide
3697 TextSize(font >> 16);
3698 TextFont(font & 0xFFFF);
3702 * If a font is not going to be used, free its structure.
3705 gui_mch_free_font(font)
3706 GuiFont font;
3709 * Free font when "font" is not 0.
3711 * nothing is allocated for each font used.
4881 * OSStatus SetMenuTitle(MenuRef, ConstStr255Param title);
5186 long size,
5192 SetControlViewSize (sb->id, size);
5194 printf("thumb_sb (%x) %x, %x,%x\n",sb->id, val, size, max);
5337 * title - Title message for the file browser dialog.
5354 char_u *title,
5379 (void) C2PascalString(title, &navOptions.message);
5382 * windowTitle? (there's no title bar?)
5423 * title = dialogue title. may be NULL for default title.
5582 char_u *title,
5596 char_u PascalTitle[256]; /* place holder for the title */
5650 * so we can measure the text with the proper font */
5659 /* Set the dialog title */
5660 if (title != NULL)
5662 (void) C2PascalString(title, &PascalTitle);
5707 /* Limite the size of any button to an acceptable value. */
6063 * Set the window title and icon.
6067 gui_mch_settitle(char_u *title, char_u *icon)
6079 if (title == NULL) /* nothing to do */
6083 windowTitleLen = STRLEN(title);
6084 windowTitle = (CFStringRef)mac_enc_to_cfstring(title, windowTitleLen);
6092 pascalTitle = C2Pascal_save(title);
6679 // drawer callback to resize data browser to drawer size
6802 // install callback that keeps data browser at the size of the drawer
6819 colDesc.headerBtnDesc.btnFontStyle.flags = 0; // use default font