/haiku/src/libs/alm/ |
H A D | RowColumnManager.cpp | 49 Column* column = _FindColumnFor(area); in AddArea() local 50 if (column == NULL) { in AddArea() 51 column = new Column(fLinearSpec, area->Left(), area->Right()); in AddArea() 52 fColumns.AddItem(column); in AddArea() 54 area->fColumn = column; in AddArea() 55 column->fAreas.AddItem(area); in AddArea() 58 _UpdateConstraints(column); in AddArea() 76 Column* column = area->fColumn; in RemoveArea() local 77 if (column) { in RemoveArea() 78 column->fAreas.RemoveItem(area); in RemoveArea() [all …]
|
/haiku/src/add-ons/media/media-add-ons/radeon/ |
H A D | CC.cpp | 24 for (int column = 0; column < C_RADEON_CC_COLUMNS; column++) { in CCaption() local 25 fText[row][column] = fDisplayText[row][column] = 0x0000; in CCaption() 393 for (int column = fColumn; column < C_RADEON_CC_COLUMNS; column++) in Decode() local 394 fText[fRow][column] = 0x0000; in Decode() 401 for (int column = 0; column < C_RADEON_CC_COLUMNS; column++) in Decode() local 402 fText[row][column] = fText[row + 2][column]; in Decode() 405 for (int column = 0; column < C_RADEON_CC_COLUMNS; column++) in Decode() local 406 fText[row][column] = 0x0000; in Decode() 414 for (int column = 0; column < C_RADEON_CC_COLUMNS; column++) in Decode() local 415 fText[row][column] = fText[row + 2][column]; in Decode() [all …]
|
/haiku/src/kits/shared/ |
H A D | CalendarView.cpp | 396 int32 column = fFocusedDay.column; in KeyDown() local 400 column -= 1; in KeyDown() 401 if (column < 0) { in KeyDown() 402 column = kColumns - 1; in KeyDown() 411 column += 1; in KeyDown() 412 if (column == kColumns) { in KeyDown() 413 column = 0; in KeyDown() 472 fNewFocusedDay.SetTo(row, column); in KeyDown() 761 for (int32 column = 0; column < 7; ++column) { in _SetToDay() local 763 fNewFocusedDay.SetTo(row, column); in _SetToDay() [all …]
|
H A D | TextTable.cpp | 180 Column* column = new Column(title, align, canTruncate); in AddColumn() local 181 if (!fColumns.AddItem(column)) { in AddColumn() 182 delete column; in AddColumn() 258 Column* column = fColumns.ItemAt(i); in Print() local 259 if (missingWidth > 0 && column->CanBeTruncated()) { in Print() 261 column->NeededWidth() - column->MinWidth()); in Print() 262 column->SetWidth(column->NeededWidth() - truncateBy); in Print() 266 column->SetWidth(column->NeededWidth()); in Print() 275 Column* column = fColumns.ItemAt(i); in Print() local 276 line << column->Format(column->Title()); in Print()
|
/haiku/src/kits/interface/ |
H A D | GridLayout.cpp | 297 BGridLayout::ColumnWeight(int32 column) const in ColumnWeight() 299 return fColumnInfos->Weight(column); in ColumnWeight() 304 BGridLayout::SetColumnWeight(int32 column, float weight) in SetColumnWeight() argument 306 fColumnInfos->SetWeight(column, weight); in SetColumnWeight() 311 BGridLayout::MinColumnWidth(int32 column) const in MinColumnWidth() 313 return fColumnInfos->MinSize(column); in MinColumnWidth() 318 BGridLayout::SetMinColumnWidth(int32 column, float width) in SetMinColumnWidth() argument 320 fColumnInfos->SetMinSize(column, width); in SetMinColumnWidth() 325 BGridLayout::MaxColumnWidth(int32 column) const in MaxColumnWidth() 327 return fColumnInfos->MaxSize(column); in MaxColumnWidth() [all …]
|
H A D | ColumnListView.cpp | 186 void ColumnAdded(BColumn* column); 187 void ColumnResized(BColumn* column, float oldWidth); 188 void SetColumnVisible(BColumn* column, bool visible); 199 void MoveColumn(BColumn* column, int32 index); 208 void GetTitleRect(BColumn* column, BRect* _rect); 214 void ComputeDragBoundries(BColumn* column, 217 BColumn* column, bool depressed); 272 void RedrawColumn(BColumn* column, float leftEdge, 275 float GetColumnPreferredWidth(BColumn* column); 677 BColumn* column = NULL; in ValidateField() local [all …]
|
H A D | GridLayoutBuilder.cpp | 69 BGridLayoutBuilder::Add(BView* view, int32 column, int32 row, in Add() argument 72 fLayout->AddView(view, column, row, columnCount, rowCount); in Add() 78 BGridLayoutBuilder::Add(BLayoutItem* item, int32 column, int32 row, in Add() argument 81 fLayout->AddItem(item, column, row, columnCount, rowCount); in Add() 87 BGridLayoutBuilder::SetColumnWeight(int32 column, float weight) in SetColumnWeight() argument 89 fLayout->SetColumnWeight(column, weight); in SetColumnWeight()
|
/haiku/src/kits/tracker/ |
H A D | Pose.cpp | 135 BColumn* column = poseView->ColumnAt(index); in CreateWidgets() local 136 if (column == NULL) in CreateWidgets() 139 fWidgetList.AddItem(new BTextWidget(fModel, column, poseView)); in CreateWidgets() 145 BPose::AddWidget(BPoseView* poseView, BColumn* column) in AddWidget() argument 151 BTextWidget* widget = new BTextWidget(fModel, column, poseView); in AddWidget() 159 BPose::AddWidget(BPoseView* poseView, BColumn* column, in AddWidget() argument 166 BTextWidget* widget = new BTextWidget(fModel, column, poseView); in AddWidget() 174 BPose::RemoveWidget(BPoseView*, BColumn* column) in RemoveWidget() argument 177 BTextWidget* widget = WidgetFor(column->AttrHash(), &index); in RemoveWidget() 200 BColumn* column, BPoint poseLoc, BPoint where) in OneMouseUp() argument [all …]
|
H A D | TextWidget.cpp | 70 BTextWidget::BTextWidget(Model* model, BColumn* column, BPoseView* view) in BTextWidget() argument 72 fText(WidgetAttributeText::NewWidgetText(model, column, view)), in BTextWidget() 73 fAttrHash(column->AttrHash()), in BTextWidget() 74 fAlignment(column->Alignment()), in BTextWidget() 75 fEditable(column->Editable()), in BTextWidget() 128 BTextWidget::ColumnRect(BPoint poseLoc, const BColumn* column, in ColumnRect() argument 134 return CalcRect(poseLoc, column, view); in ColumnRect() 137 result.left = column->Offset() + poseLoc.x; in ColumnRect() 138 result.right = result.left + column->Width(); in ColumnRect() 147 BTextWidget::CalcRectCommon(BPoint poseLoc, const BColumn* column, in CalcRectCommon() argument [all …]
|
H A D | WidgetAttributeText.cpp | 211 const BColumn* column, const BPoseView* view) in NewWidgetText() argument 216 const char* attrName = column->AttrName(); in NewWidgetText() 219 return new PathAttributeText(model, column); in NewWidgetText() 222 return new KindAttributeText(model, column); in NewWidgetText() 225 return new NameAttributeText(model, column); in NewWidgetText() 228 return new RealNameAttributeText(model, column); in NewWidgetText() 231 return new SizeAttributeText(model, column); in NewWidgetText() 234 return new ModificationTimeAttributeText(model, column); in NewWidgetText() 237 return new CreationTimeAttributeText(model, column); in NewWidgetText() 241 return new OwnerAttributeText(model, column); in NewWidgetText() [all …]
|
H A D | Tests.cpp | 199 for (int32 column = 0; column < kColumnCount; column++) { in DrawSomeNew() local 210 BPoint(column * (kIconSize + 2), row * (kIconSize + 2)), in DrawSomeNew() 255 for (int32 column = 0; column < kColumnCount; column++) { in DrawSomeOld() 268 iconCache->Draw(view, BPoint(column * (kIconSize + 2), in DrawSomeOld()
|
/haiku/docs/user/interface/ |
H A D | GridLayout.dox | 30 than a single row or column. The indexing of columns and rows is zero based, 141 \fn float BGridLayout::ColumnWeight(int32 column) const 142 \brief Returns the weight for the specified \a column. 144 \returns The \a column weight as a float. 151 \fn void BGridLayout::SetColumnWeight(int32 column, float weight) 152 \brief Set the weight for \a column to \a weight. 154 \param column The column to set. 162 \fn float BGridLayout::MinColumnWidth(int32 column) const 163 \brief Returns the minimum width for \a column. 165 \param column The column to get the minimum width of. [all …]
|
H A D | LayoutBuilder.Grid.dox | 21 Each item is added to the grid layout at (column, row) and may span multiple 190 int32 column, int32 row, int32 columnCount, int32 rowCount) 194 \param column The column number (zero-index) to use. 207 BLayoutItem* item, int32 column, int32 row, 212 \param column The column number (zero-index) to use. 225 BMenuField* item, int32 column, int32 row, alignment labelAlignment, 230 \param column The column number (zero-index) to use. 253 BTextControl* item, int32 column, int32 row, alignment labelAlignment, 258 \param column The column number (zero-index) to use. 297 orientation orientation, float spacing, int32 column, int32 row, [all …]
|
/haiku/headers/os/interface/ |
H A D | GridLayout.h | 30 float ColumnWeight(int32 column) const; 31 void SetColumnWeight(int32 column, float weight); 33 float MinColumnWidth(int32 column) const; 34 void SetMinColumnWidth(int32 column, float width); 36 float MaxColumnWidth(int32 column) const; 37 void SetMaxColumnWidth(int32 column, float width); 48 BLayoutItem* ItemAt(int32 column, int32 row) const; 52 virtual BLayoutItem* AddView(BView* child, int32 column, int32 row, 57 virtual bool AddItem(BLayoutItem* item, int32 column, 93 bool _IsGridCellEmpty(int32 column, int32 row); [all …]
|
H A D | GridLayoutBuilder.h | 23 BGridLayoutBuilder& Add(BView* view, int32 column, int32 row, 25 BGridLayoutBuilder& Add(BLayoutItem* item, int32 column, int32 row, 28 BGridLayoutBuilder& SetColumnWeight(int32 column, float weight);
|
H A D | LayoutBuilder.h | 159 inline ThisBuilder& Add(BView* view, int32 column, int32 row, 161 inline ThisBuilder& Add(BLayoutItem* item, int32 column, int32 row, 164 int32 column, int32 row, 171 int32 column, int32 row, 179 float spacing, int32 column, int32 row, 181 inline GroupBuilder AddGroup(BGroupView* groupView, int32 column, 185 int32 column, int32 row, 189 float verticalSpacing, int32 column, 193 int32 column, int32 row, 196 int32 column, int32 row, [all …]
|
/haiku/src/tests/kits/interface/layout/widget_layout_test/ |
H A D | GroupView.cpp | 152 for (int32 column = 0; column < fColumnCount; column++) { in Layout() local 153 LayoutInfo& columnInfo = fColumnInfos[column]; in Layout() 156 View* child = _ChildAt(column, row); in Layout() 197 for (int32 column = 0; column < fColumnCount; column++) { in _ValidateMinMax() local 199 View* child = _ChildAt(column, row); in _ValidateMinMax() 208 fColumnInfos[column].AddConstraints(min.width, max.width, in _ValidateMinMax() 223 for (int32 column = 0; column < fColumnCount; column++) { in _ValidateMinMax() local 224 fColumnInfos[column].Normalize(); in _ValidateMinMax() 226 fColumnInfos[column].min); in _ValidateMinMax() 228 fColumnInfos[column].max); in _ValidateMinMax() [all …]
|
/haiku/headers/private/shared/ |
H A D | CalendarView.h | 108 : row(0), column(0) in Selection() 116 column = _column; in SetTo() 120 int32 column; member 125 column = s.column; 132 && column == s.column; 138 || column != s.column; 162 int32 row, int32 column, int32 counter,
|
/haiku/src/apps/debuganalyzer/gui/table/ |
H A D | AbstractTable.cpp | 123 AbstractTable::AddColumn(TableColumn* column) in AddColumn() argument 125 if (column == NULL) in AddColumn() 128 AbstractColumn* privateColumn = CreateColumn(column); in AddColumn() 136 BColumnListView::AddColumn(privateColumn, column->ModelIndex()); in AddColumn() 193 AbstractTable::SetSortColumn(TableColumn* column, bool add, bool ascending) in SetSortColumn() argument 195 if (AbstractColumn* privateColumn = GetColumn(column)) in SetSortColumn() 208 AbstractTable::GetColumn(TableColumn* column) const in GetColumn() 211 if (privateColumn->GetTableColumn() == column) in GetColumn()
|
H A D | AbstractTable.h | 34 virtual void AddColumn(TableColumn* column); 44 void SetSortColumn(TableColumn* column, bool add, 55 virtual AbstractColumn* CreateColumn(TableColumn* column) = 0; 57 virtual void ColumnMouseDown(AbstractColumn* column, 60 virtual void ColumnMouseUp(AbstractColumn* column, 64 AbstractColumn* GetColumn(TableColumn* column) const;
|
H A D | Table.cpp | 421 for (int32 i = 0; AbstractColumn* column = fColumns.ItemAt(i); i++) in SetTableModel() 422 column->SetModel(NULL); in SetTableModel() 432 for (int32 i = 0; AbstractColumn* column = fColumns.ItemAt(i); i++) in SetTableModel() 433 column->SetModel(fModel); in SetTableModel() 506 AbstractColumn* column = fColumns.ItemAt(colIndex); in GetCellRectAt() local 507 if (column == NULL) in GetCellRectAt() 510 _output = GetFieldRect(row, column); in GetCellRectAt() 529 BColumn* column = ColumnAt(point); in GetToolTipAt() local 530 int32 columnIndex = column != NULL ? column->LogicalFieldNum() : -1; in GetToolTipAt() 554 Table::CreateColumn(TableColumn* column) in CreateColumn() argument [all …]
|
/haiku/src/tools/misc/ |
H A D | bin2asm.c | 14 int column = 0; in main() local 23 if((column % NUM_COLUMNS) == 0) { in main() 36 column++; in main()
|
/haiku/src/kits/debugger/source_language/c_family/ |
H A D | CLanguageFamilySyntaxHighlightInfo.cpp | 111 int32 column; member 114 SyntaxPair(int32 column, syntax_highlight_type type) in SyntaxPair() 116 column(column), in SyntaxPair() 145 bool AddPair(int32 column, syntax_highlight_type type) in AddPair() argument 147 SyntaxPair* pair = new(std::nothrow) SyntaxPair(column, type); in AddPair() 219 _columns[count] = pair->column; in GetLineHighlightRanges()
|
/haiku/src/libs/linprog/ |
H A D | ActiveSetSolver.cpp | 85 EquationSystem::InRange(int32 row, int32 column) in InRange() argument 89 if (column < 0 || column >= fColumns) in InRange() 96 EquationSystem::A(int32 row, int32 column) in A() argument 98 return fMatrix[fRowIndices[row]][fColumnIndices[column]]; in A() 276 EquationSystem::_EliminateColumn(int32 column, int32 startRow, int32 endRow) in _EliminateColumn() argument 278 double value = fMatrix[fRowIndices[column]][fColumnIndices[column]]; in _EliminateColumn() 280 for (int j = column; j < fColumns; j++) in _EliminateColumn() 281 fMatrix[fRowIndices[column]][fColumnIndices[j]] /= value; in _EliminateColumn() 282 fB[column] /= value; in _EliminateColumn() 286 if (r == column) in _EliminateColumn() [all …]
|
H A D | ActiveSetSolver.h | 22 bool InRange(int32 row, int32 column); 23 inline double& A(int32 row, int32 column); 36 void GaussJordan(int32 column); 45 inline void _EliminateColumn(int32 column, int32 startRow,
|