Searched refs:layout (Results 1 - 25 of 161) sorted by relevance

1234567

/haiku/src/tests/libs/alm/
H A DAreas.cpp24 BALMLayout* layout = new BALMLayout(6); local
25 SetLayout(layout);
28 BReference<YTab> y1 = layout->AddYTab();
29 BReference<YTab> y2 = layout->AddYTab();
30 BReference<YTab> y3 = layout->AddYTab();
32 Area* a1 = layout->AddView(button1, layout->Left(), layout->Top(),
33 layout->Right(), y1);
38 layout
[all...]
H A DTableDemo.cpp26 BALMLayout* layout = new BALMLayout(); local
27 SetLayout(layout);
29 Column* c1 = layout->AddColumn(layout->Left(), layout->Right());
30 Row* r1 = layout->AddRow(layout->Top(), NULL);
31 Row* r2 = layout->AddRow(r1->Bottom(), NULL);
32 Row* r3 = layout->AddRow(r2->Bottom(), layout
[all...]
H A DViews.cpp57 BALM::BALMLayout* layout = new BALMLayout(10, 10); local
58 BALM::BALMLayoutBuilder(this, layout)
60 .Add(button1, layout->Left(), layout->Top())
66 .AddBelow(textView1, NULL, NULL, layout->RightOf(button3))
68 .AddToRight(button5, layout->Right())
70 .AddBelow(menu1, layout->AddYTab(), layout->Left(),
71 layout->AddXTab())
73 .AddToRight(BSpaceLayoutItem::CreateGlue(), layout
[all...]
H A DPinwheel.cpp38 BALMLayout* layout = new BALMLayout(10, 10); local
42 layout->AddXTabs(xTabs, 2);
43 layout->AddYTabs(yTabs, 2);
45 BALM::BALMLayoutBuilder(this, layout)
49 .AddAbove(button1, layout->Top(), layout->Left())
50 .AddToRight(button2, layout->Right(), NULL, yTabs[1])
51 .AddBelow(button3, layout->Bottom(), xTabs[0])
52 .AddToLeft(button4, layout->Left(), yTabs[0]);
56 SetLayout(layout);
[all...]
H A DOperatorLayout.cpp37 BALMLayout* layout = new BALMLayout(spacing); local
38 SetLayout(layout);
39 layout->SetInsets(spacing);
44 / ALMGroup(button5))).BuildLayout(layout);
47 BSize min = layout->MinSize();
48 BSize max = layout->MaxSize();
/haiku/src/kits/interface/
H A DGroupLayoutBuilder.cpp25 BGroupLayoutBuilder::BGroupLayoutBuilder(BGroupLayout* layout) argument
26 : fRootLayout(layout)
66 if (BGroupLayout* layout = TopLayout())
67 return layout->Owner();
75 if (BGroupLayout* layout = TopLayout())
76 *_view = layout->Owner();
87 if (BGroupLayout* layout = TopLayout())
88 layout->AddView(view);
96 if (BGroupLayout* layout = TopLayout())
97 layout
187 _PushLayout(BGroupLayout* layout) argument
[all...]
H A DCardView.cpp41 BCardView::SetLayout(BLayout* layout) argument
43 if (dynamic_cast<BCardLayout*>(layout) == NULL)
46 BView::SetLayout(layout);
/haiku/src/libs/alm/
H A DTab.cpp21 layout(_layout)
32 if (layout == search)
39 if (layout == remove) {
50 BALMLayout* layout; member in struct:TabBase::BALMLayoutList
76 TabBase::IsInLayout(BALMLayout* layout) argument
78 return fLayouts ? fLayouts->HasLayout(layout) : false;
83 TabBase::AddedToLayout(BALMLayout* layout) argument
85 BALMLayoutList* newHead = new (nothrow) BALMLayoutList(layout, fLayouts);
94 TabBase::LayoutLeaving(BALMLayout* layout) argument
96 fLayouts = fLayouts->Remove(layout);
101 IsSuitableFor(BALMLayout* layout) argument
107 XTab(BALMLayout* layout) argument
144 YTab(BALMLayout* layout) argument
[all...]
H A DALMGroup.cpp67 ALMGroup::BuildLayout(BALMLayout* layout, XTab* left, YTab* top, XTab* right, argument
71 left = layout->Left();
73 top = layout->Top();
75 right = layout->Right();
77 bottom = layout->Bottom();
79 _Build(layout, left, top, right, bottom);
99 ALMGroup::_Build(BALMLayout* layout, BReference<XTab> left, argument
103 layout->AddItem(LayoutItem(), left, top, right, bottom);
105 layout->AddView(View(), left, top, right, bottom);
114 currentRight = layout
[all...]
H A DSharedSolver.cpp35 inline void Finalize(BALMLayout* layout, SharedSolver* solver, argument
39 solver->SetMinSize(layout, BSize(0, 0));
41 solver->SetMinSize(layout, BSize(ceilf(layout->Right()->Value()),
42 ceilf(layout->Bottom()->Value())));
54 inline void Finalize(BALMLayout* layout, SharedSolver* solver, argument
58 solver->SetMaxSize(layout,
61 solver->SetMaxSize(layout, BSize(floorf(layout->Right()->Value()),
62 floorf(layout
74 Finalize(BALMLayout* layout, SharedSolver* solver, ResultType solveResult) argument
145 RegisterLayout(BALMLayout* layout) argument
153 LayoutLeaving(const BALMLayout* layout) argument
194 BALMLayout* layout = fLayouts.ItemAt(i); local
228 BALMLayout* layout = fLayouts.ItemAt(i); local
430 SetMaxSize(BALMLayout* layout, const BSize& max) argument
437 SetMinSize(BALMLayout* layout, const BSize& min) argument
444 SetPreferredSize(BALMLayout* layout, const BSize& preferred) argument
493 BALMLayout* layout = fLayouts.ItemAt(i); local
[all...]
H A DSharedSolver.h45 void RegisterLayout(BALMLayout* layout);
46 void LayoutLeaving(const BALMLayout* layout);
53 status_t AddFriendReferences(const BALMLayout* layout,
79 void SetMaxSize(BALM::BALMLayout* layout,
81 void SetMinSize(BALM::BALMLayout* layout,
83 void SetPreferredSize(BALM::BALMLayout* layout,
/haiku/src/apps/haikudepot/textview/
H A DTextDocumentLayout.h23 layout()
27 ParagraphLayoutInfo(float y, const ParagraphLayoutRef& layout) argument
30 layout(layout)
37 layout(other.layout)
45 layout = other.layout;
52 && layout == other.layout;
62 ParagraphLayoutRef layout; member in class:ParagraphLayoutInfo
[all...]
H A DTextDocumentLayout.cpp16 LayoutTextListener(TextDocumentLayout* layout) argument
18 fLayout(layout)
135 ParagraphLayoutRef layout(new(std::nothrow) ParagraphLayout(
137 if (layout.Get() == NULL
138 || !fParagraphLayouts.Add(ParagraphLayoutInfo(0.0f, layout))) {
146 info.layout->SetParagraph(paragraph);
178 height = lastLayout.y + lastLayout.layout->Height();
193 const ParagraphLayoutInfo& layout = fParagraphLayouts.ItemAtFast(i); local
194 BPoint location(offset.x, offset.y + layout.y);
197 if (location.y + layout
[all...]
/haiku/src/apps/debuganalyzer/gui/
H A DAbstractGeneralPage.cpp38 BGridLayout* layout = fDataView->GridLayout(); local
39 int32 row = layout->CountRows();
40 layout->AddView(new LabelView(label), 0, row);
43 layout->AddView(dataView, 1, row);
/haiku/src/preferences/appearance/
H A DFontView.cpp37 add_font_selection_view(BGridLayout* layout, FontSelectionView* view, argument
40 layout->AddItem(view->CreateFontsLabelLayoutItem(), 0, row);
41 layout->AddItem(view->CreateFontsMenuBarLayoutItem(), 1, row);
43 layout->AddItem(BSpaceLayoutItem::CreateGlue(), 2, row);
45 layout->AddView(view->GetFontSizeSpinner(), 4, row);
49 layout->AddItem(BSpaceLayoutItem::CreateGlue(), 0, row);
50 layout->AddView(view->GetPreviewBox(), 1, row, 4);
55 layout->AddItem(BSpaceLayoutItem::CreateVerticalStrut(5), 0, row, 5);
72 BGridLayout* layout = new BGridLayout(5, 5); local
73 layout
[all...]
/haiku/src/apps/icon-o-matic/generic/gui/popup_control/
H A DPopupView.h15 #include <layout.h>
26 virtual BRect layout(BRect frame) = 0;
H A DPopupControl.h15 #include <layout.h>
28 virtual BRect layout(BRect frame) = 0;
/haiku/headers/libs/alm/
H A DTab.h32 bool IsInLayout(BALMLayout* layout);
33 bool AddedToLayout(BALMLayout* layout);
34 void LayoutLeaving(BALMLayout* layout);
35 bool IsSuitableFor(BALMLayout* layout);
51 XTab(BALMLayout* layout);
66 YTab(BALMLayout* layout);
/haiku/src/tests/kits/interface/look/
H A DLook.cpp42 add_controls(BGridLayout* layout, int32& row) argument
58 layout->AddView(control1, 0, row);
59 layout->AddView(control2, 1, row);
60 layout->AddView(control3, 2, row);
61 layout->AddView(control4, 3, row);
71 add_menu_fields(BGridLayout* layout, int32& row) argument
80 layout->AddItem(control1->CreateLabelLayoutItem(), 0, row);
81 layout->AddItem(control1->CreateMenuBarLayoutItem(), 1, row);
82 layout->AddItem(control2->CreateLabelLayoutItem(), 2, row);
83 layout
94 add_text_controls(BGridLayout* layout, int32& row) argument
115 add_sliders(BGridLayout* layout, int32& row) argument
157 add_status_bars(BGridLayout* layout, int32& row) argument
302 BGridLayout* layout = controls->GridLayout(); local
[all...]
/haiku/src/kits/tracker/
H A DSlowMenu.cpp46 BSlowMenu::BSlowMenu(const char* title, menu_layout layout) argument
48 BMenu(title, layout),
H A DSlowMenu.h53 BSlowMenu(const char* title, menu_layout layout = B_ITEMS_IN_COLUMN);
/haiku/src/kits/mail/
H A DProtocolConfigView.cpp130 BGridLayout* layout = new BGridLayout(0.f); local
131 SetLayout(layout);
134 fHostControl = _AddTextControl(layout, "host",
138 fUserControl = _AddTextControl(layout, "user",
143 fPasswordControl = _AddTextControl(layout, "pass",
149 fFlavorField = _AddMenuField(layout, "flavor",
154 fAuthenticationField = _AddMenuField(layout, "auth_method",
162 layout->AddView(fLeaveOnServerCheckBox, 0, layout->CountRows(), 2);
167 layout
351 _AddTextControl(BGridLayout* layout, const char* name, const char* label) argument
365 _AddMenuField(BGridLayout* layout, const char* name, const char* label) argument
[all...]
/haiku/headers/private/binary_compatibility/
H A DInterface.h41 BLayout* layout; member in struct:perform_data_set_layout
/haiku/src/preferences/filetypes/
H A DStringView.cpp88 BLayout* layout = fView->GroupLayout(); local
89 fLabelItem = layout->AddView(fLabel);
90 fTextItem = layout->AddView(fText);
/haiku/src/tests/kits/game/direct_window_info_test/
H A Ddwinfo.cpp25 layout_to_string(buffer_layout layout) argument
27 switch (layout) {
72 printf("buffer_layout: %s\n", layout_to_string(info->layout));

Completed in 249 milliseconds

1234567