LiVES
3.2.0
|
#include "main.h"
#include "callbacks.h"
#include "interface.h"
#include "effects.h"
#include "rfx-builder.h"
#include "paramwindow.h"
#include "resample.h"
#include "rte_window.h"
#include "stream.h"
#include "startup.h"
#include "ce_thumbs.h"
Go to the source code of this file.
Macros | |
#define | TEST_CE_THUMBS 0 |
#define | ASPECT_DIFF_LMT 0.01625f |
#define | MAX_DISP_SETNAME_LEN 10 |
Functions | |
LIVES_GLOBAL_INLINE int | get_vspace (void) |
void | load_theme_images (void) |
void | make_custom_submenus (void) |
void | set_colours (LiVESWidgetColor *colf, LiVESWidgetColor *colb, LiVESWidgetColor *colf2, LiVESWidgetColor *colb2, LiVESWidgetColor *colt, LiVESWidgetColor *coli) |
void | create_LiVES (void) |
void | show_lives (void) |
void | set_interactive (boolean interactive) |
void | fade_background (void) |
void | unfade_background (void) |
void | fullscreen_internal (void) |
void | set_preview_box_colours (void) |
void | make_preview_box (void) |
void | enable_record (void) |
void | toggle_record (void) |
void | disable_record (void) |
void | play_window_set_title (void) |
void | resize_widgets_for_monitor (boolean do_get_play_times) |
void | make_play_window (void) |
actually in gui.c More... | |
LIVES_GLOBAL_INLINE boolean | get_play_screen_size (int *opwidth, int *opheight) |
void | resize_play_window (void) |
void | kill_play_window (void) |
void | get_letterbox_sizes (int *pwidth, int *pheight, int *lb_width, int *lb_height, boolean player_can_upscale) |
calculate sizes for letterboxing More... | |
void | add_to_playframe (void) |
LIVES_GLOBAL_INLINE void | frame_size_update (void) |
char * | get_menu_name (lives_clip_t *sfile, boolean add_setname) |
void | add_to_clipmenu (void) |
void | remove_from_clipmenu (void) |
void | splash_init (void) |
void | splash_msg (const char *msg, double pct) |
void | splash_end (void) |
void | reset_message_area (void) |
void add_to_clipmenu | ( | void | ) |
Definition at line 4512 of file gui.c.
Referenced by after_foreign_play(), do_effect(), on_load_cdtrack_ok_clicked(), on_paste_as_new_activate(), on_recaudclip_ok_clicked(), on_render_activate(), render_to_clip(), and resize_widgets_for_monitor().
void add_to_playframe | ( | void | ) |
Definition at line 4451 of file gui.c.
Referenced by mt_show_current_frame().
void create_LiVES | ( | void | ) |
Definition at line 366 of file gui.c.
Referenced by resize_widgets_for_monitor().
void enable_record | ( | void | ) |
Definition at line 3706 of file gui.c.
Referenced by on_record_perf_activate().
void fade_background | ( | void | ) |
Definition at line 3216 of file gui.c.
Referenced by on_fade_activate(), and on_sepwin_activate().
LIVES_GLOBAL_INLINE void frame_size_update | ( | void | ) |
void fullscreen_internal | ( | void | ) |
Definition at line 3440 of file gui.c.
Referenced by on_sepwin_activate(), and on_toolbar_hide().
void get_letterbox_sizes | ( | int * | pwidth, |
int * | pheight, | ||
int * | lb_width, | ||
int * | lb_height, | ||
boolean | player_can_upscale | ||
) |
calculate sizes for letterboxing
if the player can resize, then we only need to consider the aspect ratio. we will embed the image in a black rectangle to give it the same aspect ratio as the player; thus when it gets stretched to the player size the inner image wil not be distorted so here we check: if we keep the same height, and then set the width to the player a.r, does it increase ? if so then our outer rectangle will be wider, othewise it will be higher (or the same, in which case we dont do anything)
widths should be in pixels (not macropixels)
inner frame needs scaling down
inner frame size OK, we will shrink wrap the outer frame
char* get_menu_name | ( | lives_clip_t * | sfile, |
boolean | add_setname | ||
) |
Definition at line 4487 of file gui.c.
Referenced by add_to_clipmenu(), create_clip_info_window(), d_print(), on_close_activate(), and remove_from_clipmenu().
LIVES_GLOBAL_INLINE boolean get_play_screen_size | ( | int * | opwidth, |
int * | opheight | ||
) |
Definition at line 3937 of file gui.c.
Referenced by get_player_size().
LIVES_GLOBAL_INLINE int get_vspace | ( | void | ) |
void kill_play_window | ( | void | ) |
Definition at line 4386 of file gui.c.
Referenced by on_sepwin_activate(), and pref_factory_int().
void load_theme_images | ( | void | ) |
Definition at line 65 of file gui.c.
Referenced by on_import_theme_activate(), and on_prefs_apply_clicked().
void make_custom_submenus | ( | void | ) |
Definition at line 126 of file gui.c.
Referenced by add_rfx_effects2().
void make_play_window | ( | void | ) |
actually in gui.c
Definition at line 3932 of file gui.c.
Referenced by on_sepwin_activate(), and pref_factory_int().
void make_preview_box | ( | void | ) |
Definition at line 3515 of file gui.c.
Referenced by switch_to_file().
void play_window_set_title | ( | void | ) |
Definition at line 3722 of file gui.c.
Referenced by pref_factory_int(), set_main_title(), and vid_playback_plugin_exit().
void remove_from_clipmenu | ( | void | ) |
Definition at line 4560 of file gui.c.
Referenced by close_current_file().
void reset_message_area | ( | void | ) |
Definition at line 4734 of file gui.c.
Referenced by switch_to_file().
void resize_play_window | ( | void | ) |
Definition at line 4349 of file gui.c.
Referenced by on_double_size_activate(), on_sepwin_activate(), resize_widgets_for_monitor(), and switch_to_file().
void resize_widgets_for_monitor | ( | boolean | do_get_play_times | ) |
create a fake event list with no events this prevents problems like the multitrack window trying to auto reload from disk
Definition at line 3752 of file gui.c.
Referenced by config_event().
void set_colours | ( | LiVESWidgetColor * | colf, |
LiVESWidgetColor * | colb, | ||
LiVESWidgetColor * | colf2, | ||
LiVESWidgetColor * | colb2, | ||
LiVESWidgetColor * | colt, | ||
LiVESWidgetColor * | coli | ||
) |
no theme !
Definition at line 168 of file gui.c.
Referenced by fade_background(), pref_change_colours(), and show_lives().
void set_interactive | ( | boolean | interactive | ) |
Definition at line 3072 of file gui.c.
Referenced by resize_widgets_for_monitor().
void set_preview_box_colours | ( | void | ) |
Definition at line 3505 of file gui.c.
Referenced by make_preview_box(), and pref_change_colours().
void show_lives | ( | void | ) |
Definition at line 3006 of file gui.c.
Referenced by resize_widgets_for_monitor().
void splash_end | ( | void | ) |
Definition at line 4712 of file gui.c.
Referenced by startup_message_fatal().
void toggle_record | ( | void | ) |
Definition at line 3712 of file gui.c.
Referenced by on_record_perf_activate().
void unfade_background | ( | void | ) |
Definition at line 3324 of file gui.c.
Referenced by on_fade_activate(), and on_sepwin_activate().