/** \file
 * \brief iupmask functions.
 *
 * See Copyright Notice in "iup.h"
 */
 
#ifndef __IUP_OLDMASK_H 
#define __IUP_OLDMASK_H

#ifdef __cplusplus
extern "C" {
#endif

#pragma message("Warning: Using DEPRECATED iupMask definitions from \"iupmask.h\", use the MASK attribute in IupText or IupMatrix. It will be removed in a future version.") 

/* DEPRECATED definitions, use the MASK attribute in IupText or IupMatrix. It will be removed in a future version. */
int  iupmaskSet     (Ihandle *h, const char *mask, int autofill, int casei);
int  iupmaskSetInt  (Ihandle *h, int autofill, int   min , int   max);
int  iupmaskSetFloat(Ihandle *h, int autofill, float min , float max);
void iupmaskRemove   (Ihandle *h);
int  iupmaskCheck   (Ihandle *h);
int  iupmaskGet      (Ihandle *h, char   **val);
int  iupmaskGetFloat (Ihandle *h, float  *fval);
int  iupmaskGetDouble(Ihandle *h, double *dval);
int  iupmaskGetInt   (Ihandle *h, int    *ival);
int  iupmaskMatSet     (Ihandle *h, const char *mask, int autofill, int casei, int lin, int col);
int  iupmaskMatSetInt  (Ihandle *h, int autofill, int   min, int   max, int lin, int col);
int  iupmaskMatSetFloat(Ihandle *h, int autofill, float min, float max, int lin, int col);
void iupmaskMatRemove  (Ihandle *h, int lin, int col);
int  iupmaskMatCheck   (Ihandle *h, int lin, int col);
int  iupmaskMatGet      (Ihandle *h, char   **val, int lin, int col);
int  iupmaskMatGetFloat (Ihandle *h, float  *fval, int lin, int col);
int  iupmaskMatGetDouble(Ihandle *h, double *dval, int lin, int col);
int  iupmaskMatGetInt   (Ihandle *h, int    *ival, int lin, int col);


#ifdef __cplusplus
}
#endif

#endif
