FDOSTUI
FreeDOS Text User Interface
apps
fddialog
include
options.h
1
/*
2
vim:expandtab:softtabstop=4:tabstop=4:shiftwidth=4:nowrap:ruler
3
*/
4
/*
5
OPTIONS.H
6
7
License CC0 PUBLIC DOMAIN
8
9
To the extent possible under law, Mark J. Olesen has waived all copyright
10
and related or neighboring rights to FDOSTUI Library. This work is published
11
from: United States.
12
*/
13
#ifndef __options_h__
14
15
struct
option_msgbox
16
{
17
unsigned
char
m_response[6][15+1];
18
unsigned
char
m_title[31+1];
19
unsigned
char
* m_text;
20
};
21
22
struct
option_widget_radiobtn
23
{
24
unsigned
char
m_env[63+1];
25
unsigned
int
m_groupid;
26
int
m_pos_x;
27
int
m_pos_y;
28
};
29
30
struct
option_widget_checkbtn
31
{
32
unsigned
char
m_env[63+1];
33
unsigned
int
m_groupid;
34
int
m_pos_x;
35
int
m_pos_y;
36
37
};
38
39
struct
option_widget_entry
40
{
41
unsigned
char
m_env[63+1];
42
int
m_pos_x;
43
int
m_pos_y;
44
};
45
46
union
option_widget_contianer
47
{
48
struct
option_widget_radiobtn
m_radiobtn;
49
struct
option_widget_checkbtn
m_checkbtn;
50
struct
option_widget_entry
m_entry;
51
};
52
53
enum
option_widget_type
54
{
55
OPTION_TYPE_RADIOBTN,
56
OPTION_TYPE_CHECKBTN,
57
OPTION_TYPE_ENTRY
58
};
59
60
struct
option_widget
61
{
62
enum
option_widget_type m_type;
63
union
option_widget_contianer
m_widget;
64
struct
option_widget
* m_next;
65
};
66
67
struct
option_form
68
{
69
unsigned
char
m_response[6][15+1];
70
unsigned
char
m_title[31+1];
71
struct
option_widget
* m_first;
72
};
73
74
#define __options_h__
75
#endif
option_form
Definition:
options.h:67
option_widget_radiobtn
Definition:
options.h:22
option_widget
Definition:
options.h:60
option_widget_entry
Definition:
options.h:39
option_widget_checkbtn
Definition:
options.h:30
option_msgbox
Definition:
options.h:15
option_widget_contianer
Definition:
options.h:46
Generated by
1.8.14