Searched refs:columns (Results 1 - 25 of 31) sorted by last modified time

12

/haiku/src/preferences/screen/
H A DScreenWindow.cpp260 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/terminal/
H A DTermWindow.cpp876 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);
H A DTermView.cpp187 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 DTermView.h60 TermView(int rows, int columns,
86 BRect SetTermSize(int rows, int columns,
91 int *rows, int *columns);
305 // Terminal rows and columns.
H A DAppearPrefView.cpp222 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 DShell.cpp124 unsigned short col; /* Terminal columns */
214 Shell::UpdateWindowSize(int rows, int columns) argument
218 winSize.ws_col = columns;
/haiku/src/servers/app/
H A DWorkspacesView.h37 void _GetGrid(int32& columns, int32& rows);
H A DWorkspacesView.cpp65 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 DDesktop.h167 status_t SetWorkspacesLayout(int32 columns, int32 rows);
H A DDesktopSettings.cpp128 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...]
H A DDesktopSettingsPrivate.h68 void SetWorkspacesLayout(int32 columns, int32 rows);
104 void _ValidateWorkspacesLayout(int32& columns,
/haiku/src/system/kernel/debug/
H A Ddebug.cpp426 int columns = 80 / (longestName + 2); local
432 if (column > 0 && column % columns == 0)
H A Dframe_buffer_console.cpp58 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));
H A Dblue_screen.cpp48 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...]
/haiku/src/kits/tracker/
H A DIconCache.cpp1280 int32 columns = (int32)bitmap->Bounds().Width() + 1; local
1283 for (int32 columnIndex = 0; columnIndex < columns;
/haiku/src/kits/interface/
H A DInterfaceDefs.cpp316 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...]
/haiku/src/bin/network/ftpd/
H A Dftpcmd.y1571 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++) {
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/contrib/ath_hal/ar9300/
H A Dar9300.h316 #define INIT_INI_ARRAY(iniarray, array, rows, columns) do { \
319 (iniarray)->ia_columns = (columns); \
/haiku/src/apps/bootmanager/
H A Dbootman.S107 %assign TEXT_COLUMNS 80 ; Number of columns
/haiku/src/bin/
H A Dtop.cpp57 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/tests/apps/miniterminal/
H A DViewBuffer.cpp96 int32 columns = min_c(oldColumns, fColumns); local
99 for (int32 x = 0; x < columns; x++) {
/haiku/src/add-ons/kernel/drivers/common/
H A Dconsole.cpp55 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/headers/private/interface/
H A DInterfacePrivate.h27 void set_workspaces_layout(uint32 columns, uint32 rows);
/haiku/src/apps/workspaces/
H A DWorkspaces.cpp748 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/apps/debugger/user_interface/gui/team_window/
H A DSourceView.cpp1174 int32 columns[kMaxHighlightsPerLine]; local
1181 syntaxCount = info->GetLineHighlightRanges(i, columns, types,
1223 int32 length = columns[j] - lineOffset;

Completed in 189 milliseconds

12