Searched refs:cols (Results 1 - 25 of 26) sorted by relevance

12

/haiku/src/apps/pairs/
H A DPairsWindow.h33 void SetGameSize(uint8 rows, uint8 cols);
36 void _MakeGameView(uint8 rows, uint8 cols);
38 void _ResizeWindow(uint8 rows, uint8 cols);
H A DPairsWindow.cpp95 difficultyMessage->AddInt32("cols", 4);
102 difficultyMessage->AddInt32("cols", 6);
108 difficultyMessage->AddInt32("cols", 8);
144 PairsWindow::_MakeGameView(uint8 rows, uint8 cols) argument
170 fPairsView = new PairsView(viewBounds, "PairsView", rows, cols, iconSize);
172 _ResizeWindow(rows, cols);
187 PairsWindow::SetGameSize(uint8 rows, uint8 cols) argument
192 _MakeGameView(rows, cols);
208 int32 cols; local
210 && message->FindInt32("cols",
350 _ResizeWindow(uint8 rows, uint8 cols) argument
[all...]
H A DPairsView.h35 uint8 rows, uint8 cols, uint8 iconSize);
H A DPairsView.cpp40 PairsView::PairsView(BRect frame, const char* name, uint8 rows, uint8 cols, argument
45 fCols(cols),
47 fButtonsCount(rows * cols),
/haiku/src/apps/serialconnect/
H A DTermView.h47 void _PushLine(int cols, const VTermScreenCell* cells);
48 int _PopLine(int cols, VTermScreenCell* cells);
54 static int _PushLine(int cols, const VTermScreenCell* cells,
56 static int _PopLine(int cols, VTermScreenCell* cells,
H A DTermView.cpp23 int cols; member in struct:ScrollBufferItem
436 if (line != NULL && pos.col < line->cols) {
483 TermView::_PushLine(int cols, const VTermScreenCell* cells) argument
486 + cols * sizeof(VTermScreenCell));
487 item->cols = cols;
488 memcpy(item->cells, cells, cols * sizeof(VTermScreenCell));
528 TermView::_PopLine(int cols, VTermScreenCell* cells) argument
536 if (item->cols >= cols) {
569 _PushLine(int cols, const VTermScreenCell* cells, void* user) argument
579 _PopLine(int cols, VTermScreenCell* cells, void* user) argument
[all...]
/haiku/src/apps/serialconnect/libvterm/src/
H A Dscreen.c56 int cols; member in struct:VTermScreen
75 if(col < 0 || col >= screen->cols)
77 return screen->buffer + (screen->cols * row) + col;
89 if(buffer && row < screen->rows && col < screen->cols)
90 *new_cell = buffer[row * screen->cols + col];
167 .end_col = screen->cols,
210 int cols, downward, row; local
215 dest.end_col == screen->cols && // full width
219 for(pos.col = 0; pos.col < screen->cols; pos.col++)
222 (screen->callbacks->sb_pushline)(screen->cols, scree
630 int rows, cols; local
840 int rows, cols; local
[all...]
H A Dvterm_internal.h49 int cols; member in struct:VTermState
62 #define SCROLLREGION_RIGHT(state) ((state)->mode.leftrightmargin && (state)->scrollregion_right > -1 ? (state)->scrollregion_right : (state)->cols)
68 #define ROWWIDTH(state,row) ((state)->lineinfo[(row)].doublewidth ? ((state)->cols / 2) : (state)->cols)
132 int cols; member in struct:VTerm
H A Dvterm.c30 VTerm *vterm_new(int rows, int cols) argument
32 return vterm_new_with_allocator(rows, cols, &default_allocator, NULL);
35 VTerm *vterm_new_with_allocator(int rows, int cols, VTermAllocatorFunctions *funcs, void *allocdata) argument
44 vt->cols = cols;
88 *colsp = vt->cols;
91 void vterm_set_size(VTerm *vt, int rows, int cols) argument
94 vt->cols = cols;
97 (*vt->parser_callbacks->resize)(rows, cols, v
[all...]
H A Dstate.c64 state->cols = vt->cols;
87 if(rect.start_col == 0 && rect.end_col == state->cols && rightward == 0) {
1039 rect.start_col = state->pos.col; rect.end_col = state->cols;
1053 rect.start_col = 0; rect.end_col = state->cols;
1067 rect.start_col = 0; rect.end_col = state->cols;
1237 for(col = 0; col < state->cols; col++)
1380 UBOUND(state->scrollregion_left, state->cols);
1382 if(state->scrollregion_left == 0 && state->scrollregion_right == state->cols)
1385 UBOUND(state->scrollregion_right, state->cols);
1521 on_resize(int rows, int cols, void *user) argument
[all...]
/haiku/src/apps/serialconnect/libvterm/include/
H A Dvterm.h118 VTerm *vterm_new(int rows, int cols);
119 VTerm *vterm_new_with_allocator(int rows, int cols, VTermAllocatorFunctions *funcs, void *allocdata);
123 void vterm_set_size(VTerm *vt, int rows, int cols);
170 int (*resize)(int rows, int cols, void *user);
192 int (*resize)(int rows, int cols, VTermPos *delta, void *user);
239 int (*resize)(int rows, int cols, void *user);
240 int (*sb_pushline)(int cols, const VTermScreenCell *cells, void *user);
241 int (*sb_popline)(int cols, VTermScreenCell *cells, void *user);
/haiku/src/tests/apps/miniterminal/
H A DMiniView.cpp189 int32 rows, cols; local
190 GetSize(&cols, &rows);
192 ws.ws_col = cols;
223 int32 rows, cols; local
224 GetSize(&cols, &rows);
226 ws.ws_col = cols;
/haiku/src/apps/terminal/
H A DAppearPrefView.h56 void _SetWindowSize(int rows, int cols);
H A DAppearPrefView.cpp330 AppearancePrefView::_SetWindowSize(int rows, int cols) argument
335 if (msg->FindInt32("rows") == rows && msg->FindInt32("columns") == cols) {
/haiku/src/apps/tv/
H A DVideoView.cpp268 static const rgb_color cols[8] = { local
289 SetHighColor(cols[i]);
/haiku/headers/private/kernel/platform/efi/protocol/
H A Dsimple-text-output.h126 size_t mode_num, size_t* cols, size_t* rows) EFIAPI;
/haiku/src/tests/kits/midi/synth_file_reader/
H A DSynthFileReader.cpp226 const int cols = 16; local
230 for (;bytes > 0 && Read(byte); bytes --, col = (col + 1) % cols) {
/haiku/src/bin/network/telnet/
H A Dsys_bsd.c712 TerminalWindowSize(long *rows, long *cols) argument
719 *cols = ws.ws_col;
H A Dtelnet.c2394 long rows, cols;
2404 if (TerminalWindowSize(&rows, &cols) == 0) { /* Failed */
2413 PUTSHORT(cp, cols);
2391 long rows, cols; local
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_hal/
H A Dah_internal.h907 int rows, cols; member in struct:__anon122
913 (_ia)->cols = (_cols); \
916 ((_ia)->data[((_r)*(_ia)->cols) + (_c)])
H A Dah.c1317 HALASSERT(col < ia->cols);
1336 HALASSERT(col < ia->cols);
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_hal/ar5312/
H A Dar5312_reset.c64 #define V(r, c) (ia)->data[((r)*(ia)->cols) + (c)]
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_hal/ar9002/
H A Dar9280_attach.c534 HALASSERT(modesIndex < ia->cols);
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_hal/ar5416/
H A Dar5416_attach.c363 int rows, cols; member in struct:ini
H A Dar5416_reset.c2704 int rows, cols; member in struct:ini

Completed in 245 milliseconds

12