FDOSTUI
FreeDOS Text User Interface
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 
16 {
17  unsigned char m_response[6][15+1];
18  unsigned char m_title[31+1];
19  unsigned char* m_text;
20 };
21 
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 
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 
40 {
41  unsigned char m_env[63+1];
42  int m_pos_x;
43  int m_pos_y;
44 };
45 
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 
61 {
62  enum option_widget_type m_type;
63  union option_widget_contianer m_widget;
64  struct option_widget* m_next;
65 };
66 
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
Definition: options.h:67
Definition: options.h:22
Definition: options.h:60
Definition: options.h:39
Definition: options.h:30
Definition: options.h:15
Definition: options.h:46