7#ifndef HAS_LIVES_INTERFACE_H
8#define HAS_LIVES_INTERFACE_H
11#define OVERDRAW_MARGIN 16
14#define CE_HRULE_HEIGHT ((int)(20. * widget_opts.scale))
17#define CE_VIDBAR_HEIGHT ((int)(4. * widget_opts.scale))
20#define CE_AUDBAR_HEIGHT ((int)(48. * widget_opts.scale))
22#define MSG_AREA_VMARGIN 0
23#define LAYOUT_SIZE_MIN 0
41boolean reshow_msg_area(LiVESWidget *, lives_painter_t *, livespointer user_data);
43boolean expose_vid_draw(LiVESWidget *, lives_painter_t *, livespointer psurf);
44boolean expose_laud_draw(LiVESWidget *, lives_painter_t *, livespointer psurf);
45boolean expose_raud_draw(LiVESWidget *, lives_painter_t *, livespointer psurf);
47boolean config_vid_draw(LiVESWidget *, LiVESXEventConfigure *, livespointer user_data);
48boolean config_laud_draw(LiVESWidget *, LiVESXEventConfigure *, livespointer user_data);
49boolean config_raud_draw(LiVESWidget *, LiVESXEventConfigure *, livespointer user_data);
51void clear_tbar_bgs(
int posx,
int posy,
int width,
int height,
int which);
60 LiVESBox *for_deinterlace,
int preview_type);
75LiVESWidget *
add_list_expander(LiVESBox *,
const char *title,
int width,
int height, LiVESList *xlist);
113typedef struct __insertw {
123typedef struct __commentsw {
147 boolean add_buttons);
149LiVESWidget *
scrolled_textview(
const char *text, LiVESTextBuffer *,
int window_width,
150 LiVESWidget **ptextview);
170#define LIVES_PREVIEW_TYPE_VIDEO_AUDIO 1
171#define LIVES_PREVIEW_TYPE_VIDEO_ONLY 2
172#define LIVES_PREVIEW_TYPE_AUDIO_ONLY 3
173#define LIVES_PREVIEW_TYPE_RANGE 4
174#define LIVES_PREVIEW_TYPE_IMAGE_ONLY 5
176#define LIVES_FILE_SELECTION_UNDEFINED 0
177#define LIVES_FILE_SELECTION_VIDEO_AUDIO 1
178#define LIVES_FILE_SELECTION_AUDIO_ONLY 2
179#define LIVES_FILE_SELECTION_VIDEO_AUDIO_MULTI 3
180#define LIVES_FILE_SELECTION_VIDEO_RANGE 4
181#define LIVES_FILE_SELECTION_IMAGE_ONLY 5
182#define LIVES_FILE_SELECTION_SAVE 6
183#define LIVES_FILE_SELECTION_OPEN 7
185#define LIVES_DIR_SELECTION_CREATE_FOLDER 1024
186#define LIVES_DIR_SELECTION_SELECT_FOLDER 1025
187#define LIVES_DIR_SELECTION_WORKDIR 1026
188#define LIVES_DIR_SELECTION_DEVICES 1027
222char *
choose_file(
const char *dir,
const char *fname,
char **
const filt, LiVESFileChooserAction act,
const char *title,
224char *
choose_file_bg(
const char *dir,
const char *fname,
char **
const filt, LiVESFileChooserAction act,
const char *title,
231 LiVESBox *container);
233#define DEF_AUD_FADE_SECS 10.
235#define MIN_MSGBOX_WIDTH ((int)(620. * widget_opts.scale))
238#define TB_WIDTH ((int)(300. * widget_opts.scale))
239#define TB_HEIGHT_VID ((int)(80. * widget_opts.scale))
240#define TB_HEIGHT_AUD ((int)(50. * widget_opts.scale))
303LiVESResponseType
filter_cleanup(
const char *trashdir, LiVESList **rec_list, LiVESList **rem_list,
304 LiVESList **left_list);
306LiVESWidget *
trash_rb(LiVESButtonBox *parent);
LiVESWidget * create_cdtrack_dialog(int type, livespointer user_data)
void draw_dsu_widget(LiVESWidget *dsu_widget)
autolives_window * autolives_pre_dialog(void)
LiVESWidget * create_cleardisk_advanced_dialog(void)
boolean msg_area_config(LiVESWidget *)
boolean redraw_tl_idle(void *data)
lives_clipinfo_t * create_clip_info_window(int audio_channels, boolean is_mt)
boolean expose_raud_draw(LiVESWidget *, lives_painter_t *, livespointer psurf)
void run_diskspace_dialog_cb(LiVESWidget *, livespointer data)
LiVESWidget * choose_file_with_preview(const char *dir, const char *title, char **const filt, int preview_type)
void draw_little_bars(double ptrtime, int which)
boolean youtube_select_format(lives_remote_clip_request_t *)
void do_keys_window(void)
aud_dialog_t * create_audfade_dialog(int type)
boolean update_dsu(void *lab)
LiVESWidget * create_combo_dialog(int type, LiVESList *list)
LiVESWidget * trash_rb(LiVESButtonBox *parent)
double lives_ce_update_timeline(frames_t frame, double x)
pointer position in timeline
boolean get_play_screen_size(int *opwidth, int *opheight)
void on_filesel_button_clicked(LiVESButton *, livespointer)
callback for lives_standard filesel button same callback is used for dierctory buttons object_data in...
void create_new_pb_speed(short type)
window change speed from Tools menu
void add_to_playframe(void)
void make_preview_box(void)
boolean reshow_msg_area(LiVESWidget *, lives_painter_t *, livespointer user_data)
_entryw * create_rename_dialog(int type)
void msg_area_scroll_to_end(LiVESWidget *, LiVESAdjustment *)
void play_window_set_title(void)
void update_timer_bars(int posx, int posy, int width, int height, int which)
draw the timer bars
lives_remote_clip_request_t * run_youtube_dialog(lives_remote_clip_request_t *)
void resize_play_window(void)
boolean expose_laud_draw(LiVESWidget *, lives_painter_t *, livespointer psurf)
boolean expose_vid_draw(LiVESWidget *, lives_painter_t *, livespointer psurf)
LiVESResponseType filter_cleanup(const char *trashdir, LiVESList **rec_list, LiVESList **rem_list, LiVESList **left_list)
void show_playbar_labels(int clipno)
void redraw_timeline(int clipno)
_entryw * create_cds_dialog(int type)
boolean expose_msg_area(LiVESWidget *, lives_painter_t *, livespointer user_data)
LiVESWidget * create_encoder_prep_dialog(const char *text1, const char *text2, boolean opt_resize)
_entryw * create_location_dialog(void)
boolean config_laud_draw(LiVESWidget *, LiVESXEventConfigure *, livespointer user_data)
LiVESWidget * add_list_expander(LiVESBox *, const char *title, int width, int height, LiVESList *xlist)
void make_play_window(void)
actually in gui.c
void kill_play_window(void)
void run_diskspace_dialog(void)
boolean config_raud_draw(LiVESWidget *, LiVESXEventConfigure *, livespointer user_data)
void do_mt_keys_window(void)
void clear_tbar_bgs(int posx, int posy, int width, int height, int which)
_commentsw * create_comments_dialog(lives_clip_t *, char *filename)
void add_suffix_check(LiVESBox *, const char *ext)
void add_to_clipmenu(void)
_insertw * create_insert_dialog(void)
void redraw_timer_bars(double oldx, double newx, int which)
paint a damage region
void remove_from_clipmenu(void)
const lives_special_aspect_t * add_aspect_ratio_button(LiVESSpinButton *sp_width, LiVESSpinButton *sp_height, LiVESBox *container)
LiVESWidget * scrolled_textview(const char *text, LiVESTextBuffer *, int window_width, LiVESWidget **ptextview)
boolean run_diskspace_dialog_idle(livespointer data)
void widget_add_preview(LiVESWidget *, LiVESBox *for_preview, LiVESBox *for_button, LiVESBox *for_deinterlace, int preview_type)
for fileselector preview
boolean on_msg_area_scroll(LiVESWidget *, LiVESXEventScroll *, livespointer user_data)
xprocess * create_processing(const char *text)
boolean do_audio_choice_dialog(short startup_phase)
LiVESWidget * make_autoreload_check(LiVESHBox *parent, boolean is_active)
xprocess * create_threaded_dialog(char *text, boolean has_cancel, boolean *td_had_focus)
void msg_area_scroll(LiVESAdjustment *, livespointer userdata)
LiVESWidget * create_opensel_dialog(int frames, double fps)
boolean config_vid_draw(LiVESWidget *, LiVESXEventConfigure *, livespointer user_data)
char * choose_file_bg(const char *dir, const char *fname, char **const filt, LiVESFileChooserAction act, const char *title, LiVESWidget *extra)
text_window * create_text_window(const char *title_part, const char *text, LiVESTextBuffer *, boolean add_buttons)
char * choose_file(const char *dir, const char *fname, char **const filt, LiVESFileChooserAction act, const char *title, LiVESWidget *extra)
LiVESTextView * create_output_textview(void)
LiVESWidget * abort_button
lives_painter_surface_t * dsu_surface
LiVESWidget * checkbutton
LiVESWidget * clips_layout
LiVESWidget * warn_checkbutton
LiVESWidget * layouts_layout
LiVESWidget * cancelbutton
LiVESWidget * fit_checkbutton
LiVESWidget * spinbutton_times
LiVESWidget * without_sound
LiVESWidget * insert_dialog
LiVESWidget * mute_button
LiVESWidget * atrigger_spin
LiVESWidget * atrigger_button
LiVESWidget * debug_button
corresponds to one clip in the GUI
LiVESWidget * textview_ltime
LiVESWidget * textview_lrate
LiVESWidget * textview_fsize
LiVESWidget * textview_rrate
LiVESWidget * textview_rtime
LiVESWidget * textview_type
LiVESWidget * textview_fps
LiVESWidget * textview_frames
LiVESWidget * textview_vtime
LiVESWidget * textview_size
lives_size_match_t matchsize
LiVESWidget * spinbuttonw
LiVESWidget * spinbuttonh
LiVESWidget * radiobuttond
LiVESWidget * spinbuttoni
LiVESWidget * spinbuttonf
LiVESWidget * scrolledwindow
LiVESWidget * delete_button
LiVESWidget * clear_button