home *** CD-ROM | disk | FTP | other *** search
- /* field.h */
-
- #ifndef __field_h
- #define __field_h
-
- #ifndef __size_t
- #define __size_t 1
- typedef unsigned int size_t;
- #endif
-
- /* List terminators for field_oneof() */
-
- #define field_ENDLIST ((wimp_i) -1)
- #define field_SETONE ((wimp_i) -2)
-
- #ifdef __cplusplus
- extern "C" {
- #endif
-
-
- void field_settext(wimp_w w, wimp_i i, const char *text);
- char *field_gettext(wimp_w w, wimp_i i, char *buffer, size_t bufsize);
- int field_printf(wimp_w w, wimp_i i, const char *fmt, ...);
- void field_setnumeric(wimp_w w, wimp_i i, int value);
- int field_getnumeric(wimp_w w, wimp_i i);
- int field_addnumeric(wimp_w w, wimp_i i, int lo, int hi, int delta);
- int field_getbool(wimp_w w, wimp_i i);
- void field_setbool(wimp_w w, wimp_i i, int flag);
- int field_flipbool(wimp_w w, wimp_i i);
- int field_oneof(wimp_w w, ...);
- void field_fade(wimp_w w, wimp_i i, int flag);
-
- #ifdef __cplusplus
- }
- #endif
-
-
- #endif
-