ru.po: Corrections from Evgeny Bulgakov <bgav@netvision.net.il>
[midnight-commander.git] / xv / xvmain.h
blob5edc5d98eaa76fd7ce91b75f4b7bb5f076d3b129
1 #ifndef __XVMAIN_H
2 #define __XVMAIN_H
4 #ifdef HAVE_XVIEW
5 # undef HAVE_LIBGPM
7 # define APP_DEFAULTS "/usr/X11/lib/X11/app-defaults/Mxc"
9 # include "xvkeydata.h"
10 int xtoolkit_init (int *, char **);
11 int xtoolkit_end (void);
12 void xv_action_icons (void);
13 void xv_dispatch_a_bit (void);
14 void xv_dispatch_something (void);
15 # include "dlg.h"
16 # include "widget.h"
18 int xvrundlg_event (Dlg_head *h);
19 void xv_post_proc (Dlg_head *h, void (*callback)(void *), void *);
20 widget_data x_create_panel_container (int which);
21 widget_data x_get_parent_object (Widget *w, widget_data wdata);
22 int x_container_get_id (widget_data wcontainer);
23 void x_panel_container_show (widget_data wdata);
24 widget_data xtoolkit_create_dialog (Dlg_head *h, int with_grid);
25 widget_data xtoolkit_get_main_dialog (Dlg_head *h);
26 void xtoolkit_kill_dialog (Dlg_head *h); /* When we do not call run_dlg */
28 /* Prototypes for functions required by src/widget.c */
29 int xv_create_button (Dlg_head *h, widget_data parent, WButton *b);
30 void x_button_set (WButton *b, char *text);
31 int x_create_radio (Dlg_head *h, widget_data parent, WRadio *r);
32 int x_create_check (Dlg_head *h, widget_data parent, WCheck *c);
33 int x_create_label (Dlg_head *h, widget_data parent, WLabel *l);
34 int x_create_input (Dlg_head *h, widget_data parent, WInput *in);
35 int x_create_listbox (Dlg_head *h, widget_data parent, WListbox *l);
36 int x_create_buttonbar (Dlg_head *h, widget_data parent, WButtonBar *bb);
37 int x_create_gauge (Dlg_head *h, widget_data parent, WGauge *g);
38 int x_find_buttonbar_check (WButtonBar *bb, Widget *paneletc);
39 void x_list_insert (WListbox *l, WLEntry *p, WLEntry *e);
40 void x_redefine_label (WButtonBar *bb, int idx);
42 #define PORT_HAS_DIALOG_TITLE 1
44 #endif /* HAVE_XVIEW */
46 #endif /* __XVMAIN_H */