31 |
} |
} |
32 |
|
|
33 |
int |
int |
34 |
arshell_interface_button_cb(struct list *call_data) |
arshell_interface_button_cb(yacl_list *call_data) |
35 |
{ |
{ |
36 |
Widget button; |
Widget button; |
37 |
arshell_row_layout(); |
arshell_row_layout(); |
42 |
return(0); |
return(0); |
43 |
} |
} |
44 |
int |
int |
45 |
arshell_interface_obutton_cb(struct list *call_data) |
arshell_interface_obutton_cb(yacl_list *call_data) |
46 |
{ |
{ |
47 |
Widget button; |
Widget button; |
48 |
char *command; |
char *command; |
57 |
return(0); |
return(0); |
58 |
} |
} |
59 |
int |
int |
60 |
arshell_interface_status_cb(struct list *call_data) |
arshell_interface_status_cb(yacl_list *call_data) |
61 |
{ |
{ |
62 |
puts("status"); |
puts("status"); |
63 |
antiright_create_status_bar(arshell.gui.widgets.mainwindow); |
antiright_create_status_bar(arshell.gui.widgets.mainwindow); |
64 |
return(0); |
return(0); |
65 |
} |
} |
66 |
int |
int |
67 |
arshell_interface_menubar_cb(struct list *call_data) |
arshell_interface_menubar_cb(yacl_list *call_data) |
68 |
{ |
{ |
69 |
arshell_default_menubar_action(); |
arshell_default_menubar_action(); |
70 |
return(0); |
return(0); |
71 |
} |
} |
72 |
int |
int |
73 |
arshell_interface_label_cb(struct list *call_data) |
arshell_interface_label_cb(yacl_list *call_data) |
74 |
{ |
{ |
75 |
antiright_label(arshell.gui.widgets.row, call_data->data); |
antiright_label(arshell.gui.widgets.row, call_data->data); |
76 |
return(0); |
return(0); |
77 |
} |
} |
78 |
int |
int |
79 |
arshell_interface_field_cb(struct list *call_data) |
arshell_interface_field_cb(yacl_list *call_data) |
80 |
{ |
{ |
81 |
int counter_int=0; |
int counter_int=0; |
82 |
char **argv=NULL; |
char **argv=NULL; |
86 |
return(0); |
return(0); |
87 |
} |
} |
88 |
int |
int |
89 |
arshell_interface_icon_cb(struct list *call_data) |
arshell_interface_icon_cb(yacl_list *call_data) |
90 |
{ |
{ |
91 |
Widget button; |
Widget button; |
92 |
arshell_transparency_hack(); |
arshell_transparency_hack(); |
97 |
return(0); |
return(0); |
98 |
} |
} |
99 |
int |
int |
100 |
arshell_interface_oicon_cb(struct list *call_data) |
arshell_interface_oicon_cb(yacl_list *call_data) |
101 |
{ |
{ |
102 |
Widget button; |
Widget button; |
103 |
char *command; |
char *command; |
112 |
return(0); |
return(0); |
113 |
} |
} |
114 |
int |
int |
115 |
arshell_interface_color_cb(struct list *call_data) |
arshell_interface_color_cb(yacl_list *call_data) |
116 |
{ |
{ |
117 |
arshell_color_widget(arshell.gui.widgets.row); |
arshell_color_widget(arshell.gui.widgets.row); |
118 |
return(0); |
return(0); |
119 |
} |
} |
120 |
int |
int |
121 |
arshell_interface_work_cb(struct list *call_data) |
arshell_interface_work_cb(yacl_list *call_data) |
122 |
{ |
{ |
123 |
arshell_create_text_work_area(); |
arshell_create_text_work_area(); |
124 |
return(0); |
return(0); |
127 |
arshell_parse_interface_file(char *filename) |
arshell_parse_interface_file(char *filename) |
128 |
{ |
{ |
129 |
/* char *a="one", *b="two", *c="three";*/ |
/* char *a="one", *b="two", *c="three";*/ |
130 |
struct list *grammar=(struct list *)malloc(sizeof(struct list)); |
yacl_list *grammar=(yacl_list *)malloc(sizeof(yacl_list)); |
131 |
struct yaclib_parse_rule rule; |
struct yaclib_parse_rule rule; |
132 |
L_INIT_PTR(grammar); |
L_INIT_PTR(grammar); |
133 |
|
|