• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10.1/ncurses-44/ncurses/c++/

Lines Matching defs:field

55 // Class to represent builtin field types as well as C++ written new
100 // The class representing a forms field, wrapping the lowlevel FIELD struct
108 FIELD *field; // lowlevel structure
109 NCursesFieldType* ftype; // Associated field type
118 // Create a 'Null' field. Can be used to delimit a field list
120 : field(STATIC_CAST(FIELD*)(0)),
125 // Create a new field
132 : field(0),
135 field = ::new_field(rows, ncols, first_row, first_col,
137 if (!field)
150 : field(rhs.field), ftype(rhs.ftype)
156 // Duplicate the field at a new position
164 f->field = ::dup_field(field,first_row,first_col);
165 if (!f->field)
171 // Link the field to a new location
178 f->field = ::link_field(field,first_row,first_col);
179 if (!f->field)
185 // Get the lowlevel field representation
187 return field;
190 // Retrieve info about the field
194 OnError(::field_info(field, &rows, &ncols,
202 OnError(::dynamic_field_info(field, &dynamic_rows, &dynamic_cols,
206 // For a dynamic field you may set the maximum growth limit.
209 OnError(::set_max_field(field,growth));
212 // Move the field to a new position
214 OnError(::move_field(field,row,col));
217 // Mark the field to start a new page
219 OnError(::set_new_page(field,pageFlag));
222 // Retrieve whether or not the field starts a new page.
224 return ::new_page(field);
227 // Set the justification for the field
229 OnError(::set_field_just(field,just));
234 return ::field_just(field);
236 // Set the foreground attribute for the field
238 OnError(::set_field_fore(field,foreground));
243 return ::field_fore(field);
246 // Set the background attribute for the field
248 OnError(::set_field_back(field,background));
253 return ::field_back(field);
256 // Set the padding character for the field
258 OnError(::set_field_pad(field, padding));
263 return ::field_pad(field);
268 OnError (::field_opts_on (field, opts));
273 OnError (::field_opts_off (field, opts));
278 return ::field_opts (field);
283 OnError (::set_field_opts (field, opts));
286 // Mark the field as changed
288 OnError(::set_field_status(field,changeFlag));
291 // Test whether or not the field is marked as changed
293 return ::field_status(field);
296 // Return the index of the field in the field array of a form
297 // or -1 if the field is not associated to a form
299 return ::field_index(field);
304 OnError(::set_field_buffer(field,buffer,val));
309 return ::field_buffer(field,buffer);
312 // Set the validation type of the field.
318 // Retrieve the validation type of the field.
353 // This structure is used for the form's user data field to link the
403 // field array.
478 // Retrieve current field of the form.
535 // Called after the field became the current field
536 virtual void On_Field_Init(NCursesFormField& field);
538 // Called before this field is left as current field.
539 virtual void On_Field_Termination(NCursesFormField& field);
581 // Are there more data in the current field after the data shown
586 // Are there more data in the current field before the data shown
591 // Position the cursor to the current field
595 // Set the current field
597 OnError (::set_current_field(form, F.field));
614 // Return the field where you left the form.
627 // user data to a field of a form. Its assumed that the user
644 if (field)
645 OnError(::set_field_userptr(field, STATIC_CAST(void *)(p_UserData)));
651 return reinterpret_cast<const T*>(::field_userptr (field));
655 if (field)
656 OnError (::set_field_userptr (field, STATIC_CAST(void *)(p_UserData)));
668 // field array.
916 // Redefine this function to do a field validation. The argument
917 // is a reference to the field you should validate.
954 // The argument is a reference to the field tobe examined.
958 // The argument is a reference to the field tobe examined.