LiVES 2.4.6

- Main Page
- Namespaces
- Data Structures
- Files

- File List
- Globals

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;
35 } lives_clipinfo_t;
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);
50 _entryw *create_location_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
61 _insertw *create_insert_dialog(void);
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
105 } lives_tvcardw_t;
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
118
119 aud_dialog_t *create_audfade_dialog(int type);
120 LiVESWidget *create_combo_dialog(int type, livespointer user_data);
121
122 xprocess *create_processing(const char *text);
123 void add_to_clipmenu(void);
124 void remove_from_clipmenu(void);
125 void make_play_window(void);
126 void resize_play_window(void);
127 void kill_play_window(void);
128 void make_preview_box(void);
129 void play_window_set_title(void);
130 void add_to_playframe(void);
131 LiVESWidget *create_cdtrack_dialog(int type, livespointer user_data);
132 LiVESTextView *create_output_textview(void);
133 char *choose_file(const char *dir, const char *fname, char **const filt, LiVESFileChooserAction act, const char *title, LiVESWidget *extra);
134 LiVESWidget *choose_file_with_preview(const char *dir, const char *title, int preview_type);
135 void add_suffix_check(LiVESBox *box, const char *ext);
136
137
138 _commentsw *commentsw;
139 _entryw *renamew;
140 _entryw *locw;
141 _insertw *insertw;
142 text_window *textwindow;
143
144
145 #define DEF_AUD_FADE_SECS 10.
146
147
148 #define MIN_MSGBOX_WIDTH ((int)(mainw->scr_width>1024?(820.*widget_opts.scale):600))
149
150
151 #endif
lives_clipinfo_t::textview29
LiVESWidget * textview29
Definition: interface.h:30
aud_dialog_t::time_spin
LiVESWidget * time_spin
Definition: interface.h:88
textwindow
text_window * textwindow
Definition: interface.h:142
create_text_window
text_window * create_text_window(const char *title, const char *text, LiVESTextBuffer *textbuffer)
Definition: interface.c:713
create_rename_dialog
_entryw * create_rename_dialog(int type)
Definition: interface.c:1208
lives_tvcardw_t::spinbuttoni
LiVESWidget * spinbuttoni
Definition: interface.h:99
kill_play_window
void kill_play_window(void)
Definition: gui.c:4404
lives_clipinfo_t::textview_lrate
LiVESWidget * textview_lrate
Definition: interface.h:33
lives_dialog_t
lives_dialog_t
Definition: mainwindow.h:156
create_opensel_dialog
LiVESWidget * create_opensel_dialog(void)
Definition: interface.c:963
lives_tvcardw_t::combod
LiVESWidget * combod
Definition: interface.h:97
create_cdtrack_dialog
LiVESWidget * create_cdtrack_dialog(int type, livespointer user_data)
Definition: interface.c:1514
_entryw::name_entry
LiVESWidget * name_entry
Definition: interface.h:44
_commentsw::subt_checkbutton
LiVESWidget * subt_checkbutton
Definition: interface.h:69
lives_clipinfo_t::textview27
LiVESWidget * textview27
Definition: interface.h:28
_commentsw::title_entry
LiVESWidget * title_entry
Definition: interface.h:66
_commentsw::comment_entry
LiVESWidget * comment_entry
Definition: interface.h:68
text_window::delete_button
LiVESWidget * delete_button
Definition: interface.h:79
add_to_playframe
void add_to_playframe(void)
Definition: gui.c:4424
lives_clipinfo_t::textview_ltime
LiVESWidget * textview_ltime
Definition: interface.h:31
aud_dialog_t::is_sel
boolean is_sel
Definition: interface.h:89
lives_clipinfo_t::textview24
LiVESWidget * textview24
Definition: interface.h:25
_insertw::fit_checkbutton
LiVESWidget * fit_checkbutton
Definition: interface.h:58
add_to_clipmenu
void add_to_clipmenu(void)
Definition: gui.c:4456
text_window::dialog
LiVESWidget * dialog
Definition: interface.h:77
_insertw::with_sound
LiVESWidget * with_sound
Definition: interface.h:55
aud_dialog_t
Definition: interface.h:86
text_window::clear_button
LiVESWidget * clear_button
Definition: interface.h:78
_commentsw
Definition: interface.h:64
create_processing
xprocess * create_processing(const char *text)
Definition: interface.c:154
_insertw
Definition: interface.h:53
lives_tvcardw_t::spinbuttonw
LiVESWidget * spinbuttonw
Definition: interface.h:100
_commentsw::author_entry
LiVESWidget * author_entry
Definition: interface.h:67
remove_from_clipmenu
void remove_from_clipmenu(void)
Definition: gui.c:4489
_insertw::insert_dialog
LiVESWidget * insert_dialog
Definition: interface.h:54
widget_add_preview
void widget_add_preview(LiVESWidget *widget, LiVESBox *for_preview, LiVESBox *for_button, LiVESBox *for_deint, int preview_type)
for fileselector preview
Definition: interface.c:92
_entryw::dir_entry
LiVESWidget * dir_entry
Definition: interface.h:43
choose_file_with_preview
LiVESWidget * choose_file_with_preview(const char *dir, const char *title, int preview_type)
Definition: interface.c:2282
lives_tvcardw_t::spinbuttonh
LiVESWidget * spinbuttonh
Definition: interface.h:101
lives_clipinfo_t::textview_rtime
LiVESWidget * textview_rtime
Definition: interface.h:32
create_comments_dialog
_commentsw * create_comments_dialog(lives_clip_t *sfile, char *filename)
Definition: interface.c:1921
lives_clipinfo_t::textview_rrate
LiVESWidget * textview_rrate
Definition: interface.h:34
text_window
Definition: interface.h:76
lives_tvcardw_t::advbutton
LiVESWidget * advbutton
Definition: interface.h:95
add_suffix_check
void add_suffix_check(LiVESBox *box, const char *ext)
Definition: interface.c:30
lives_clipinfo_t::dialog
LiVESWidget * dialog
Definition: interface.h:24
_entryw
Definition: interface.h:40
_entryw::warn_checkbutton
LiVESWidget * warn_checkbutton
Definition: interface.h:45
lives_tvcardw_t::adv_vbox
LiVESWidget * adv_vbox
Definition: interface.h:96
lives_clip_t
corresponds to one clip in the GUI
Definition: main.h:484
create_encoder_prep_dialog
LiVESWidget * create_encoder_prep_dialog(const char *text1, const char *text2, boolean opt_resize)
Definition: interface.c:598
resize_play_window
void resize_play_window(void)
Definition: gui.c:4065
xprocess
Definition: main.h:292
lives_tvcardw_t::radiobuttond
LiVESWidget * radiobuttond
Definition: interface.h:103
create_combo_dialog
LiVESWidget * create_combo_dialog(int type, livespointer user_data)
Definition: interface.c:1448
lives_tvcardw_t::comboo
LiVESWidget * comboo
Definition: interface.h:98
commentsw
_commentsw * commentsw
Definition: interface.h:138
play_window_set_title
void play_window_set_title(void)
Definition: gui.c:3912
create_clip_info_window
lives_clipinfo_t * create_clip_info_window(int audio_channels, boolean is_mt)
Definition: interface.c:343
create_location_dialog
_entryw * create_location_dialog(int type)
Definition: interface.c:1056
_insertw::spinbutton_times
LiVESWidget * spinbutton_times
Definition: interface.h:57
lives_tvcardw_t::spinbuttonf
LiVESWidget * spinbuttonf
Definition: interface.h:102
lives_tvcardw_t
Definition: interface.h:93
_entryw::setlist
LiVESList * setlist
Definition: interface.h:46
renamew
_entryw * renamew
Definition: interface.h:139
lives_clipinfo_t
Definition: interface.h:23
lives_clipinfo_t::textview28
LiVESWidget * textview28
Definition: interface.h:29
lives_clipinfo_t::textview26
LiVESWidget * textview26
Definition: interface.h:27
create_cds_dialog
_entryw * create_cds_dialog(int type)
Definition: interface.c:2334
make_preview_box
void make_preview_box(void)
Definition: gui.c:3647
aud_dialog_t::dialog
LiVESWidget * dialog
Definition: interface.h:87
make_play_window
void make_play_window(void)
Definition: gui.c:3973
create_info_error_dialog
LiVESWidget * create_info_error_dialog(lives_dialog_t info_type, const char *text, LiVESWindow *transient, int mask, boolean is_blocking)
Definition: interface.c:697
do_layout_recover_dialog
void do_layout_recover_dialog(void)
Definition: interface.c:2472
do_audio_choice_dialog
boolean do_audio_choice_dialog(short startup_phase)
Definition: startup.c:202
choose_file
char * choose_file(const char *dir, const char *fname, char **const filt, LiVESFileChooserAction act, const char *title, LiVESWidget *extra_widget)
Definition: interface.c:2090
create_cleardisk_advanced_dialog
LiVESWidget * create_cleardisk_advanced_dialog(void)
Definition: interface.c:2485
create_output_textview
LiVESTextView * create_output_textview(void)
Definition: interface.c:2570
lives_tvcardw_t::use_advanced
boolean use_advanced
Definition: interface.h:94
create_audfade_dialog
aud_dialog_t * create_audfade_dialog(int type)
Definition: interface.c:1821
_entryw::entry
LiVESWidget * entry
Definition: interface.h:42
locw
_entryw * locw
Definition: interface.h:140
lives_clipinfo_t::textview25
LiVESWidget * textview25
Definition: interface.h:26
create_insert_dialog
_insertw * create_insert_dialog(void)
Definition: interface.c:793
_commentsw::comments_dialog
LiVESWidget * comments_dialog
Definition: interface.h:65
_insertw::without_sound
LiVESWidget * without_sound
Definition: interface.h:56
insertw
_insertw * insertw
Definition: interface.h:141
text_window::textview
LiVESWidget * textview
Definition: interface.h:80
_entryw::dialog
LiVESWidget * dialog
Definition: interface.h:41
_commentsw::subt_entry
LiVESWidget * subt_entry
Definition: interface.h:70