LiVES  3.0.2
Data Structures | Macros | Enumerations | Functions | Variables
interface.h File Reference

Go to the source code of this file.

Data Structures

struct  lives_clipinfo_t
 
struct  _entryw
 
struct  _insertw
 
struct  _commentsw
 
struct  text_window
 
struct  aud_dialog_t
 
struct  lives_tvcardw_t
 
struct  autolives_window
 
struct  lives_remote_clip_request_t
 

Macros

#define OVERDRAW_MARGIN   16
 
#define CE_HRULE_HEIGHT   ((int)(20. * widget_opts.scale))
 clip editor hrule height More...
 
#define CE_VIDBAR_HEIGHT   ((int)(4. * widget_opts.scale))
 clip edit vid/aud bar height More...
 
#define CE_AUDBAR_HEIGHT   ((int)(16. * widget_opts.scale))
 clip edit vid/aud bar height More...
 
#define MSG_AREA_VMARGIN   10
 
#define LAYOUT_SIZE_MIN   32
 
#define LIVES_PREVIEW_TYPE_VIDEO_AUDIO   1
 
#define LIVES_PREVIEW_TYPE_AUDIO_ONLY   2
 
#define LIVES_PREVIEW_TYPE_RANGE   3
 
#define LIVES_PREVIEW_TYPE_IMAGE_ONLY   4
 
#define LIVES_FILE_SELECTION_UNDEFINED   0
 
#define LIVES_FILE_SELECTION_VIDEO_AUDIO   1
 
#define LIVES_FILE_SELECTION_AUDIO_ONLY   2
 
#define LIVES_FILE_SELECTION_VIDEO_AUDIO_MULTI   3
 
#define LIVES_FILE_SELECTION_VIDEO_RANGE   4
 
#define LIVES_FILE_SELECTION_IMAGE_ONLY   5
 
#define LIVES_FILE_SELECTION_SAVE   6
 
#define DEF_AUD_FADE_SECS   10.
 default time to offer fade audio in/out for More...
 
#define MIN_MSGBOX_WIDTH   ((int)(620. * widget_opts.scale))
 
#define TB_WIDTH   ((int)(200.*widget_opts.scale))
 
#define TB_HEIGHT_VID   ((int)(80.*widget_opts.scale))
 
#define TB_HEIGHT_AUD   ((int)(50.*widget_opts.scale))
 

Enumerations

enum  lives_size_match_t {
  LIVES_MATCH_UNDEFINED = 0, LIVES_MATCH_NEAREST, LIVES_MATCH_AT_LEAST, LIVES_MATCH_AT_MOST,
  LIVES_MATCH_HIGHEST, LIVES_MATCH_LOWEST, LIVES_MATCH_CHOICE, LIVES_MATCH_SPECIFIED
}
 

Functions

void draw_little_bars (double ptrtime, int which)
 
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 show_playbar_labels (int clipno)
 
void msg_area_scroll (LiVESAdjustment *, livespointer userdata)
 
void msg_area_scroll_to_end (LiVESWidget *, LiVESAdjustment *)
 
boolean on_msg_area_scroll (LiVESWidget *, LiVESXEventScroll *, livespointer user_data)
 
 EXPOSE_FN_PROTOTYPE (expose_msg_area)
 
LiVESWidget * create_info_error_dialog (lives_dialog_t info_type, const char *text, LiVESWindow *transient, int mask, boolean is_blocking)
 
LiVESWidget * create_opensel_dialog (void)
 
LiVESWidget * create_encoder_prep_dialog (const char *text1, const char *text2, boolean opt_resize)
 
void widget_add_preview (LiVESWidget *widget, LiVESBox *for_preview, LiVESBox *for_button, LiVESBox *for_deinterlace, int preview_type)
 for fileselector preview More...
 
boolean do_audio_choice_dialog (short startup_phase)
 
boolean do_layout_recover_dialog (void)
 
void do_keys_window (void)
 
void do_mt_keys_window (void)
 
LiVESWidget * create_cleardisk_advanced_dialog (void)
 
LiVESWidget * make_autoreload_check (LiVESHBox *parent, boolean is_active)
 
lives_clipinfo_tcreate_clip_info_window (int audio_channels, boolean is_mt)
 
_entrywcreate_rename_dialog (int type)
 
_entrywcreate_location_dialog (void)
 
_entrywcreate_cds_dialog (int type)
 
_insertwcreate_insert_dialog (void)
 
_commentswcreate_comments_dialog (lives_clip_t *sfile, char *filename)
 
text_windowcreate_text_window (const char *title_part, const char *text, LiVESTextBuffer *)
 
aud_dialog_tcreate_audfade_dialog (int type)
 
LiVESWidget * create_combo_dialog (int type, LiVESList *list)
 
xprocesscreate_processing (const char *text)
 
xprocesscreate_threaded_dialog (char *text, boolean has_cancel, boolean *td_had_focus)
 
void add_to_clipmenu (void)
 
void remove_from_clipmenu (void)
 
void make_play_window (void)
 
void resize_play_window (void)
 
void kill_play_window (void)
 
void make_preview_box (void)
 
void play_window_set_title (void)
 
void add_to_playframe (void)
 
LiVESWidget * create_cdtrack_dialog (int type, livespointer user_data)
 
autolives_windowautolives_pre_dialog (void)
 
LiVESTextView * create_output_textview (void)
 
char * choose_file (const char *dir, const char *fname, char **const filt, LiVESFileChooserAction act, const char *title, LiVESWidget *extra)
 
LiVESWidget * choose_file_with_preview (const char *dir, const char *title, char **const filt, int preview_type)
 
void add_suffix_check (LiVESBox *box, const char *ext)
 
const lives_special_aspect_tadd_aspect_ratio_button (LiVESSpinButton *sp_width, LiVESSpinButton *sp_height, LiVESBox *container)
 
lives_remote_clip_request_trun_youtube_dialog (void)
 
boolean youtube_select_format (lives_remote_clip_request_t *)
 

Variables

_commentswcommentsw
 
_entrywrenamew
 
_entrywlocw
 
_insertwinsertw
 
text_windowtextwindow
 

Macro Definition Documentation

◆ CE_AUDBAR_HEIGHT

#define CE_AUDBAR_HEIGHT   ((int)(16. * widget_opts.scale))

clip edit vid/aud bar height

◆ CE_HRULE_HEIGHT

#define CE_HRULE_HEIGHT   ((int)(20. * widget_opts.scale))

clip editor hrule height

◆ CE_VIDBAR_HEIGHT

#define CE_VIDBAR_HEIGHT   ((int)(4. * widget_opts.scale))

clip edit vid/aud bar height

◆ DEF_AUD_FADE_SECS

#define DEF_AUD_FADE_SECS   10.

default time to offer fade audio in/out for

◆ LAYOUT_SIZE_MIN

#define LAYOUT_SIZE_MIN   32

◆ LIVES_FILE_SELECTION_AUDIO_ONLY

#define LIVES_FILE_SELECTION_AUDIO_ONLY   2

◆ LIVES_FILE_SELECTION_IMAGE_ONLY

#define LIVES_FILE_SELECTION_IMAGE_ONLY   5

◆ LIVES_FILE_SELECTION_SAVE

#define LIVES_FILE_SELECTION_SAVE   6

◆ LIVES_FILE_SELECTION_UNDEFINED

#define LIVES_FILE_SELECTION_UNDEFINED   0

◆ LIVES_FILE_SELECTION_VIDEO_AUDIO

#define LIVES_FILE_SELECTION_VIDEO_AUDIO   1

◆ LIVES_FILE_SELECTION_VIDEO_AUDIO_MULTI

#define LIVES_FILE_SELECTION_VIDEO_AUDIO_MULTI   3

◆ LIVES_FILE_SELECTION_VIDEO_RANGE

#define LIVES_FILE_SELECTION_VIDEO_RANGE   4

◆ LIVES_PREVIEW_TYPE_AUDIO_ONLY

#define LIVES_PREVIEW_TYPE_AUDIO_ONLY   2

◆ LIVES_PREVIEW_TYPE_IMAGE_ONLY

#define LIVES_PREVIEW_TYPE_IMAGE_ONLY   4

◆ LIVES_PREVIEW_TYPE_RANGE

#define LIVES_PREVIEW_TYPE_RANGE   3

◆ LIVES_PREVIEW_TYPE_VIDEO_AUDIO

#define LIVES_PREVIEW_TYPE_VIDEO_AUDIO   1

◆ MIN_MSGBOX_WIDTH

#define MIN_MSGBOX_WIDTH   ((int)(620. * widget_opts.scale))

◆ MSG_AREA_VMARGIN

#define MSG_AREA_VMARGIN   10

◆ OVERDRAW_MARGIN

#define OVERDRAW_MARGIN   16

◆ TB_HEIGHT_AUD

#define TB_HEIGHT_AUD   ((int)(50.*widget_opts.scale))

◆ TB_HEIGHT_VID

#define TB_HEIGHT_VID   ((int)(80.*widget_opts.scale))

◆ TB_WIDTH

#define TB_WIDTH   ((int)(200.*widget_opts.scale))

Enumeration Type Documentation

◆ lives_size_match_t

Enumerator
LIVES_MATCH_UNDEFINED 
LIVES_MATCH_NEAREST 
LIVES_MATCH_AT_LEAST 
LIVES_MATCH_AT_MOST 
LIVES_MATCH_HIGHEST 
LIVES_MATCH_LOWEST 
LIVES_MATCH_CHOICE 
LIVES_MATCH_SPECIFIED 

Function Documentation

◆ add_aspect_ratio_button()

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

◆ add_suffix_check()

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

◆ add_to_clipmenu()

void add_to_clipmenu ( void  )

◆ add_to_playframe()

void add_to_playframe ( void  )

◆ 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 
)

◆ choose_file_with_preview()

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

◆ 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_part,
const char *  text,
LiVESTextBuffer *   
)

◆ create_threaded_dialog()

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

◆ do_audio_choice_dialog()

boolean do_audio_choice_dialog ( short  startup_phase)

◆ 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_PROTOTYPE()

EXPOSE_FN_PROTOTYPE ( expose_msg_area  )

◆ kill_play_window()

void kill_play_window ( void  )

◆ lives_ce_update_timeline()

double lives_ce_update_timeline ( int  frame,
double  x 
)

pointer position in timeline

◆ make_autoreload_check()

LiVESWidget* make_autoreload_check ( LiVESHBox *  parent,
boolean  is_active 
)

◆ make_play_window()

void make_play_window ( void  )

◆ make_preview_box()

void make_preview_box ( void  )

◆ msg_area_scroll()

void msg_area_scroll ( LiVESAdjustment *  ,
livespointer  userdata 
)

◆ msg_area_scroll_to_end()

void msg_area_scroll_to_end ( LiVESWidget *  ,
LiVESAdjustment *   
)

◆ on_msg_area_scroll()

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

◆ play_window_set_title()

void play_window_set_title ( void  )

◆ redraw_timer_bars()

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

paint a damage region

◆ remove_from_clipmenu()

void remove_from_clipmenu ( void  )

◆ resize_play_window()

void resize_play_window ( void  )

◆ 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_deinterlace,
int  preview_type 
)

for fileselector preview

◆ youtube_select_format()

boolean youtube_select_format ( lives_remote_clip_request_t )

Variable Documentation

◆ commentsw

_commentsw* commentsw

◆ insertw

_insertw* insertw

◆ locw

_entryw* locw

◆ renamew

_entryw* renamew

◆ textwindow

text_window* textwindow