summaryrefslogtreecommitdiff
path: root/iup/include/iupmask.h
blob: faf71d77491956bf6934358810e47b0a539e10de (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
/** \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 OLD iupMask definitions, use the MASK attribute in IupText or IupMatrix.") 

/* OLD definitions, use the MASK attribute in IupText or IupMatrix */
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