/haiku/src/apps/drivesetup/ |
H A D | DiskView.cpp | 200 font_height fh; local 201 font.GetHeight(&fh); 212 textOffset.y += ceilf(fh.ascent); 216 textOffset.x += ceilf(fh.ascent); 537 font_height fh; local 538 GetFontHeight(&fh); 540 messageBounds.InsetBy((bounds.Width() - width - fh.ascent * 2) / 2.0, 541 (bounds.Height() - (fh.ascent + fh.descent) * 2) / 2.0); 552 textOffset.x = messageBounds.left + fh [all...] |
/haiku/src/kits/interface/ |
H A D | ColumnTypes.cpp | 40 font_height fh; local 42 be_plain_font->GetHeight(&fh); 43 fFontHeight = fh.descent + fh.leading;
|
H A D | Menu.cpp | 2705 font_height fh; local 2706 GetFontHeight(&fh); 2707 frame.Set(0.0f, 0.0f, 0.0f, ceilf(fh.ascent + fh.descent + fPad.top 3016 font_height fh; local 3017 GetFontHeight(&fh); 3018 fAscent = fh.ascent; 3019 fDescent = fh.descent; 3020 fFontHeight = ceilf(fh.ascent + fh [all...] |
H A D | TextView.cpp | 3999 font_height fh; local 4000 font->GetHeight(&fh); 4001 *_ascent = fh.ascent; 4002 *_descent = fh.descent + fh.leading;
|
H A D | ColumnListView.cpp | 1637 font_height fh; local 1638 fOutlineView->GetFontHeight(&fh); 1639 float baseline = floor(rect.top + fh.ascent 1640 + (rect.Height() + 1 - (fh.ascent + fh.descent)) / 2); 2671 font_height fh; local 2672 GetFontHeight(&fh); 2674 float baseline = floor(drawRect.top + fh.ascent 2675 + (drawRect.Height() + 1 - (fh.ascent + fh 3484 font_height fh; local [all...] |
H A D | TabView.cpp | 447 font_height fh; local 448 GetFontHeight(&fh); 449 fTabHeight = ceilf(fh.ascent + fh.descent + fh.leading + 8.0f); 1382 font_height fh; local 1383 GetFontHeight(&fh); 1384 fTabHeight = ceilf(fh.ascent + fh.descent + fh [all...] |
H A D | Button.cpp | 51 font_height fh; local 52 font.GetHeight(&fh); 53 float minHeight = font.Size() + (float)ceil(fh.ascent + fh.descent);
|
H A D | MenuField.cpp | 1331 font_height& fh = fLayoutData->font_info; 1332 GetFontHeight(&fh); 1337 fLayoutData->label_height = ceilf(fh.ascent) + ceilf(fh.descent);
|
/haiku/src/apps/deskbar/ |
H A D | Switcher.cpp | 2223 font_height fh; local 2224 be_plain_font->GetHeight(&fh); 2225 fItemHeight = (int32) fh.ascent + fh.descent;
|
/haiku/src/servers/notification/ |
H A D | NotificationView.cpp | 465 font_height fh; local 466 be_bold_font->GetHeight(&fh); 467 float fontHeight = ceilf(fh.leading) + ceilf(fh.descent) 468 + ceilf(fh.ascent); 482 be_plain_font->GetHeight(&fh); 483 fontHeight = ceilf(fh.leading) + ceilf(fh.descent) 484 + ceilf(fh.ascent); 582 font_height fh; local [all...] |
/haiku/src/add-ons/kernel/file_systems/userlandfs/server/fuse/ |
H A D | FUSEVolume.cpp | 165 fh = 0; 185 fh = 0;
|
/haiku/src/apps/icon-o-matic/generic/gui/ |
H A D | ListViews.cpp | 67 font_height fh; local 68 owner->GetFontHeight(&fh); 76 float textHeight = fh.ascent + fh.descent; 80 + ceilf(height / 2 - textHeight / 2 + fh.ascent);
|
/haiku/src/apps/icon-o-matic/gui/ |
H A D | TransformerListView.cpp | 154 font_height fh; local 155 GetFontHeight(&fh); 159 float textHeight = (fh.ascent + fh.descent) * 1.5;
|
H A D | SavePanel.cpp | 96 font_height fh; local 97 be_plain_font->GetHeight(&fh); 98 rect.bottom = rect.top + fh.ascent + fh.descent + 5.0;
|
H A D | IconObjectListView.cpp | 76 font_height fh; local 77 GetFontHeight(&fh); 81 float textHeight = (fh.ascent + fh.descent) * 1.5;
|
/haiku/src/apps/cortex/TransportView/ |
H A D | TransportView.cpp | 115 font_height fh; local 116 m_plainFont.GetHeight(&fh); 119 *height = (fh.ascent+fh.descent+fh.leading) * 2; 185 font_height fh; 186 m_boldFont.GetHeight(&fh); 190 m_namePosition.y - fh.ascent, 192 m_namePosition.y + (fh.ascent+fh 223 font_height fh; local 1298 font_height fh; local [all...] |
/haiku/src/apps/mediaplayer/interface/ |
H A D | SeekSlider.cpp | 79 font_height fh; local 80 GetFontHeight(&fh); 84 textPos.y = (r.top + r.bottom - ceilf(fh.ascent + fh.descent)) / 2.0 85 + ceilf(fh.ascent);
|
/haiku/headers/private/userlandfs/fuse/ |
H A D | fuse_common.h | 84 uint64_t fh; member in struct:fuse_file_info
|
/haiku/src/kits/shared/ |
H A D | IconButton.cpp | 237 font_height fh; local 238 GetFontHeight(&fh); 239 minHeight += ceilf(fh.ascent + fh.descent) + vPadding;
|
/haiku/src/apps/stylededit/ |
H A D | StyledEditWindow.cpp | 1383 font_height fh; local 1384 font.GetHeight(&fh); 1386 const float itemHeight = ceilf(fh.ascent + fh.descent + 2 * fh.leading);
|
/haiku/src/add-ons/kernel/file_systems/nfs4/ |
H A D | InodeDir.cpp | 176 FileHandle fh; 177 reply.GetFH(&fh);
|
H A D | ReplyInterpreter.cpp | 237 ReplyInterpreter::GetFH(FileHandle* fh) argument 252 if (fh != NULL) { 253 fh->fSize = size; 254 memcpy(fh->fData, ptr, size);
|
/haiku/src/add-ons/kernel/file_systems/ntfs/ |
H A D | lowntfs.c | 496 of = (struct open_file*)(long)fi->fh; 566 of = (struct open_file*)(long)fi->fh; 810 fi->fh = (long)of;
|
/haiku/src/tools/translation/tgainfo/ |
H A D | tgainfo.cpp | 153 TGAFileHeader fh; local 154 fh.idlength = buf[0]; 155 fh.colormaptype = buf[1]; 156 fh.imagetype = buf[2]; 159 printf(B_TRANSLATE(" id length: %d\n"), static_cast<int>(fh.idlength)); 162 static_cast<int>(fh.colormaptype), 163 static_cast<const char *>(colormaptype(fh.colormaptype))); 165 static_cast<int>(fh.imagetype), 166 static_cast<const char *>(imagetype(fh.imagetype)));
|
/haiku/src/tools/translation/bmpinfo/ |
H A D | bmpinfo.cpp | 85 BMPFileHeader fh; local 94 memcpy(&fh.magic, buf, 2); 95 memcpy(&fh.fileSize, buf + 2, 4); 96 memcpy(&fh.reserved, buf + 6, 4); 97 memcpy(&fh.dataOffset, buf + 10, 4); 98 swap_data(B_UINT16_TYPE, &fh.magic, sizeof(uint16), 100 swap_data(B_UINT32_TYPE, (reinterpret_cast<uint8 *> (&fh)) + 2, 104 printf(B_TRANSLATE(" magic: 0x%.4x (should be: 0x424d)\n"), fh.magic); 105 printf(B_TRANSLATE(" file size: 0x%.8lx (%lu)\n"), fh.fileSize, 106 fh [all...] |