Searched refs:viewWidth (Results 1 - 13 of 13) sorted by relevance

/haiku/src/add-ons/screen_savers/debugnow/
H A DDebugNow.cpp61 float viewWidth = view->Bounds().Width(); local
76 fLine1Start.Set(((viewWidth - stringRect.Width()) / 2) - stringRect.left, y);
79 fLine2Start.Set(((viewWidth - stringRect.Width()) / 2) - stringRect.left,
/haiku/src/kits/tracker/
H A DTextWidget.cpp151 float viewWidth = textWidth; local
154 viewWidth = std::min(column->Width(), textWidth);
161 result.right = result.left + viewWidth;
166 + roundf((column->Width() - viewWidth) / 2);
170 result.right = result.left + viewWidth;
175 result.left = result.right - viewWidth;
188 viewWidth = std::min(view->StringWidth("M") * 30, textWidth);
192 + roundf((view->IconSizeInt() - viewWidth) / 2);
199 result.right = result.left + viewWidth;
/haiku/src/apps/diskusage/
H A DStatusView.cpp143 float viewWidth = fPathView->Bounds().Width(); local
147 be_plain_font->TruncateString(&pathLabel, B_TRUNCATE_BEGINNING, viewWidth);
/haiku/src/add-ons/network_settings/dialup/
H A DPPPoEAddon.cpp199 float viewWidth; local
200 if(Addons()->FindFloat(DUN_DEVICE_VIEW_WIDTH, &viewWidth) != B_OK)
201 viewWidth = 270;
205 *width = viewWidth;
/haiku/src/apps/haikudepot/textview/
H A DTextDocumentView.h77 float _TextLayoutWidth(float viewWidth) const;
H A DTextDocumentView.cpp462 TextDocumentView::_TextLayoutWidth(float viewWidth) const
464 return viewWidth - (fInsetLeft + fInsetRight);
479 long viewWidth = bounds.IntegerWidth(); local
483 long maxRange = dataWidth - viewWidth;
487 horizontalScrollBar->SetProportion((float)viewWidth / dataWidth);
/haiku/src/apps/deskcalc/
H A DExpressionTextView.cpp209 float viewWidth = Frame().Width() local
211 if (value.CountChars() > 3 && stringWidth > viewWidth) {
250 if (stringWidth < viewWidth)
276 while (offset > firstDigit && stringWidth > viewWidth) {
/haiku/src/apps/cortex/TransportView/
H A DTransportView.cpp1285 float viewWidth = local
1293 viewWidth += (buttonSpan - columnWidth);
1295 // float insideWidth = viewWidth - (_edge_pad_x*2);
1413 float targetWidth = (b.Width() < viewWidth) ?
1414 viewWidth :
/haiku/src/preferences/repositories/
H A DRepositoriesView.cpp110 float viewWidth = std::max(fListStatusView->StringWidth(templateText), local
112 BSize statusViewSize(viewWidth + 3, B_H_SCROLL_BAR_HEIGHT - 2);
/haiku/src/apps/icon-o-matic/import_export/svg/
H A Dnanosvg.h455 float viewMinx, viewMiny, viewWidth, viewHeight; member in struct:NSVGparser
775 return p->viewWidth;
2517 p->viewWidth = nsvg__atof(buf);
2796 if (p->viewWidth == 0) {
2798 p->viewWidth = p->image->width;
2801 p->viewWidth = bounds[2] - bounds[0];
2813 p->image->width = p->viewWidth;
2819 sx = p->viewWidth > 0 ? p->image->width / p->viewWidth : 0;
2828 tx += nsvg__viewAlign(p->viewWidth*s
[all...]
/haiku/src/apps/terminal/
H A DTermWindow.cpp1383 float viewWidth, viewHeight; local
1384 containerView->GetPreferredSize(&viewWidth, &viewHeight);
1387 ResizeTo(viewWidth + be_control_look->GetScrollBarWidth(B_HORIZONTAL),
/haiku/src/kits/interface/
H A DTextView.cpp5038 long viewWidth = bounds.IntegerWidth(); local
5041 long maxRange = dataWidth - viewWidth;
5045 horizontalScrollBar->SetProportion((float)viewWidth
5082 long viewWidth = bounds.IntegerWidth(); local
5086 float maxWidth = fTextRect.right + fLayoutData->rightInset - viewWidth;
/haiku/src/apps/mediaplayer/
H A DMainWin.cpp2048 int viewWidth = fVideoView->Bounds().IntegerWidth() + 1; local
2051 int widthPercent = viewWidth * 100 / videoWidth;

Completed in 219 milliseconds