#include "form.priv.h"Go to the source code of this file.
Functions | |
| scale_form (const FORM *form, int *rows, int *cols) | |
|
||||||||||||||||
|
Definition at line 48 of file frm_scale.c. References E_BAD_ARGUMENT, E_NOT_CONNECTED, E_OK, RETURN, T, and T_CALLED. Referenced by NCursesForm::scale(). 00049 { 00050 T((T_CALLED("scale_form(%p,%p,%p)"), form, rows, cols)); 00051 00052 if (!form) 00053 RETURN(E_BAD_ARGUMENT); 00054 00055 if (!(form->field)) 00056 RETURN(E_NOT_CONNECTED); 00057 00058 if (rows) 00059 *rows = form->rows; 00060 if (cols) 00061 *cols = form->cols; 00062 00063 RETURN(E_OK); 00064 }
|