LiVES  3.0.2
Functions
interface.c File Reference
#include "main.h"
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
#include <string.h>
#include <stdio.h>
#include "callbacks.h"
#include "interface.h"
#include "paramwindow.h"
#include "merge.h"
#include "support.h"
#include "omc-learn.h"

Functions

void multitrack_preview_clicked (LiVESButton *, livespointer user_data)
 
void mt_change_disp_tracks_ok (LiVESButton *, livespointer user_data)
 
void add_suffix_check (LiVESBox *box, const char *ext)
 
void show_playbar_labels (int clipno)
 
double lives_ce_update_timeline (int frame, double x)
 pointer position in timeline More...
 
void update_timer_bars (int posx, int posy, int width, int height, int which)
 draw the timer bars More...
 
void redraw_timer_bars (double oldx, double newx, int which)
 paint a damage region More...
 
void draw_little_bars (double ptrtime, int which)
 
void widget_add_preview (LiVESWidget *widget, LiVESBox *for_preview, LiVESBox *for_button, LiVESBox *for_deint, int preview_type)
 for fileselector preview More...
 
xprocesscreate_threaded_dialog (char *text, boolean has_cancel, boolean *td_had_focus)
 
xprocesscreate_processing (const char *text)
 
lives_clipinfo_tcreate_clip_info_window (int audio_channels, boolean is_mt)
 
LiVESWidget * create_encoder_prep_dialog (const char *text1, const char *text2, boolean opt_resize)
 
LiVESWidget * create_info_error_dialog (lives_dialog_t info_type, const char *text, LiVESWindow *transient, int mask, boolean is_blocking)
 
text_windowcreate_text_window (const char *title, const char *text, LiVESTextBuffer *textbuffer)
 
_insertwcreate_insert_dialog (void)
 
LiVESWidget * create_opensel_dialog (void)
 
_entrywcreate_location_dialog (void)
 
_entrywcreate_rename_dialog (int type)
 
void on_liveinp_advanced_clicked (LiVESButton *button, livespointer user_data)
 
LiVESWidget * create_combo_dialog (int type, LiVESList *list)
 
LiVESWidget * create_cdtrack_dialog (int type, livespointer user_data)
 
aud_dialog_tcreate_audfade_dialog (int type)
 
_commentswcreate_comments_dialog (lives_clip_t *sfile, char *filename)
 
LIVES_INLINE void chooser_response (LiVESWidget *widget, int response, livespointer udata)
 
char * choose_file (const char *dir, const char *fname, char **const filt, LiVESFileChooserAction act, const char *title, LiVESWidget *extra_widget)
 
LiVESWidget * choose_file_with_preview (const char *dir, const char *title, char **const filt, int filesel_type)
 
LIVES_GLOBAL_INLINE LiVESWidget * make_autoreload_check (LiVESHBox *hbox, boolean is_active)
 
_entrywcreate_cds_dialog (int type)
 
boolean do_layout_recover_dialog (void)
 
LiVESWidget * create_cleardisk_advanced_dialog (void)
 
LiVESTextView * create_output_textview (void)
 
void do_keys_window (void)
 
void do_mt_keys_window (void)
 
autolives_windowautolives_pre_dialog (void)
 
const lives_special_aspect_tadd_aspect_ratio_button (LiVESSpinButton *sp_width, LiVESSpinButton *sp_height, LiVESBox *box)
 
lives_remote_clip_request_trun_youtube_dialog (void)
 
boolean youtube_select_format (lives_remote_clip_request_t *req)
 
 EXPOSE_FN_DECL (expose_msg_area, widget)
 
EXPOSE_FN_END LIVES_GLOBAL_INLINE void msg_area_scroll_to_end (LiVESWidget *widget, LiVESAdjustment *adj)
 
void msg_area_scroll (LiVESAdjustment *adj, livespointer userdata)
 
boolean on_msg_area_scroll (LiVESWidget *widget, LiVESXEventScroll *event, livespointer user_data)
 

Function Documentation

◆ add_aspect_ratio_button()

const lives_special_aspect_t* add_aspect_ratio_button ( LiVESSpinButton *  sp_width,
LiVESSpinButton *  sp_height,
LiVESBox *  box 
)

◆ add_suffix_check()

void add_suffix_check ( LiVESBox *  box,
const char *  ext 
)

◆ autolives_pre_dialog()

autolives_window* autolives_pre_dialog ( void  )

◆ choose_file()

char* choose_file ( const char *  dir,
const char *  fname,
char **const  filt,
LiVESFileChooserAction  act,
const char *  title,
LiVESWidget *  extra_widget 
)

◆ choose_file_with_preview()

LiVESWidget* choose_file_with_preview ( const char *  dir,
const char *  title,
char **const  filt,
int  filesel_type 
)

◆ chooser_response()

LIVES_INLINE void chooser_response ( LiVESWidget *  widget,
int  response,
livespointer  udata 
)

◆ create_audfade_dialog()

aud_dialog_t* create_audfade_dialog ( int  type)

◆ create_cds_dialog()

_entryw* create_cds_dialog ( int  type)

◆ create_cdtrack_dialog()

LiVESWidget* create_cdtrack_dialog ( int  type,
livespointer  user_data 
)

◆ create_cleardisk_advanced_dialog()

LiVESWidget* create_cleardisk_advanced_dialog ( void  )

◆ create_clip_info_window()

lives_clipinfo_t* create_clip_info_window ( int  audio_channels,
boolean  is_mt 
)

◆ create_combo_dialog()

LiVESWidget* create_combo_dialog ( int  type,
LiVESList *  list 
)

◆ create_comments_dialog()

_commentsw* create_comments_dialog ( lives_clip_t sfile,
char *  filename 
)

◆ create_encoder_prep_dialog()

LiVESWidget* create_encoder_prep_dialog ( const char *  text1,
const char *  text2,
boolean  opt_resize 
)

◆ create_info_error_dialog()

LiVESWidget* create_info_error_dialog ( lives_dialog_t  info_type,
const char *  text,
LiVESWindow *  transient,
int  mask,
boolean  is_blocking 
)

◆ create_insert_dialog()

_insertw* create_insert_dialog ( void  )

◆ create_location_dialog()

_entryw* create_location_dialog ( void  )

◆ create_opensel_dialog()

LiVESWidget* create_opensel_dialog ( void  )

◆ create_output_textview()

LiVESTextView* create_output_textview ( void  )

◆ create_processing()

xprocess* create_processing ( const char *  text)

◆ create_rename_dialog()

_entryw* create_rename_dialog ( int  type)

◆ create_text_window()

text_window* create_text_window ( const char *  title,
const char *  text,
LiVESTextBuffer *  textbuffer 
)

◆ create_threaded_dialog()

xprocess* create_threaded_dialog ( char *  text,
boolean  has_cancel,
boolean td_had_focus 
)

◆ do_keys_window()

void do_keys_window ( void  )

◆ do_layout_recover_dialog()

boolean do_layout_recover_dialog ( void  )

◆ do_mt_keys_window()

void do_mt_keys_window ( void  )

◆ draw_little_bars()

void draw_little_bars ( double  ptrtime,
int  which 
)

◆ EXPOSE_FN_DECL()

EXPOSE_FN_DECL ( expose_msg_area  ,
widget   
)

◆ lives_ce_update_timeline()

double lives_ce_update_timeline ( int  frame,
double  x 
)

pointer position in timeline

◆ make_autoreload_check()

LIVES_GLOBAL_INLINE LiVESWidget* make_autoreload_check ( LiVESHBox *  hbox,
boolean  is_active 
)

◆ msg_area_scroll()

void msg_area_scroll ( LiVESAdjustment *  adj,
livespointer  userdata 
)

◆ msg_area_scroll_to_end()

EXPOSE_FN_END LIVES_GLOBAL_INLINE void msg_area_scroll_to_end ( LiVESWidget *  widget,
LiVESAdjustment *  adj 
)

◆ mt_change_disp_tracks_ok()

void mt_change_disp_tracks_ok ( LiVESButton *  ,
livespointer  user_data 
)

◆ multitrack_preview_clicked()

void multitrack_preview_clicked ( LiVESButton *  ,
livespointer  user_data 
)

◆ on_liveinp_advanced_clicked()

void on_liveinp_advanced_clicked ( LiVESButton *  button,
livespointer  user_data 
)

◆ on_msg_area_scroll()

boolean on_msg_area_scroll ( LiVESWidget *  widget,
LiVESXEventScroll *  event,
livespointer  user_data 
)

◆ redraw_timer_bars()

void redraw_timer_bars ( double  oldx,
double  newx,
int  which 
)

paint a damage region

◆ run_youtube_dialog()

lives_remote_clip_request_t* run_youtube_dialog ( void  )

◆ show_playbar_labels()

void show_playbar_labels ( int  clipno)

◆ update_timer_bars()

void update_timer_bars ( int  posx,
int  posy,
int  width,
int  height,
int  which 
)

draw the timer bars

◆ widget_add_preview()

void widget_add_preview ( LiVESWidget *  widget,
LiVESBox *  for_preview,
LiVESBox *  for_button,
LiVESBox *  for_deint,
int  preview_type 
)

for fileselector preview

◆ youtube_select_format()

boolean youtube_select_format ( lives_remote_clip_request_t req)