/haiku/src/add-ons/input_server/filters/switch_workspace/ |
H A D | SwitchWorkspaceInputFilter.cpp | 80 int32 columns; local 85 link.Read<int32>(&columns); 90 int32 nextColumn = current % columns + deltaX; 91 if (nextColumn >= columns) 92 nextColumn = columns - 1; 96 int32 nextRow = current / columns + deltaY; 102 int32 next = nextColumn + nextRow * columns;
|
/haiku/headers/private/interface/ |
H A D | InterfacePrivate.h | 27 void set_workspaces_layout(uint32 columns, uint32 rows);
|
/haiku/src/system/kernel/debug/ |
H A D | blue_screen.cpp | 48 int32 columns; member in struct:screen_info 101 sModule->blit(0, 1, sScreen.columns, sScreen.rows - 1, 0, 0); 104 sModule->fill_glyph(0, 0, sScreen.columns, 1, ' ', sScreen.attr); 139 if (sScreen.x + length > sScreen.columns) { 147 sModule->put_glyph(sScreen.columns - length + i, sScreen.y, 163 sModule->fill_glyph(sScreen.columns - length, sScreen.y, length, 172 sModule->fill_glyph(0, 0, sScreen.columns, 2, ' ', sScreen.attr); 179 sModule->fill_glyph(0, (sScreen.y + 2) % sScreen.rows, sScreen.columns, 197 sModule->fill_glyph(0, sScreen.y, sScreen.columns, 1, ' ', 205 sModule->fill_glyph(sScreen.x, sScreen.y, sScreen.columns [all...] |
H A D | frame_buffer_console.cpp | 58 int32 columns; member in struct:console_info 243 *_width = sConsole.columns; 267 if (x >= sConsole.columns || y >= sConsole.rows 279 if (x >= sConsole.columns || y >= sConsole.rows 284 if (left > sConsole.columns) 285 left = sConsole.columns; 436 sConsole.columns = sConsole.width / sConsole.font->glyphWidth; 442 TRACE(("framebuffer mapped at %p, %ld columns, %ld rows\n", 443 (void*)sConsole.frame_buffer, sConsole.columns, sConsole.rows));
|
/haiku/src/add-ons/kernel/drivers/common/ |
H A D | console.cpp | 55 int32 columns; member in struct:console_desc 94 if (newX >= console->columns) 95 newX = console->columns - 1; 130 console->module->blit(0, console->scroll_top + 1, console->columns, 135 console->module->fill_glyph(0, console->y, console->columns, 1, ' ', 152 console->module->blit(0, console->y, console->columns, 157 console->module->fill_glyph(0, console->y, console->columns, 1, ' ', 202 console->x = console->columns - 1; 207 //console->x = console->columns - 1; 219 console->module->fill_glyph(0, console->y, console->columns, [all...] |
/haiku/src/servers/app/ |
H A D | WorkspacesView.cpp | 65 WorkspacesView::_GetGrid(int32& columns, int32& rows) argument 69 columns = settings.WorkspacesColumns(); 89 int32 columns, rows; local 90 _GetGrid(columns, rows); 95 int32 width = frame.IntegerWidth() / columns; 98 int32 column = i % columns; 99 int32 row = i / columns; 107 if (column == columns - 1) 125 int32 columns, rows; local 126 _GetGrid(columns, row 375 int32 columns, rows; local [all...] |
H A D | DesktopSettingsPrivate.h | 68 void SetWorkspacesLayout(int32 columns, int32 rows); 104 void _ValidateWorkspacesLayout(int32& columns,
|
H A D | WorkspacesView.h | 37 void _GetGrid(int32& columns, int32& rows);
|
H A D | DesktopSettings.cpp | 128 int32 columns; local 130 if (settings.FindInt32("columns", &columns) == B_OK 132 _ValidateWorkspacesLayout(columns, rows); 133 fWorkspacesColumns = columns; 355 settings.AddInt32("columns", fWorkspacesColumns); 615 DesktopSettingsPrivate::SetWorkspacesLayout(int32 columns, int32 rows) argument 617 _ValidateWorkspacesLayout(columns, rows); 618 fWorkspacesColumns = columns; 816 DesktopSettingsPrivate::_ValidateWorkspacesLayout(int32& columns, argument [all...] |
/haiku/src/apps/terminal/ |
H A D | Shell.h | 41 status_t UpdateWindowSize(int row, int columns);
|
H A D | TermView.h | 60 TermView(int rows, int columns, 86 BRect SetTermSize(int rows, int columns, 91 int *rows, int *columns); 305 // Terminal rows and columns.
|
H A D | AppearPrefView.cpp | 222 int columns = msg->FindInt32("columns"); local 223 _SetWindowSize(rows, columns); 229 if (handler->getInt32(PREF_COLS) != columns) { 230 PrefHandler::Default()->setInt32(PREF_COLS, columns); 335 if (msg->FindInt32("rows") == rows && msg->FindInt32("columns") == cols) {
|
H A D | TermView.cpp | 187 TermView::TermView(int rows, int columns, argument 193 fColumns(columns), 242 if (archive->FindInt32("columns", (int32*)&fColumns) < B_OK) 464 status = data->AddInt32("columns", (int32)fColumns); 580 //! Set number of rows and columns in terminal 582 TermView::SetTermSize(int rows, int columns, bool notifyShell) argument 585 if (rows == fRows && columns == fColumns) 588 //debug_printf("TermView::SetTermSize(%d, %d)\n", rows, columns); 591 if (columns > 0) 592 fColumns = columns; 638 int columns; local 649 int columns = int((rect.IntegerWidth() + 1) / fFontWidth); local 1568 int32 columns = (int32)((width + 1) / fFontWidth); local [all...] |
H A D | Shell.cpp | 124 unsigned short col; /* Terminal columns */ 214 Shell::UpdateWindowSize(int rows, int columns) argument 218 winSize.ws_col = columns;
|
H A D | TermWindow.cpp | 876 int32 columns, rows; local 877 if (message->FindInt32("columns", &columns) != B_OK 884 view->SetTermSize(rows, columns, true); 1794 int32 columns = windowSizes[i][0]; local 1796 snprintf(label, sizeof(label), "%" B_PRId32 " �� %" B_PRId32, columns, rows); 1798 message->AddInt32("columns", columns);
|
/haiku/src/bin/ |
H A D | top.cpp | 57 static int columns; /* Columns on screen */ variable 217 if (columns <= 80) 219 else if (columns - 64 < sizeof(t.name)) 220 t.name[columns - 64] = 0; 269 columns = ws.ws_col;
|
/haiku/src/preferences/screen/ |
H A D | ScreenWindow.cpp | 260 fColumnsControl = new BSpinner("columns", B_TRANSLATE("Columns:"), 270 uint32 columns; local 272 BPrivate::get_workspaces_layout(&columns, &rows); 273 fColumnsControl->SetValue(columns); 281 // columns 961 uint32 columns; local 963 BPrivate::get_workspaces_layout(&columns, &rows); 980 if (columns == 1) 982 else if (columns == 2) 984 else if (columns < 1047 uint32 columns; local 1314 uint32 columns; local [all...] |
/haiku/src/apps/workspaces/ |
H A D | Workspaces.cpp | 748 uint32 columns, rows; local 749 BPrivate::get_workspaces_layout(&columns, &rows); 755 float width = floor(workspaceWidth * columns); 823 uint32 columns, rows; local 824 BPrivate::get_workspaces_layout(&columns, &rows); 831 = (columns * screenWidth) / (rows * screenHeight); 850 uint32 columns, rows; local 851 BPrivate::get_workspaces_layout(&columns, &rows); 853 float workspaceWidth = Frame().Width() / columns; 856 width = floor(workspaceWidth * columns); 1115 uint32 columns, rows; local [all...] |
/haiku/src/libs/linprog/ |
H A D | ActiveSetSolver.h | 14 EquationSystem(int32 rows, int32 columns);
|
H A D | ActiveSetSolver.cpp | 31 EquationSystem::EquationSystem(int32 rows, int32 columns) argument 34 fColumns(columns)
|
/haiku/src/kits/interface/ |
H A D | InterfaceDefs.cpp | 316 int32 columns = 1; local 324 link.Read<int32>(&columns); 329 *_columns = columns; 336 set_workspaces_layout(uint32 columns, uint32 rows) argument 338 if (columns < 1 || rows < 1) 343 link.Attach<int32>(columns); 977 uint32 columns; local 979 BPrivate::get_workspaces_layout(&columns, &rows); 981 return columns * rows; 996 int32 columns local [all...] |
H A D | GridLayout.cpp | 181 int32 columns; local 182 from->GetInfo(kColumnWeightField, NULL, &columns); 188 if (!_ResizeGrid(columns, rows)) { 621 // check for empty columns
|
/haiku/src/kits/shared/ |
H A D | CalendarView.cpp | 848 int32 columns = 8; local 850 columns = 7; 853 *_width = width * columns + 8.0; 1055 int32 columns = 8; local 1058 columns = 7; 1062 frame.right = frame.Width() / columns - 1.0; 1066 for (int32 i = 0; i < columns; ++i) { 1283 int32 columns = 8; local 1289 columns = 7; 1292 frame.right = frame.Width() / columns [all...] |
/haiku/src/tests/apps/miniterminal/ |
H A D | ViewBuffer.cpp | 96 int32 columns = min_c(oldColumns, fColumns); local 99 for (int32 x = 0; x < columns; x++) {
|
/haiku/src/bin/network/ftpd/ |
H A D | ftpcmd.y | 1571 int columns, lines; 1575 columns = 76 / width; 1576 if (columns == 0) 1577 columns = 1; 1578 lines = (NCMDS + columns - 1) / columns; 1581 for (j = 0; j < columns; j++) {
|