LiVES  2.4.1-svn
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
interface.h
Go to the documentation of this file.
1 // interface.h
2 // LiVES
3 // (c) G. Finch 2003 - 2012 <salsaman@gmail.com>
4 // Released under the GNU GPL 3 or later
5 // see file ../COPYING for licensing details
6 
7 #ifndef HAS_LIVES_INTERFACE_H
8 #define HAS_LIVES_INTERFACE_H
9 
10 LiVESWidget *create_info_error_dialog(lives_dialog_t info_type, const char *text, LiVESWindow *transient, int mask, boolean is_blocking);
11 LiVESWidget *create_opensel_dialog(void);
12 LiVESWidget *create_encoder_prep_dialog(const char *text1, const char *text2, boolean opt_resize);
13 
14 void widget_add_preview(LiVESWidget *widget, LiVESBox *for_preview, LiVESBox *for_button,
15  LiVESBox *for_deinterlace, int preview_type);
16 
17 boolean do_audio_choice_dialog(short startup_phase);
18 
19 void do_layout_recover_dialog(void);
20 
21 LiVESWidget *create_cleardisk_advanced_dialog(void);
22 
23 typedef struct {
24  LiVESWidget *dialog;
25  LiVESWidget *textview24;
26  LiVESWidget *textview25;
27  LiVESWidget *textview26;
28  LiVESWidget *textview27;
29  LiVESWidget *textview28;
30  LiVESWidget *textview29;
31  LiVESWidget *textview_ltime;
32  LiVESWidget *textview_rtime;
33  LiVESWidget *textview_lrate;
34  LiVESWidget *textview_rrate;
36 
37 lives_clipinfo_t *create_clip_info_window(int audio_channels, boolean is_mt);
38 
39 
40 typedef struct {
41  LiVESWidget *dialog;
42  LiVESWidget *entry;
43  LiVESWidget *dir_entry;
44  LiVESWidget *name_entry;
45  LiVESWidget *warn_checkbutton;
46  LiVESList *setlist;
47 } _entryw;
48 
49 _entryw *create_rename_dialog(int type);
51 _entryw *create_cds_dialog(int type);
52 
53 typedef struct __insertw {
54  LiVESWidget *insert_dialog;
55  LiVESWidget *with_sound;
56  LiVESWidget *without_sound;
57  LiVESWidget *spinbutton_times;
58  LiVESWidget *fit_checkbutton;
59 } _insertw;
60 
62 
63 
64 typedef struct __commentsw {
65  LiVESWidget *comments_dialog;
66  LiVESWidget *title_entry;
67  LiVESWidget *author_entry;
68  LiVESWidget *comment_entry;
69  LiVESWidget *subt_checkbutton;
70  LiVESWidget *subt_entry;
71 } _commentsw;
72 
73 _commentsw *create_comments_dialog(lives_clip_t *sfile, char *filename);
74 
75 
76 typedef struct {
77  LiVESWidget *dialog;
78  LiVESWidget *clear_button;
79  LiVESWidget *delete_button;
80  LiVESWidget *textview;
81 } text_window;
82 
83 text_window *create_text_window(const char *title_part, const char *text, LiVESTextBuffer *);
84 
85 
86 typedef struct {
87  LiVESWidget *dialog;
88  LiVESWidget *time_spin;
89  boolean is_sel;
90 } aud_dialog_t;
91 
92 
93 typedef struct {
94  boolean use_advanced;
95  LiVESWidget *advbutton;
96  LiVESWidget *adv_vbox;
97  LiVESWidget *combod;
98  LiVESWidget *comboo;
99  LiVESWidget *spinbuttoni;
100  LiVESWidget *spinbuttonw;
101  LiVESWidget *spinbuttonh;
102  LiVESWidget *spinbuttonf;
103  LiVESWidget *radiobuttond;
104 
106 
107 
108 #define LIVES_PREVIEW_TYPE_VIDEO_AUDIO 1
109 #define LIVES_PREVIEW_TYPE_AUDIO_ONLY 2
110 #define LIVES_PREVIEW_TYPE_RANGE 3
111 
112 #define LIVES_FILE_SELECTION_VIDEO_AUDIO 1
113 #define LIVES_FILE_SELECTION_AUDIO_ONLY 2
114 #define LIVES_FILE_SELECTION_VIDEO_AUDIO_MULTI 3
115 #define LIVES_FILE_SELECTION_VIDEO_RANGE 4
116 
117 
119 LiVESWidget *create_combo_dialog(int type, livespointer user_data);
120 
126 
127 
128 #define DEF_AUD_FADE_SECS 10.
129 
130 
131 #define MIN_MSGBOX_WIDTH ((int)(mainw->scr_width>1024?(820.*widget_opts.scale):600))
132 
133 
134 #endif
text_window * create_text_window(const char *title_part, const char *text, LiVESTextBuffer *)
Definition: interface.c:713
LiVESWidget * textview29
Definition: interface.h:30
LiVESWidget * time_spin
Definition: interface.h:88
text_window * textwindow
Definition: interface.h:125
LiVESWidget * spinbuttoni
Definition: interface.h:99
LiVESWidget * textview_lrate
Definition: interface.h:33
LiVESWidget * create_combo_dialog(int type, livespointer user_data)
Definition: interface.c:1470
lives_dialog_t
Definition: mainwindow.h:150
LiVESWidget * combod
Definition: interface.h:97
LiVESWidget * name_entry
Definition: interface.h:44
LiVESWidget * subt_checkbutton
Definition: interface.h:69
LiVESWidget * textview27
Definition: interface.h:28
LiVESWidget * title_entry
Definition: interface.h:66
LiVESWidget * comment_entry
Definition: interface.h:68
LiVESWidget * delete_button
Definition: interface.h:79
LiVESWidget * textview_ltime
Definition: interface.h:31
boolean is_sel
Definition: interface.h:89
LiVESWidget * textview24
Definition: interface.h:25
LiVESWidget * fit_checkbutton
Definition: interface.h:58
_commentsw * create_comments_dialog(lives_clip_t *sfile, char *filename)
Definition: interface.c:1944
LiVESWidget * dialog
Definition: interface.h:77
LiVESWidget * with_sound
Definition: interface.h:55
void widget_add_preview(LiVESWidget *widget, LiVESBox *for_preview, LiVESBox *for_button, LiVESBox *for_deinterlace, int preview_type)
for fileselector preview
Definition: interface.c:92
Definition: interface.h:86
LiVESWidget * create_info_error_dialog(lives_dialog_t info_type, const char *text, LiVESWindow *transient, int mask, boolean is_blocking)
Definition: interface.c:697
void do_layout_recover_dialog(void)
Definition: interface.c:2499
LiVESWidget * clear_button
Definition: interface.h:78
LiVESWidget * create_cleardisk_advanced_dialog(void)
Definition: interface.c:2512
_entryw * create_location_dialog(int type)
Definition: interface.c:1066
Definition: interface.h:64
Definition: interface.h:53
LiVESWidget * spinbuttonw
Definition: interface.h:100
LiVESWidget * author_entry
Definition: interface.h:67
LiVESWidget * insert_dialog
Definition: interface.h:54
LiVESWidget * create_encoder_prep_dialog(const char *text1, const char *text2, boolean opt_resize)
Definition: interface.c:592
LiVESWidget * dir_entry
Definition: interface.h:43
LiVESWidget * spinbuttonh
Definition: interface.h:101
LiVESWidget * textview_rtime
Definition: interface.h:32
LiVESWidget * textview_rrate
Definition: interface.h:34
aud_dialog_t * create_audfade_dialog(int type)
Definition: interface.c:1844
Definition: interface.h:76
LiVESWidget * advbutton
Definition: interface.h:95
LiVESWidget * create_opensel_dialog(void)
Definition: interface.c:969
_insertw * create_insert_dialog(void)
Definition: interface.c:794
LiVESWidget * dialog
Definition: interface.h:24
Definition: interface.h:40
LiVESWidget * warn_checkbutton
Definition: interface.h:45
LiVESWidget * adv_vbox
Definition: interface.h:96
corresponds to one clip in the GUI
Definition: main.h:474
_entryw * create_cds_dialog(int type)
Definition: interface.c:2357
_entryw * create_rename_dialog(int type)
Definition: interface.c:1224
LiVESWidget * radiobuttond
Definition: interface.h:103
LiVESWidget * comboo
Definition: interface.h:98
_commentsw * commentsw
Definition: interface.h:121
LiVESWidget * spinbutton_times
Definition: interface.h:57
LiVESWidget * spinbuttonf
Definition: interface.h:102
Definition: interface.h:93
LiVESList * setlist
Definition: interface.h:46
_entryw * renamew
Definition: interface.h:122
Definition: interface.h:23
LiVESWidget * textview28
Definition: interface.h:29
LiVESWidget * textview26
Definition: interface.h:27
LiVESWidget * dialog
Definition: interface.h:87
boolean do_audio_choice_dialog(short startup_phase)
Definition: startup.c:202
boolean use_advanced
Definition: interface.h:94
LiVESWidget * entry
Definition: interface.h:42
_entryw * locw
Definition: interface.h:123
LiVESWidget * textview25
Definition: interface.h:26
lives_clipinfo_t * create_clip_info_window(int audio_channels, boolean is_mt)
Definition: interface.c:342
LiVESWidget * comments_dialog
Definition: interface.h:65
LiVESWidget * without_sound
Definition: interface.h:56
_insertw * insertw
Definition: interface.h:124
LiVESWidget * textview
Definition: interface.h:80
LiVESWidget * dialog
Definition: interface.h:41
LiVESWidget * subt_entry
Definition: interface.h:70