Lines Matching refs:size
439 VimSelectFontDialog(font_family* family, font_style* style, float* size);
2336 size_t size = 0; in InitIcon() local
2339 iconData = (const uint8*)resources.LoadResource(B_VECTOR_ICON_TYPE, name, &size); in InitIcon()
2340 if (iconData != NULL && BIconUtils::GetVectorIcon(iconData, size, fIconBitmap) == B_OK) in InitIcon()
2344 iconData = (const uint8*)resources.LoadResource(B_LARGE_ICON_TYPE, name, &size); in InitIcon()
2363 VimSelectFontDialog::VimSelectFontDialog(font_family* family, font_style* style, float* size) in VimSelectFontDialog() argument
2372 , fSize(size) in VimSelectFontDialog()
2373 , fFontSize(*size) in VimSelectFontDialog()
2521 for (int size = 8, index = 0; size <= 18; size++, index++) { in VimSelectFontDialog() local
2523 str << size; in VimSelectFontDialog()
2525 if (size == fFontSize) in VimSelectFontDialog()
2689 float size = atof(buf); in MessageReceived() local
2690 if (size > 0.f) { in MessageReceived()
2691 fFontSize = size; in MessageReceived()
2700 float size = atof(fSizesInput->Text()); in MessageReceived() local
2701 if (size > 0.f) { in MessageReceived()
2702 fFontSize = size; in MessageReceived()
2749 float size = NULL == normalButtonsBitmap ? 18. : normalButtonsBitmap->Bounds().Height(); in ToolbarHeight() local
2750 return size + ToolbarMargin * 2 + ButtonMargin * 2 + 1; in ToolbarHeight()
2816 float size = bitmapFrom->Bounds().Height() + 1.; in GetPictureFromBitmap() local
2818 BView view(BRect(0, 0, size, size), "", 0, 0); in GetPictureFromBitmap()
2827 BRect source(0, 0, size - 1, size - 1); in GetPictureFromBitmap()
2830 source.OffsetBy(size * index, 0); in GetPictureFromBitmap()
2838 size += ButtonMargin * 2 - 1; in GetPictureFromBitmap()
2840 view.AddLine(BPoint(0, 0), BPoint(size, 0), shadowColor); in GetPictureFromBitmap()
2841 view.AddLine(BPoint(size, 0), BPoint(size, size), shineColor); in GetPictureFromBitmap()
2842 view.AddLine(BPoint(size, size), BPoint(0, size), shineColor); in GetPictureFromBitmap()
2843 view.AddLine(BPoint(0, size), BPoint(0, 0), shadowColor); in GetPictureFromBitmap()
2858 float size = normalButtonsBitmap ? in AddButton() local
2860 BRect frame(0, 0, size, size); in AddButton()
2883 bitmap = new BBitmap(BRect(0, 0, size, size), B_RGB32); in AddButton()
3062 ssize_t size; in gui_haiku_process_event() local
3064 size = read_port_etc(gui.vdcmp, &what, &vm, sizeof(vm), in gui_haiku_process_event()
3067 if (size >= 0) { in gui_haiku_process_event()
3173 return size; in gui_haiku_process_event()
3612 int size, in gui_mch_set_scrollbar_thumb() argument
3621 s->SetProportion((float)size / (max + 1.0)); in gui_mch_set_scrollbar_thumb()
3622 s->SetSteps(1.0, size > 5 ? size - 2 : size); in gui_mch_set_scrollbar_thumb()
3624 max = max + 1 - size; in gui_mch_set_scrollbar_thumb()
3819 gui_mch_font_dialog(font_family* family, font_style* style, float* size) in gui_mch_font_dialog() argument
3823 VimSelectFontDialog *dialog = new VimSelectFontDialog(family, style, size); in gui_mch_font_dialog()
3846 float size = 0.f; in gui_mch_get_font() local
3864 size = be_fixed_font->Size(); in gui_mch_get_font()
3866 (char*)"%s/%s/%.0f", family, style, size); in gui_mch_get_font()
3881 size = atof((style_s != 0) ? strtok(0, "/\0") : "0"); in gui_mch_get_font()
3884 if (gui_mch_font_dialog(&family, &style, &size) == NOFONT) in gui_mch_get_font()
3888 (char*)"%s/%s/%.0f", family, style, size); in gui_mch_get_font()
3927 if (size > 0.f) in gui_mch_get_font()
3928 font->SetSize(size); in gui_mch_get_font()