File: data_entry_radio.h

package info (click to toggle)
mlterm 3.1.2-1.3
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 23,168 kB
  • sloc: ansic: 102,795; sh: 9,676; java: 2,018; perl: 1,601; makefile: 1,595; cpp: 771; sed: 16
file content (14 lines) | stat: -rw-r--r-- 531 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
typedef struct {
	int initial;
	int current;
	int num;
	char **term;
} entry_radio_t;

entry_radio_t *entry_radio_new(const char *key, const char *terms);
int entry_radio_add(section_t *section, const char *name, const char * key, const char *terms);
void entry_radio_free_data(entry_t * entry);
void entry_radio_apply(entry_t *entry);
void entry_radio_reset(entry_t *entry);
void entry_radio_display(window_t *window, entry_t *entry, int x, int y, int state);
int entry_radio_edit(window_t *window, entry_t *entry, int x, int y);