Go to the documentation of this file.
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
38 boolean on_msg_area_scroll(LiVESWidget *, LiVESXEventScroll *, livespointer user_data);
39 boolean expose_msg_area(LiVESWidget *, lives_painter_t *, livespointer user_data);
41 boolean reshow_msg_area(LiVESWidget *, lives_painter_t *, livespointer user_data);
43 boolean expose_vid_draw(LiVESWidget *, lives_painter_t *, livespointer psurf);
44 boolean expose_laud_draw(LiVESWidget *, lives_painter_t *, livespointer psurf);
45 boolean expose_raud_draw(LiVESWidget *, lives_painter_t *, livespointer psurf);
47 boolean config_vid_draw(LiVESWidget *, LiVESXEventConfigure *, livespointer user_data);
48 boolean config_laud_draw(LiVESWidget *, LiVESXEventConfigure *, livespointer user_data);
49 boolean config_raud_draw(LiVESWidget *, LiVESXEventConfigure *, livespointer user_data);
51 void clear_tbar_bgs(
int posx,
int posy,
int width,
int height,
int which);
60 LiVESBox *for_deinterlace,
int preview_type);
75 LiVESWidget *
add_list_expander(LiVESBox *,
const char *title,
int width,
int height, LiVESList *xlist);
113 typedef struct __insertw {
123 typedef struct __commentsw {
147 boolean add_buttons);
149 LiVESWidget *
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
222 char *
choose_file(
const char *dir,
const char *fname,
char **
const filt, LiVESFileChooserAction act,
const char *title,
224 char *
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))
303 LiVESResponseType
filter_cleanup(
const char *trashdir, LiVESList **rec_list, LiVESList **rem_list,
304 LiVESList **left_list);
306 LiVESWidget *
trash_rb(LiVESButtonBox *parent);
text_window * create_text_window(const char *title_part, const char *text, LiVESTextBuffer *, boolean add_buttons)
lives_painter_surface_t * dsu_surface
LiVESWidget * spinbuttonh
void make_preview_box(void)
LiVESResponseType filter_cleanup(const char *trashdir, LiVESList **rec_list, LiVESList **rem_list, LiVESList **left_list)
_entryw * create_location_dialog(void)
_entryw * create_rename_dialog(int type)
xprocess * create_processing(const char *text)
boolean config_laud_draw(LiVESWidget *, LiVESXEventConfigure *, livespointer user_data)
void msg_area_scroll_to_end(LiVESWidget *, LiVESAdjustment *)
LiVESWidget * warn_checkbutton
LiVESWidget * create_combo_dialog(int type, LiVESList *list)
lives_remote_clip_request_t * run_youtube_dialog(lives_remote_clip_request_t *)
lives_size_match_t matchsize
void redraw_timer_bars(double oldx, double newx, int which)
paint a damage region
xprocess * create_threaded_dialog(char *text, boolean has_cancel, boolean *td_had_focus)
LiVESWidget * atrigger_button
void show_playbar_labels(int clipno)
LiVESWidget * fit_checkbutton
void run_diskspace_dialog_cb(LiVESWidget *, livespointer data)
autolives_window * autolives_pre_dialog(void)
LiVESWidget * clear_button
LiVESWidget * create_encoder_prep_dialog(const char *text1, const char *text2, boolean opt_resize)
void play_window_set_title(void)
void do_keys_window(void)
boolean on_msg_area_scroll(LiVESWidget *, LiVESXEventScroll *, livespointer user_data)
void make_play_window(void)
actually in gui.c
void remove_from_clipmenu(void)
void resize_play_window(void)
boolean youtube_select_format(lives_remote_clip_request_t *)
LiVESWidget * textview_rtime
boolean get_play_screen_size(int *opwidth, int *opheight)
void run_diskspace_dialog(void)
void add_to_clipmenu(void)
void draw_dsu_widget(LiVESWidget *dsu_widget)
LiVESWidget * textview_lrate
LiVESWidget * make_autoreload_check(LiVESHBox *parent, boolean is_active)
char * choose_file_bg(const char *dir, const char *fname, char **const filt, LiVESFileChooserAction act, const char *title, LiVESWidget *extra)
LiVESWidget * create_opensel_dialog(int frames, double fps)
LiVESWidget * insert_dialog
LiVESWidget * spinbuttonf
_entryw * create_cds_dialog(int type)
LiVESTextView * create_output_textview(void)
void update_timer_bars(int posx, int posy, int width, int height, int which)
draw the timer bars
boolean reshow_msg_area(LiVESWidget *, lives_painter_t *, livespointer user_data)
void draw_little_bars(double ptrtime, int which)
LiVESWidget * textview_frames
LiVESWidget * choose_file_with_preview(const char *dir, const char *title, char **const filt, int preview_type)
void add_suffix_check(LiVESBox *, const char *ext)
LiVESWidget * mute_button
LiVESWidget * textview_type
LiVESWidget * scrolled_textview(const char *text, LiVESTextBuffer *, int window_width, LiVESWidget **ptextview)
LiVESWidget * spinbutton_times
boolean expose_raud_draw(LiVESWidget *, lives_painter_t *, livespointer psurf)
boolean update_dsu(void *lab)
LiVESWidget * clips_layout
void create_new_pb_speed(short type)
window change speed from Tools menu
double lives_ce_update_timeline(frames_t frame, double x)
pointer position in timeline
void do_mt_keys_window(void)
void on_filesel_button_clicked(LiVESButton *, livespointer)
callback for lives_standard filesel button same callback is used for dierctory buttons object_data in...
void widget_add_preview(LiVESWidget *, LiVESBox *for_preview, LiVESBox *for_button, LiVESBox *for_deinterlace, int preview_type)
for fileselector preview
LiVESWidget * spinbuttoni
boolean redraw_tl_idle(void *data)
LiVESWidget * debug_button
LiVESWidget * cancelbutton
char * choose_file(const char *dir, const char *fname, char **const filt, LiVESFileChooserAction act, const char *title, LiVESWidget *extra)
LiVESWidget * textview_ltime
LiVESWidget * textview_size
boolean do_audio_choice_dialog(short startup_phase)
_commentsw * create_comments_dialog(lives_clip_t *, char *filename)
void add_to_playframe(void)
const lives_special_aspect_t * add_aspect_ratio_button(LiVESSpinButton *sp_width, LiVESSpinButton *sp_height, LiVESBox *container)
lives_clipinfo_t * create_clip_info_window(int audio_channels, boolean is_mt)
LiVESWidget * add_list_expander(LiVESBox *, const char *title, int width, int height, LiVESList *xlist)
LiVESWidget * atrigger_spin
LiVESWidget * create_cdtrack_dialog(int type, livespointer user_data)
void msg_area_scroll(LiVESAdjustment *, livespointer userdata)
_insertw * create_insert_dialog(void)
boolean run_diskspace_dialog_idle(livespointer data)
boolean expose_msg_area(LiVESWidget *, lives_painter_t *, livespointer user_data)
boolean config_vid_draw(LiVESWidget *, LiVESXEventConfigure *, livespointer user_data)
LiVESWidget * checkbutton
void kill_play_window(void)
LiVESWidget * textview_fps
LiVESWidget * without_sound
LiVESWidget * trash_rb(LiVESButtonBox *parent)
corresponds to one clip in the GUI
LiVESWidget * scrolledwindow
LiVESWidget * create_cleardisk_advanced_dialog(void)
LiVESWidget * textview_fsize
LiVESWidget * layouts_layout
boolean config_raud_draw(LiVESWidget *, LiVESXEventConfigure *, livespointer user_data)
void redraw_timeline(int clipno)
LiVESWidget * spinbuttonw
LiVESWidget * textview_vtime
LiVESWidget * abort_button
LiVESWidget * radiobuttond
boolean expose_laud_draw(LiVESWidget *, lives_painter_t *, livespointer psurf)
void clear_tbar_bgs(int posx, int posy, int width, int height, int which)
aud_dialog_t * create_audfade_dialog(int type)
boolean expose_vid_draw(LiVESWidget *, lives_painter_t *, livespointer psurf)
LiVESWidget * textview_rrate
boolean msg_area_config(LiVESWidget *)
LiVESWidget * delete_button