Searched refs:width (Results 401 - 425 of 1007) sorted by relevance

<<11121314151617181920>>

/haiku/src/add-ons/translators/wonderbrush/
H A DWonderBrushView.cpp139 WonderBrushView::GetPreferredSize(float* width, float* height) argument
141 if (width) {
146 *width = max_c(width1, width2);
/haiku/src/add-ons/print/transports/hp_jetdirect/
H A DSetupWindow.cpp98 float width = MAX(StringWidth(SERVER_TEXT), StringWidth(QUEUE_TEXT)) + 10; local
104 fServerAddress->SetDivider(width);
110 fQueuePort->SetDivider(width);
/haiku/src/add-ons/print/transports/lpr/
H A DLprSetupDlg.cpp101 float width = max(StringWidth(SERVER_TEXT), StringWidth(QUEUE_TEXT)) + 10; local
109 fServer->SetDivider(width);
117 fQueue->SetDivider(width);
/haiku/src/add-ons/network_settings/dialup/
H A DConnectionOptionsAddon.cpp150 ConnectionOptionsAddon::GetPreferredSize(float *width, float *height) const argument
157 if(width)
158 *width = rect.Width();
/haiku/src/add-ons/tracker/zipomatic/
H A DZipOMaticActivity.cpp189 Activity::FrameResized(float width, float height) argument
193 // Choose stripe width so that at least 2 full stripes fit into the view,
196 fStripeWidth = (width / (fIsRunning ? 4 : 6)) + 5;
208 fNumStripes = (int32)ceilf((width) / fStripeWidth) + 1 + fNumColors;
/haiku/src/apps/diskusage/
H A DStatusView.cpp54 float width, height; local
55 fCountView->GetPreferredSize(&width, &height);
61 fPathView->GetPreferredSize(&width, &height);
/haiku/src/kits/interface/
H A DTextInput.cpp84 _BTextInput_::FrameResized(float width, float height) argument
86 BTextView::FrameResized(width, height);
158 min.width = min.height * 3;
H A DButton.cpp434 *_width = fPreferredSize.width;
547 BButton::GetHeightForWidth(data->width, &data->min, &data->max,
639 if (fPreferredSize.width < 0) {
649 // width
651 float width = left + right + labelSpacing - 1; local
655 width = std::max(width, ceilf(labelSpacing * 3.3f));
656 width += ceilf(StringWidth(label));
661 width += icon->Bounds().Width() + 1;
664 width
[all...]
/haiku/src/apps/processcontroller/
H A DThreadBarMenuItem.cpp126 ThreadBarMenuItem::GetContentSize(float* width, float* height) argument
128 BMenuItem::GetContentSize(width, height);
129 *width += 10 + kBarWidth;
/haiku/src/tools/translation/pnginfo/
H A Dpnginfo.cpp136 png_uint_32 width, height; local
138 png_get_IHDR(ppng, pinfo, &width, &height, &bit_depth, &color_type,
141 printf(" width: %lu\n", width);
/haiku/src/apps/remotedesktop/
H A DRemoteDesktop.cpp28 printf("usage:\t%s <host> [-p <port>] [-w <width>] [-h <height>]\n", app);
29 printf("usage:\t%s <user@host> -s [<sshPort>] [-p <port>] [-w <width>]"
38 printf("\t-w\t\tmake the virtual desktop use the specified width\n");
40 printf("\nIf no width and height are specified, the window is opened with"
55 int32 width = -1; local
73 if (argc <= i + 1 || sscanf(argv[i + 1], "%" B_SCNd32, &width) != 1) {
193 BRect windowFrame = BRect(0, 0, width - 1, height - 1);
/haiku/src/preferences/input/
H A DInputDeviceView.cpp105 float width = 4.0f; local
106 width += be_plain_font->StringWidth(fTitle) +
108 return width;
/haiku/src/apps/mediaplayer/
H A DMainWin.cpp482 MainWin::Zoom(BPoint /*position*/, float /*width*/, float /*height*/)
1132 int width; local
1136 fController->GetSize(&width, &height,
1138 VideoFormatChange(width, height, widthAspect, heightAspect);
1144 int width; local
1146 fController->GetSize(&width, &height);
1147 VideoFormatChange(width, height, width, height);
1447 // Force specific source size and pixel width scale.
1449 int width; local
1465 int width; local
1479 int width; local
1488 VideoFormatChange(int width, int height, int widthAspect, int heightAspect) argument
1854 int width; local
1994 _GetMinimumWindowSize(int& width, int& height) const argument
2093 int width; local
2163 _ResizeVideoView(int x, int y, int width, int height) argument
[all...]
H A DMainWin.h60 void VideoFormatChange(int width, int height,
84 void _GetMinimumWindowSize(int& width,
94 void _ResizeVideoView(int x, int y, int width,
/haiku/src/add-ons/print/drivers/preview/
H A DPageSetupWindow.cpp63 float width; member in struct:__anon1581
113 float width = letter_width; local
116 width = page.Width();
119 page.Set(0, 0, width, height);
143 fMarginView = new MarginView(int32(width), int32(height), margin,
154 message->AddFloat("width", pageFormat[i].width);
262 msg->FindFloat("width", &w);
304 msg->FindFloat("width", &w);
/haiku/src/preferences/filetypes/
H A DAttributeListView.cpp142 int32 width; local
143 if (attributes.FindInt32("attr:width", index, &width) != B_OK)
144 width = 50;
147 width, visible, editable);
156 int32 width, bool visible, bool editable)
163 fWidth(width),
154 AttributeItem(const char* name, const char* publicName, type_code type, const char* displayAs, int32 alignment, int32 width, bool visible, bool editable) argument
/haiku/src/apps/diskprobe/
H A DDataView.cpp469 float width = fCharWidth; local
473 if (point.x < left - width / 2)
485 left -= width / 2;
486 width *= kHexByteWidth;
488 left += hexWidth + (kBlockSpace * width);
491 int32 column = int32((point.x - left) / width);
505 float width = fCharWidth; local
511 left = width * (kPositionLength + kBlockSpace);
512 width *= kHexByteWidth;
515 left = width * (kPositionLengt
952 float width, height; local
982 FrameResized(float width, float height) argument
1036 const int32 width = kBlockSize - 1; local
[all...]
/haiku/headers/libs/agg/
H A Dagg_image_accessors.h55 m_x >= 0 && m_x < (int)m_pixf->width())
68 x >= 0 && x+(int)len <= (int)m_pixf->width())
176 if(x >= (int)m_pixf->width()) x = m_pixf->width() - 1;
187 x >= 0 && (int)(x+len) <= (int)m_pixf->width())
238 m_wrap_x(pixf.width()),
/haiku/src/kits/tracker/infowindow/
H A DFilePermissionsView.cpp130 maxSize.width = std::max(ownerRightLabelSize.width,
131 groupRightLabelSize.width);
132 maxSize.width = std::max(maxSize.width,
133 otherRightLabel->ExplicitSize().width);
/haiku/src/apps/icon-o-matic/import_export/svg/
H A DDocumentBuilder.cpp52 DocumentBuilder::SetDimensions(uint32 width, uint32 height, BRect viewBox) argument
54 fWidth = width;
67 double xMax = ceil(fSource->width);
77 printf("width/height: ");
216 stroke->width(svgShape->strokeWidth);
339 stroke->width(stroke->width() * shape->scale());
/haiku/src/add-ons/accelerants/neomagic/
H A DAcceleration.c26 list[i].width,
68 list[i].width,
/haiku/src/add-ons/accelerants/nvidia/
H A DAcceleration.c43 list[i].width,
87 list[i].width,
/haiku/src/add-ons/accelerants/skeleton/
H A DAcceleration.c29 list[i].width,
71 list[i].width,
/haiku/src/add-ons/accelerants/via/
H A DAcceleration.c29 list[i].width,
71 list[i].width,
/haiku/src/apps/cortex/DiagramView/
H A DDiagramItem.h134 float width,
136 { ResizeBy(width - Frame().Width(), height - Frame().Height()); }
133 resizeTo( float width, float height) argument

Completed in 267 milliseconds

<<11121314151617181920>>