LiVES 2.4.6

- Main Page
- Namespaces
- Data Structures
- Files

- File List
- Globals

All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
lbindings.h
Go to the documentation of this file.
1 // bindings.h
2 // LiVES (lives-exe)
3 // (c) G. Finch <salsaman@gmail.com> 2015
4 // Released under the GPL 3 or later
5 // see file ../COPYING for licensing details
6
7 #ifndef HAS_LIVES_LBINDINGS_H
8 #define HAS_LIVES_LBINDINGS_H
9
10 #ifndef __cplusplus
11
12 #ifdef IS_LIBLIVES
13 void binding_cb(int msgnumber, const char *msgstring, ulong myid);
14
15 #endif
16
17 #endif
18
19 #define pad4(val) ((int)((val+4)/4)*4)
20
21 int padup(char **str, int arglen);
22 int add_int_arg(char **str, int arglen, int val);
23
24
25 boolean start_player(void);
26 boolean idle_stop_playback(ulong id);
27
28 boolean idle_quit(pthread_t *gtk_thread);
29
30 boolean idle_show_info(const char *text, boolean blocking, ulong id);
31 boolean idle_save_set(const char *name, boolean force_append, ulong id);
32 boolean idle_choose_file_with_preview(const char *dirname, const char *title, int preview_type, ulong id);
33 boolean idle_open_file(const char *fname, double stime, int frames, ulong id);
34 boolean idle_set_interactive(boolean setting, ulong id);
35 boolean idle_choose_set(ulong id);
36 boolean idle_reload_set(const char *setname, ulong id);
37 boolean idle_set_set_name(ulong id);
38 boolean idle_set_pref_bool(int prefidx, boolean val, ulong id);
39 boolean idle_set_pref_int(int prefidx, int val, ulong id);
40 boolean idle_set_pref_bitmapped(int prefidx, int bitfield, boolean val, ulong id);
41 boolean idle_switch_clip(int type, int cnum, ulong id);
42 boolean idle_unmap_effects(ulong id);
43 boolean idle_map_fx(int key, int mode, int idx, ulong id);
44 boolean idle_unmap_fx(int key, int mode, ulong id);
45 boolean idle_fx_setmode(int key, int mode, ulong id);
46 boolean idle_fx_enable(int key, boolean setting, ulong id);
47 boolean idle_set_fullscreen_sepwin(boolean setting, ulong id);
48 boolean idle_set_fullscreen(boolean setting, ulong id);
49 boolean idle_set_sepwin(boolean setting, ulong id);
50 boolean idle_set_if_mode(int mode, ulong id);
51 boolean idle_insert_block(int clipno, boolean ign_sel, boolean with_audio, ulong id);
52 boolean idle_remove_block(ulong block_id, ulong id);
53 boolean idle_move_block(ulong block_uid, int track, double time, ulong id);
54 boolean idle_mt_set_track(int tnum, ulong id);
55 boolean idle_set_current_time(double time, ulong id);
56 boolean idle_set_current_audio_time(double time, ulong id);
57 boolean idle_set_current_frame(int frame, boolean bg, ulong id);
58 boolean idle_wipe_layout(boolean force, ulong id);
59 boolean idle_choose_layout(ulong id);
60 boolean idle_save_layout(const char *lname, ulong id);
61 boolean idle_reload_layout(const char *lname, ulong id);
62 boolean idle_render_layout(boolean with_aud, boolean normalise_aud, ulong id);
63 boolean idle_select_all(int cnum, ulong id);
64 boolean idle_select_start(int cnum, int frame, ulong id);
65 boolean idle_select_end(int cnum, int frame, ulong id);
66 boolean idle_set_current_fps(double fps, ulong id);
67 boolean idle_set_loop_mode(int mode, ulong id);
68 boolean idle_set_ping_pong(boolean setting, ulong id);
69 boolean idle_resync_fps(ulong id);
70 boolean idle_cancel_proc(ulong id);
71 boolean idle_set_track_label(int tnum, const char *label, ulong id);
72 boolean idle_insert_vtrack(boolean in_front, ulong id);
73 boolean idle_set_gravity(int grav, ulong id);
74 boolean idle_set_insert_mode(int mode, ulong id);
75
76 ulong *get_unique_ids(void);
77 int cnum_for_uid(ulong uid);
78
79 int get_first_fx_matched(const char *package, const char *fxname, const char *author, int version);
80 int get_num_mapped_modes_for_key(int i);
81 int get_current_mode_for_key(int key);
82 boolean get_rte_key_is_enabled(int key);
83
84 #endif //HAS_LIVES_LBINDINGS_H
idle_move_block
boolean idle_move_block(ulong uid, int track, double time, ulong id)
Definition: lbindings.c:1728
idle_unmap_fx
boolean idle_unmap_fx(int key, int mode, ulong id)
Definition: lbindings.c:1584
get_num_mapped_modes_for_key
int get_num_mapped_modes_for_key(int key)
Definition: lbindings.c:361
idle_save_layout
boolean idle_save_layout(const char *lname, ulong id)
Definition: lbindings.c:1801
idle_set_track_label
boolean idle_set_track_label(int tnum, const char *label, ulong id)
Definition: lbindings.c:1275
idle_show_info
boolean idle_show_info(const char *text, boolean blocking, ulong id)
idlefunc hooks
Definition: lbindings.c:1231
idle_set_if_mode
boolean idle_set_if_mode(lives_interface_mode_t mode, ulong id)
Definition: lbindings.c:1677
padup
int padup(char **str, int arglen)
osc utils
Definition: lbindings.c:150
idle_mt_set_track
boolean idle_mt_set_track(int tnum, ulong id)
Definition: lbindings.c:1261
cnum_for_uid
int cnum_for_uid(ulong uid)
Definition: lbindings.c:243
idle_set_fullscreen_sepwin
boolean idle_set_fullscreen_sepwin(boolean setting, ulong id)
Definition: lbindings.c:1513
idle_map_fx
boolean idle_map_fx(int key, int mode, int idx, ulong id)
Definition: lbindings.c:1568
idle_reload_layout
boolean idle_reload_layout(const char *lname, ulong id)
Definition: lbindings.c:1784
idle_wipe_layout
boolean idle_wipe_layout(boolean force, ulong id)
Definition: lbindings.c:1753
idle_set_pref_bool
boolean idle_set_pref_bool(int prefidx, boolean val, ulong id)
Definition: lbindings.c:1633
idle_set_pref_bitmapped
boolean idle_set_pref_bitmapped(int prefidx, int bitfield, boolean val, ulong id)
Definition: lbindings.c:1661
idle_unmap_effects
boolean idle_unmap_effects(ulong id)
Definition: lbindings.c:1335
idle_set_current_frame
boolean idle_set_current_frame(int frame, boolean bg, ulong id)
Definition: lbindings.c:1896
idle_reload_set
boolean idle_reload_set(const char *setname, ulong id)
Definition: lbindings.c:1453
idle_set_current_time
boolean idle_set_current_time(double time, ulong id)
Definition: lbindings.c:1305
idle_set_gravity
boolean idle_set_gravity(int grav, ulong id)
Definition: lbindings.c:1541
version
const char * version(void)
idle_set_ping_pong
boolean idle_set_ping_pong(boolean setting, ulong id)
Definition: lbindings.c:1527
idle_fx_enable
boolean idle_fx_enable(int key, boolean setting, ulong id)
Definition: lbindings.c:1617
idle_quit
boolean idle_quit(pthread_t *gtk_thread)
Definition: lbindings.c:1354
idle_set_insert_mode
boolean idle_set_insert_mode(int mode, ulong id)
Definition: lbindings.c:1554
idle_choose_file_with_preview
boolean idle_choose_file_with_preview(const char *dirname, const char *title, int preview_type, ulong id)
Definition: lbindings.c:1391
add_int_arg
int add_int_arg(char **str, int arglen, int val)
Definition: lbindings.c:160
idle_set_sepwin
boolean idle_set_sepwin(boolean setting, ulong id)
Definition: lbindings.c:1487
idle_choose_set
boolean idle_choose_set(ulong id)
Definition: lbindings.c:1412
idle_render_layout
boolean idle_render_layout(boolean with_aud, boolean normalise_aud, ulong id)
Definition: lbindings.c:1818
idle_resync_fps
boolean idle_resync_fps(ulong id)
Definition: lbindings.c:1925
get_rte_key_is_enabled
boolean get_rte_key_is_enabled(int key)
Definition: lbindings.c:371
idle_select_end
boolean idle_select_end(int cnum, int frame, ulong id)
Definition: lbindings.c:1865
idle_set_set_name
boolean idle_set_set_name(ulong id)
Definition: lbindings.c:1427
ulong
#define ulong
Definition: main.h:148
idle_insert_block
boolean idle_insert_block(int clipno, boolean ign_sel, boolean with_audio, ulong id)
Definition: lbindings.c:1692
idle_switch_clip
boolean idle_switch_clip(int type, int cnum, ulong id)
Definition: lbindings.c:1246
idle_choose_layout
boolean idle_choose_layout(ulong id)
Definition: lbindings.c:1769
idle_cancel_proc
boolean idle_cancel_proc(ulong id)
Definition: lbindings.c:1938
idle_remove_block
boolean idle_remove_block(ulong uid, ulong id)
Definition: lbindings.c:1709
idle_select_start
boolean idle_select_start(int cnum, int frame, ulong id)
Definition: lbindings.c:1849
idle_set_loop_mode
boolean idle_set_loop_mode(int mode, ulong id)
Definition: lbindings.c:1911
idle_save_set
boolean idle_save_set(const char *name, boolean force_append, ulong id)
Definition: lbindings.c:1365
idle_select_all
boolean idle_select_all(int cnum, ulong id)
Definition: lbindings.c:1835
start_player
boolean start_player(void)
Definition: lbindings.c:262
idle_set_fullscreen
boolean idle_set_fullscreen(boolean setting, ulong id)
Definition: lbindings.c:1500
get_first_fx_matched
int get_first_fx_matched(const char *package, const char *fxname, const char *author, int version)
Definition: lbindings.c:352
idle_set_pref_int
boolean idle_set_pref_int(int prefidx, int val, ulong id)
Definition: lbindings.c:1647
get_unique_ids
ulong * get_unique_ids(void)
utility functions for liblives /////
Definition: lbindings.c:219
idle_set_interactive
boolean idle_set_interactive(boolean setting, ulong id)
Definition: lbindings.c:1474
binding_cb
void binding_cb(lives_callback_t cb_type, const char *msgstring, ulong id)
Definition: liblives.cpp:2362
idle_set_current_fps
boolean idle_set_current_fps(double fps, ulong id)
Definition: lbindings.c:1881
idle_stop_playback
boolean idle_stop_playback(ulong id)
Definition: lbindings.c:1344
idle_insert_vtrack
boolean idle_insert_vtrack(boolean in_front, ulong id)
Definition: lbindings.c:1291
idle_set_current_audio_time
boolean idle_set_current_audio_time(double time, ulong id)
Definition: lbindings.c:1319
idle_fx_setmode
boolean idle_fx_setmode(int key, int mode, ulong id)
Definition: lbindings.c:1601
idle_open_file
boolean idle_open_file(const char *fname, double stime, int frames, ulong id)
Definition: lbindings.c:1435
get_current_mode_for_key
int get_current_mode_for_key(int key)
Definition: lbindings.c:366