Searched refs:view (Results 101 - 125 of 492) sorted by relevance

1234567891011>>

/haiku/src/apps/networkstatus/
H A DRadioView.cpp91 RadioView::Draw(BView* view, BRect rect, int32 percent, int32 maxCount) argument
93 view->PushState();
101 _SetColor(view, percent, 0, i, count);
102 _DrawBow(view, i, center, count, step);
104 view->PopState();
181 // The pulse speed depends on the size of the view
211 RadioView::_DrawBow(BView* view, int32 index, const BPoint& center, argument
217 view->SetPenSize(step / 2);
219 view->SetPenSize(step * 2 / 3);
221 view
227 _SetColor(BView* view, int32 percent, int32 phase, int32 index, int32 count) argument
[all...]
/haiku/src/kits/tracker/
H A DWidgetAttributeText.h58 // view
69 // changed or because width/view changed
77 virtual int Compare(WidgetAttributeText&, BPoseView* view) = 0;
102 BView* view, int64* value = 0);
117 const BPoseView* view, float width);
120 const BPoseView* view, float width);
150 virtual const char* ValueAsText(const BPoseView* view);
166 virtual int Compare(WidgetAttributeText &, BPoseView* view);
187 virtual int Compare(WidgetAttributeText&, BPoseView* view);
219 virtual float PreferredWidth(const BPoseView* view) cons
[all...]
H A DWidgetAttributeText.cpp85 TruncFileSizeBase(BString* outString, int64 value, const View* view, argument
91 return view->StringWidth("-");
98 if (view->StringWidth(buffer.String()) > width) {
115 float resultWidth = view->StringWidth(buffer);
122 return TruncStringBase(outString, buffer.String(), buffer.Length(), view,
130 const View* view, float width, uint32 truncMode = B_TRUNCATE_MIDDLE)
137 if (view->StringWidth(inString, length) <= width)
147 view->GetFont(&font);
153 return view->StringWidth(outString->String(), outString->Length());
159 TruncTimeBase(BString* outString, int64 value, const View* view, floa argument
129 TruncStringBase(BString* outString, const char* inString, int32 length, const View* view, float width, uint32 truncMode = B_TRUNCATE_MIDDLE) argument
212 NewWidgetText(const Model* model, const BColumn* column, const BPoseView* view) argument
303 FittingText(const BPoseView* view) argument
316 CheckViewChanged(const BPoseView* view) argument
336 TruncString(BString* outString, const char* inString, int32 length, const BPoseView* view, float width, uint32 truncMode) argument
344 TruncFileSize(BString* outString, int64 value, const BPoseView* view, float width) argument
352 TruncTime(BString* outString, int64 value, const BPoseView* view, float width) argument
391 AttrAsString(const Model* model, BString* outString, const char* attrName, int32 attrType, float width, BView* view, int64* resultingValue) argument
511 FitValue(BString* outString, const BPoseView* view) argument
531 Compare(WidgetAttributeText& attr, BPoseView* view) argument
729 Compare(WidgetAttributeText& attr, BPoseView* view) argument
755 FitValue(BString* outString, const BPoseView* view) argument
821 Compare(WidgetAttributeText& attr, BPoseView* view) argument
848 FitValue(BString* outString, const BPoseView* view) argument
1068 FitValue(BString* outString, const BPoseView* view) argument
1285 FitValue(BString* outString, const BPoseView* view) argument
1426 ValueAsText(const BPoseView* view) argument
1758 FitValue(BString* outString, const BPoseView* view) argument
1850 SetupEditing(BTextView* view) argument
1860 FitValue(BString* outString, const BPoseView* view) argument
1920 SetupEditing(BTextView* view) argument
1930 FitValue(BString* ratingString, const BPoseView* view) argument
1987 OpenWithRelationAttributeText(const Model* model, const BColumn* column, const BPoseView* view) argument
2001 const OpenWithPoseView* view local
2023 FitValue(BString* outString, const BPoseView* view) argument
[all...]
H A DTitleView.cpp68 _DrawLine(BPoseView* view, BPoint from, BPoint to) argument
71 color_which highColor = view->HighUIColor(&tint);
72 view->SetHighUIColor(view->LowUIColor(), B_DARKEN_1_TINT);
73 view->StrokeLine(from, to);
74 view->SetHighUIColor(highColor, tint);
79 _UndrawLine(BPoseView* view, BPoint from, BPoint to) argument
81 view->StrokeLine(from, to, B_SOLID_LOW);
86 _DrawOutline(BView* view, BRect where) argument
91 color_which highColor = view
101 BTitleView(BPoseView* view) argument
219 BView* view; local
445 BColumnTitle(BTitleView* view, BColumn* column) argument
476 Draw(BView* view, bool pressed) argument
566 ColumnTrackState(BTitleView* view, BColumnTitle* title, BPoint where, bigtime_t pastClickTime) argument
609 ColumnResizeState(BTitleView* view, BColumnTitle* title, BPoint where, bigtime_t pastClickTime) argument
705 ColumnDragState(BTitleView* view, BColumnTitle* columnTitle, BPoint where, bigtime_t pastClickTime) argument
[all...]
/haiku/src/apps/drivesetup/
H A DDiskView.cpp315 PartitionLayout(BView* view, SpaceIDMap& spaceIDMap) argument
317 fView(view),
335 PartitionView* view = new PartitionView(name, 1.0, local
337 fViewMap.Put(device->ID(), view);
338 fView->GetLayout()->AddView(view);
339 _AddSpaces(device, view);
364 PartitionView* view = new PartitionView(name.String(), scale, offset, local
366 view->SetSelected(id == fSelectedPartition);
369 layout->AddView(_FindInsertIndex(view, layout), view, scal local
383 PartitionView* view = fViewMap.Get(fSelectedPartition); local
390 PartitionView* view = fViewMap.Get(fSelectedPartition); local
419 PartitionView* view = new PartitionView( local
425 layout->AddView(_FindInsertIndex(view, layout), view, scale); local
429 _FindInsertIndex(PartitionView* view, BGroupLayout* layout) const argument
477 PartitionView* view; local
[all...]
/haiku/src/kits/interface/
H A DLayoutUtils.cpp184 BLayoutUtils::AlignInFrame(BView* view, BRect frame) argument
186 BSize maxSize = view->MaxSize();
187 BAlignment alignment = view->LayoutAlignment();
188 if (view->HasHeightForWidth()) {
189 // The view has height for width, so we do the horizontal alignment
201 view->GetHeightForWidth(frame.Width(), &minHeight, &maxHeight,
207 view->MoveTo(frame.LeftTop());
208 view->ResizeTo(frame.Size());
262 BLayoutUtils::GetLayoutTreeDump(BView* view) argument
265 _GetLayoutTreeDump(view,
280 _GetLayoutTreeDump(BView* view, int level, BString& _output) argument
[all...]
H A DGridLayoutBuilder.cpp32 BGridLayoutBuilder::BGridLayoutBuilder(BGridView* view) argument
33 : fLayout(view->GridLayout())
69 BGridLayoutBuilder::Add(BView* view, int32 column, int32 row, argument
72 fLayout->AddView(view, column, row, columnCount, rowCount);
/haiku/src/apps/icon-o-matic/transformable/
H A DTransformBoxStates.cpp47 DragState::_SetViewCursor(BView* view, const uchar* cursorData) const argument
50 view->SetViewCursor(&cursor);
168 DragCornerState::UpdateViewCursor(BView* view, BPoint current) const argument
178 _SetViewCursor(view, flipY
181 _SetViewCursor(view, flipY
188 _SetViewCursor(view, flipY
191 _SetViewCursor(view, flipY
201 _SetViewCursor(view,
204 _SetViewCursor(view,
211 _SetViewCursor(view,
372 UpdateViewCursor(BView* view, BPoint current) const argument
457 UpdateViewCursor(BView* view, BPoint current) const argument
509 UpdateViewCursor(BView* view, BPoint current) const argument
567 UpdateViewCursor(BView* view, BPoint current) const argument
[all...]
H A DCanvasTransformBox.h18 CanvasTransformBox(CanvasView* view);
/haiku/src/add-ons/media/media-add-ons/videowindow/
H A DVideoWindow.h20 VideoWindow(BRect size, VideoView* view);
/haiku/src/apps/debuganalyzer/gui/chart/
H A DLegendChartAxis.h28 virtual BSize PreferredSize(BView* view, BSize maxSize);
29 virtual void Render(BView* view, BRect updateRect);
36 bool _ValidateLayout(BView* view);
37 int32 _EstimateMaxLegendCount(BView* view, BSize size,
/haiku/src/servers/mail/
H A DErrorLogWindow.h17 BView *view; member in class:ErrorLogWindow
/haiku/src/apps/deskcalc/
H A DInputTextView.cpp44 if (BView* view = Parent()) {
45 view->MouseDown(ConvertToParent(where));
93 if (BView* view = Parent())
94 view->Invalidate();
/haiku/src/apps/icon-o-matic/generic/gui/
H A DInputTextView.cpp42 if (BView* view = Parent()) {
43 view->MouseDown(ConvertToParent(where));
91 if (BView* view = Parent())
92 view->Invalidate();
/haiku/src/apps/cortex/DiagramView/
H A DDiagramWire.cpp156 if (view())
158 view()->PushState();
162 if (view()->GetClippingAbove(this, &clipping))
164 view()->ConstrainClippingRegion(&region);
167 view()->PopState();
191 DiagramView* v = view();
207 view()->trackWire(point);
/haiku/src/servers/app/
H A DView.cpp137 View* view = fFirstChild; local
138 while (view) {
139 View* toast = view;
140 view = view->fNextSibling;
178 // insert view into local token space
193 // remove view from local token space
236 View::AddChild(View* view) argument
238 if (view->fParent) {
243 view
277 RemoveChild(View* view) argument
426 HasView(View* view) argument
454 View* view = child->ViewAt(where); local
571 const View* view = this; local
587 const View* view = this; local
[all...]
/haiku/src/tests/servers/app/drawing_debugger/
H A DDrawingDebugger.cpp130 DrawingDebuggerView *view = (DrawingDebuggerView *)data; local
142 while (!view->fStopListener) {
157 view->fBitmap->Lock();
158 view->fOffscreenView->SetHighColor(random_color());
159 view->fOffscreenView->FillRect(*rect, B_SOLID_HIGH);
160 view->fOffscreenView->Sync();
161 view->fBitmap->Unlock();
163 view->LockLooper();
164 view->Invalidate(*rect);
165 view
[all...]
/haiku/src/add-ons/translators/wonderbrush/
H A DWonderBrushView.cpp102 // Hack for DataTranslations which doesn't resize visible area to requested by view
107 BView *view = Parent(); local
108 if (view) {
109 BRect frame = view->Frame();
118 // DataTranslations has main view called "Background"
120 // also make sure view will be redrawed after resize
121 view = window->FindView("Background");
122 if (view) {
123 view->SetResizingMode(B_FOLLOW_ALL);
124 view
[all...]
/haiku/src/add-ons/screen_savers/ifs/
H A DIFSSaver.cpp77 IFSSaver::StartConfig(BView* view) argument
79 BRect bounds = view->Bounds();
94 view->AddChild(fAdditiveCB);
109 view->AddChild(fSpeedS);
111 // the info text view
116 textView->SetViewColor(view->ViewColor());
132 view->AddChild(textView);
135 if (BWindow* window = view->Window())
144 IFSSaver::StartSaver(BView* view, bool preview) argument
156 if (view
199 Draw(BView* view, int32 frame) argument
[all...]
/haiku/src/apps/cortex/MediaRoutingView/
H A DMediaWire.cpp122 tips->hideTip(view()->ConvertToScreen(Frame()));
173 view()->SetPenSize(3.0);
174 view()->BeginLineArray(3);
175 view()->AddLine(m_startPoint, m_startOffset, border);
176 view()->AddLine(m_startOffset, m_endOffset, border);
177 view()->AddLine(m_endOffset, m_endPoint, border);
178 view()->EndLineArray();
179 view()->SetPenSize(1.0);
180 view()->BeginLineArray(3);
181 view()
[all...]
/haiku/headers/libs/alm/
H A DALMLayoutBuilder.h24 BALMLayoutBuilder(BView* view, float hSpacing,
27 BALMLayoutBuilder(BView* view,
36 BALMLayoutBuilder& Add(BView* view, XTab* left, YTab* top,
38 BALMLayoutBuilder& Add(BView* view, Row* row, Column* column);
53 BALMLayoutBuilder& AddToLeft(BView* view,
56 BALMLayoutBuilder& AddToRight(BView* view,
59 BALMLayoutBuilder& AddAbove(BView* view,
62 BALMLayoutBuilder& AddBelow(BView* view, YTab* bottom = NULL,
84 BALMLayoutBuilder& StartingAt(BView* view);
/haiku/src/apps/cortex/TipManager/
H A DTipManager.cpp163 BView* view,
173 rect, text, view, offsetMode, offset, flags);
179 BView* view,
185 BRect(), text, view, offsetMode, offset, flags);
189 // view. Returns the number of tips removed.
193 BView* view) {
195 ASSERT(view);
199 return m_view->removeTip(rect, view);
205 BView* view) {
207 return removeTip(BRect(), view);
160 setTip( const BRect& rect, const char* text, BView* view, offset_mode_t offsetMode , BPoint offset , uint32 flags ) argument
177 setTip( const char* text, BView* view, offset_mode_t offsetMode , BPoint offset , uint32 flags ) argument
191 removeTip( const BRect& rect, BView* view) argument
204 removeAll( BView* view) argument
[all...]
/haiku/src/preferences/appearance/
H A DColorPreview.cpp245 BView* view = new BView(rect, "", B_FOLLOW_NONE, B_WILL_DRAW); local
246 bitmap->AddChild(view);
248 view->SetHighColor(B_TRANSPARENT_COLOR);
249 view->FillRect(view->Bounds());
254 view->SetHighColor(0, 0, 0, 100);
255 view->FillRect(rect);
258 view->SetHighColor(std::min(255, (int)(1.2 * fColor.red + 40)),
261 view->StrokeRect(rect);
266 view
[all...]
/haiku/src/apps/terminal/
H A DColorPreview.cpp245 BView* view = new BView(rect, "", B_FOLLOW_NONE, B_WILL_DRAW); local
246 bitmap->AddChild(view);
248 view->SetHighColor(B_TRANSPARENT_COLOR);
249 view->FillRect(view->Bounds());
254 view->SetHighColor(0, 0, 0, 100);
255 view->FillRect(rect);
258 view->SetHighColor(std::min(255, (int)(1.2 * fColor.red + 40)),
261 view->StrokeRect(rect);
266 view
[all...]
/haiku/src/libs/alm/
H A DALMLayoutBuilder.cpp18 BALMLayoutBuilder::BALMLayoutBuilder(BView* view, float hSpacing, argument
22 view->SetLayout(fLayout);
26 BALMLayoutBuilder::BALMLayoutBuilder(BView* view, BALMLayout* layout) argument
29 view->SetLayout(layout);
61 BALMLayoutBuilder::Add(BView* view, XTab* left, YTab* top, argument
64 Area* a = (fLayout->AddView(view, left, top, right, bottom));
71 BALMLayoutBuilder::Add(BView* view, Row* row, Column* column) argument
73 _SetCurrentArea(fLayout->AddView(view, row, column));
130 BALMLayoutBuilder::StartingAt(BView* view) argument
133 fAreaStack.AddItem(fLayout->AreaFor(view));
148 AddToLeft(BView* view, XTab* _left, YTab* top, YTab* bottom) argument
165 AddToRight(BView* view, XTab* _right, YTab* top, YTab* bottom) argument
183 AddAbove(BView* view, YTab* _top, XTab* left, XTab* right) argument
201 AddBelow(BView* view, YTab* _bottom, XTab* left, XTab* right) argument
[all...]

Completed in 83 milliseconds

1234567891011>>