Lines Matching refs:row
70 /** Screen row */
71 unsigned int row;
90 unsigned int row, unsigned int col ) __nonnull;
96 static void vmsg ( unsigned int row, const char *fmt, va_list args ) __nonnull;
97 static void msg ( unsigned int row, const char *fmt, ... ) __nonnull;
122 sizeof ( widget->value ), NULL, widget->row,
143 * @v row Screen row
149 unsigned int row, unsigned int col ) {
155 widget->row = row;
168 struct setting_row row;
173 /* Fill row with spaces */
174 memset ( &row, ' ', sizeof ( row ) );
175 row.nul = '\0';
178 memset ( row.name, '.', sizeof ( row.name ) );
180 if ( len > sizeof ( row.name ) )
181 len = sizeof ( row.name );
182 memcpy ( row.name, widget->setting->name, len );
189 if ( len > sizeof ( row.value ) )
190 len = sizeof ( row.value );
191 memcpy ( row.value, value, len );
192 curs_col = ( widget->col + offsetof ( typeof ( row ), value )
195 /* Print row */
196 mvprintw ( widget->row, widget->col, "%s", row.start );
197 move ( widget->row, curs_col );
231 * Print message centred on specified row
233 * @v row Row
237 static void vmsg ( unsigned int row, const char *fmt, va_list args ) {
242 mvprintw ( row, ( ( COLS - len ) / 2 ), "%s", buf );
246 * Print message centred on specified row
248 * @v row Row
252 static void msg ( unsigned int row, const char *fmt, ... ) {
256 vmsg ( row, fmt, args );
261 * Clear message on specified row
263 * @v row Row
265 static void clearmsg ( unsigned int row ) {
266 move ( row, 0 );
300 * Draw title row
309 * Draw information row
321 * Draw instruction row