/haiku/headers/private/tracker/ |
H A D | IconMenuItem.h | 68 virtual void GetContentSize(float* width, float* height); 96 virtual void GetContentSize(float* width, float* height);
|
/haiku/src/apps/deskbar/ |
H A D | TimeView.cpp | 69 TTimeView::TTimeView(float maxWidth, float height, TBarView* barView) argument 77 fHeight(height), 189 TTimeView::GetPreferredSize(float* width, float* height) argument 193 // set the height based on the font size 197 // reduce height by 2px so that clock doesn't draw on top of border 206 *height = fHeight; 308 float height; local 312 GetPreferredSize(&width, &height); 313 if (height != oldHeight || width != oldWidth) { 314 ResizeTo(width, height); [all...] |
H A D | TeamMenuItem.cpp | 74 char* signature, float width, float height) 78 _Init(team, icon, name, signature, width, height); 82 TTeamMenuItem::TTeamMenuItem(float width, float height) argument 86 _Init(NULL, NULL, strdup(""), strdup(""), width, height); 202 TTeamMenuItem::GetContentSize(float* width, float* height) argument 204 BMenuItem::GetContentSize(width, height); 228 *height = fOverrideHeight; 230 *height = fBarView->TeamMenuItemHeight(); 489 float width, float height) 511 fOverrideHeight = height; 73 TTeamMenuItem(BList* team, BBitmap* icon, char* name, char* signature, float width, float height) argument 488 _Init(BList* team, BBitmap* icon, char* name, char* signature, float width, float height) argument [all...] |
/haiku/headers/libs/agg/ |
H A D | agg_image_accessors.h | 54 if(m_y >= 0 && m_y < (int)m_pixf->height() && 67 if(y >= 0 && y < (int)m_pixf->height() && 88 m_y >= 0 && m_y < (int)m_pixf->height()) 177 if(y >= (int)m_pixf->height()) y = m_pixf->height() - 1; 186 if(y >= 0 && y < (int)m_pixf->height() && 207 m_y >= 0 && m_y < (int)m_pixf->height()) 239 m_wrap_y(pixf.height())
|
/haiku/headers/private/interface/ |
H A D | ColorConversion.h | 18 int32 height); 22 BPoint dstOffset, int32 width, int32 height);
|
/haiku/src/add-ons/accelerants/ati/ |
H A D | mach64_draw.cpp | 211 int height = pList->height; local 223 src_y += height; 224 dest_y += height; 230 OUTREG(SRC_HEIGHT1_WIDTH1, ((width + 1) << 16) | (height + 1)); 232 OUTREG(DST_HEIGHT_WIDTH, ((width + 1) << 16) | (height + 1));
|
/haiku/src/apps/icon-o-matic/generic/support/ |
H A D | support_ui.cpp | 89 uint32 height = bitmap->Bounds().IntegerHeight() + 1; local 90 for (uint32 y = 0; y < height; y++) { 99 } else if ((x == width - 2 || y == height - 2) 100 && !(x == width - 1 || y == height - 1)) { 106 } else if (x == width - 1 || y == height - 1) { 119 if ((x == 0 && y == height - 1) || (y == 0 && x == width - 1)) {
|
/haiku/src/kits/interface/ |
H A D | OptionPopUp.cpp | 279 \param height A pointer to a float which will held the control's 280 preferred height. 285 float width, height; local 286 fMenuField->GetPreferredSize(&width, &height); 292 *_height = max_c(height, fontHeight.ascent + fontHeight.descent 309 float width, height; local 310 GetPreferredSize(&width, &height); 311 ResizeTo(width, height);
|
H A D | SplitLayout.cpp | 599 size.height = max_c(size.height, minHeight); 604 verticalLayouter->Layout(fVerticalLayoutInfo, size.height); 614 splitterHeight = size.height + 1; 648 float height = fVerticalLayoutInfo->ElementSize(visibleIndex); local 652 yOffset + height), true); 657 yOffset += height + ySpacing + 1; 692 || (fOrientation == B_VERTICAL && size.height >= fMax.height)) { 904 range.previousMin = (int32)previousInfo->min.height [all...] |
H A D | GridLayout.cpp | 43 // kItemDimensionsField = {x, y, width, height} 55 dimensions.height = 1; 360 BGridLayout::SetMinRowHeight(int32 row, float height) argument 362 fRowInfos->SetMinSize(row, height); 374 BGridLayout::SetMaxRowHeight(int32 row, float height) argument 376 fRowInfos->SetMaxSize(row, height); 461 data->dimensions.height = rowCount; 540 result = into->AddInt32(kItemDimensionsField, data->dimensions.height); 564 ++index, &dimensions.height); 571 dimensions.width, dimensions.height)) [all...] |
H A D | Box.cpp | 263 // offset label up by 1/6 the font height 319 BBox::FrameResized(float width, float height) argument 361 fBounds.bottom = height; 418 float width, height; local 419 GetPreferredSize(&width, &height); 424 if (height < Bounds().Height()) 425 height = Bounds().Height(); 427 BView::ResizeTo(width, height); 439 *_height = fLayoutData->preferred.height; 768 // compute the label box, width and height [all...] |
H A D | RadioButton.cpp | 30 // Resize to minimum height if needed for BeOS compatibility 88 // its size depends on the text height 255 float height = rect.bottom + rect.top; local 261 height = std::max(height, icon->Bounds().Height()); 267 height = std::max(height, 275 *_height = height; 475 float width, height; local 476 GetPreferredSize(&width, &height); [all...] |
/haiku/src/apps/icon-o-matic/generic/property/view/ |
H A D | PropertyItemView.cpp | 99 PropertyItemView::FrameResized(float width, float height) argument 103 fEditorView->ResizeTo(width - fLabelWidth, height); 158 float height = floorf(4.0 + fh.ascent + fh.descent); local 160 height = max_c(height, fEditorView->PreferredHeight()); 162 return height;
|
/haiku/src/libs/print/libprint/ |
H A D | HalftoneView.cpp | 33 const int height = Bounds().IntegerHeight()+1; local 35 const int delta = height / 4; 39 const float gray_bottom = height - 1; 85 for (int y = 0; y < height; y ++) { 140 const int height = r.IntegerHeight()+1; local 141 const int delta = height / 4;
|
/haiku/src/tests/kits/interface/layout/widget_layout_test/ |
H A D | WidgetLayoutTest.cpp | 67 return BPoint(p.x + size.width, p.y + size.height); 204 if (maxSliderLocation.y + sliderSize.height > parentSize.height) 205 maxSliderLocation.y = parentSize.height - sliderSize.height; 229 // height view 259 _UpdateSizeView(heightView, size.height);
|
/haiku/src/apps/processcontroller/ |
H A D | Utilities.cpp | 153 float height = frame.Height(); local 156 if (screen.Height() < height && !(flags & B_NOT_V_RESIZABLE)) 157 height = screen.Height(); 158 if (width != frame.Width() || height != frame.Height()) { 159 window->ResizeTo(width, height); 161 frame.bottom = frame.top + height;
|
/haiku/src/servers/app/font/ |
H A D | FontStyle.cpp | 55 // calculate it because height = ascending + descending + leading 56 fHeight.leading = (double)(face->height - face->ascender 70 fHeight.leading = (double)(metrics.height - metrics.ascender 126 FontStyle::GetHeight(float size, font_height& height) const 128 height.ascent = fHeight.ascent * size; 129 height.descent = fHeight.descent * size; 130 height.leading = fHeight.leading * size;
|
/haiku/src/add-ons/accelerants/intel_extreme/ |
H A D | overlay.cpp | 349 uint16 height) 351 TRACE("%s(width %u, height %u, colorSpace %lu)\n", __func__, width, 352 height, colorSpace); 389 buffer->height = height; 392 status_t status = intel_allocate_memory(buffer->bytes_per_row * height, 487 constraints->view.height.min = 4; 489 constraints->view.height.max = buffer->height; 498 constraints->window.height 348 intel_allocate_overlay_buffer(color_space colorSpace, uint16 width, uint16 height) argument [all...] |
/haiku/src/preferences/printers/ |
H A D | PrinterListView.cpp | 353 font_height height; local 354 font->GetHeight(&height); 356 SetHeight((height.ascent + height.descent + height.leading) * 3.0 + 8.0); 385 font_height height; local 386 font.GetHeight(&height); 388 float fntheight = height.ascent + height.descent + height [all...] |
/haiku/src/kits/tracker/ |
H A D | IconMenuItem.cpp | 181 ModelMenuItem::GetContentSize(float* width, float* height) argument 183 _inherited::GetContentSize(width, height); 186 fHeightDelta = iconSize - *height; 187 if (*height < iconSize) 188 *height = iconSize; 416 IconMenuItem::GetContentSize(float* width, float* height) argument 418 _inherited::GetContentSize(width, height); 424 fHeightDelta = iconHeight - *height; 425 if (*height < iconHeight) 426 *height [all...] |
/haiku/src/add-ons/translators/tiff/ |
H A D | TIFFTranslator.cpp | 482 uint32 width, uint32 height, uint32 bytesPerRow, 667 uint32 height = bitsHeader.bounds.IntegerHeight() + 1; local 672 TIFFSetField(tif, TIFFTAG_IMAGELENGTH, height); 729 width, height, bytesPerRow, 765 width, height, bytesPerRow, 777 width, height, bytesPerRow, 833 uint32 width = 0, height = 0; local 838 if (!TIFFGetField(ptif, TIFFTAG_IMAGELENGTH, &height)) { 843 npixels = width * height; 845 if (praster && TIFFReadRGBAImage(ptif, width, height, (TIFF_UINT32_TYP 481 write_tif_stream(TIFF* tif, BPositionIO* inSource, color_space format, uint32 width, uint32 height, uint32 bytesPerRow, uint32 rowsPerStrip, uint32 dataSize) argument [all...] |
/haiku/src/apps/icon-o-matic/generic/gui/panel/color_picker/ |
H A D | AlphaSlider.cpp | 225 AlphaSlider::FrameResized(float width, float height) argument 320 uint32 height = fBitmap->Bounds().IntegerHeight() + 1; local 323 for (uint32 i = 1; i < height; i++) { 329 for (uint32 i = 0; i < height; i++) { 370 AlphaSlider::_AllocBitmap(int32 width, int32 height) argument 372 if (width < 2 || height < 2) 376 fBitmap = new BBitmap(BRect(0, 0, width - 1, height - 1), 0, B_RGB32);
|
/haiku/src/add-ons/translators/webp/ |
H A D | WebPTranslator.cpp | 274 picture.height = bitsHeader.bounds.IntegerHeight() + 1; 277 int bitsSize = picture.height * stride; 333 int width, height; local 335 &height); 343 uint32 dataSize = width * 4 * height; 347 bitmapHeader.bounds.Set(0, 0, width - 1, height - 1); 350 bitmapHeader.dataSize = width * 4 * height;
|
/haiku/src/tests/add-ons/translators/bmptranslator/ |
H A D | BMPTranslatorTest.cpp | 38 uint32 height; // bitmap height member in struct:MSInfoHeader 52 uint16 height; // bitmap height member in struct:OS2InfoHeader 227 msheader.height = 5; 251 msheader.height = 5; 275 msheader.height = 5; 300 os2header.height = 5; 321 os2header.height = 5; 339 os2header.height [all...] |
/haiku/src/tests/kits/game/ParticlesII/ |
H A D | particlesII.cpp | 71 int width,height; member in class:NWindowScreen 117 : BWindowScreen("Example", B_8_BIT_640x480, ret), width(639), height(479), COLORS(256) 330 cy = height/2; 335 // draw_line(i,0,i,height, i); 364 if(y > height) 377 if((s->lx <= width) && (s->lx >= 0) && (s->ly <= height) && (s->ly >= 0)) 621 if((xCoord > 0) && (yCoord > 0) && (xCoord < width) && (yCoord < height)) 624 if((xCoord > 0) && (yCoord > 0) && (xCoord < width) && (yCoord < height)) 628 if((xCoord > 0) && (yCoord > 0) && (xCoord < width) && (yCoord < height)) 631 if((xCoord > 0) && (yCoord > 0) && (xCoord < width) && (yCoord < height)) [all...] |