mirror of
https://github.com/game-stop/veejay.git
synced 2025-12-21 15:20:02 +01:00
reloaded : get ride of warnings
This commit is contained in:
@@ -359,7 +359,7 @@ void on_manualopacity_value_changed(GtkWidget *w, gpointer user_data)
|
|||||||
return;
|
return;
|
||||||
|
|
||||||
gdouble val = GTK_ADJUSTMENT(GTK_RANGE(w)->adjustment)->value;
|
gdouble val = GTK_ADJUSTMENT(GTK_RANGE(w)->adjustment)->value;
|
||||||
int mode = is_button_toggled("toggle_fademethod");
|
/* int mode = */is_button_toggled("toggle_fademethod");
|
||||||
// int value = ( mode == 1 ? 0xff - (int) val : (int) val );
|
// int value = ( mode == 1 ? 0xff - (int) val : (int) val );
|
||||||
int value = (int) val;
|
int value = (int) val;
|
||||||
|
|
||||||
|
|||||||
@@ -665,7 +665,7 @@ void reset_samplebank(void);
|
|||||||
int verify_bank_capacity(int *bank_page_, int *slot_, int sample_id, int sample_type );
|
int verify_bank_capacity(int *bank_page_, int *slot_, int sample_id, int sample_type );
|
||||||
static void widget_get_rect_in_screen (GtkWidget *widget, GdkRectangle *r);
|
static void widget_get_rect_in_screen (GtkWidget *widget, GdkRectangle *r);
|
||||||
static void update_curve_widget(const char *name);
|
static void update_curve_widget(const char *name);
|
||||||
static void update_curve_accessibility(const char *name);
|
/* not used */ /* static void update_curve_accessibility(const char *name); */
|
||||||
static void reset_tree(const char *name);
|
static void reset_tree(const char *name);
|
||||||
static void reload_srt();
|
static void reload_srt();
|
||||||
static void reload_fontlist();
|
static void reload_fontlist();
|
||||||
@@ -676,7 +676,7 @@ int get_and_draw_frame(int type, char *wid_name);
|
|||||||
GdkPixbuf *vj_gdk_pixbuf_scale_simple( GdkPixbuf *src, int dw, int dh, GdkInterpType inter_type );
|
GdkPixbuf *vj_gdk_pixbuf_scale_simple( GdkPixbuf *src, int dw, int dh, GdkInterpType inter_type );
|
||||||
static void vj_kf_refresh();
|
static void vj_kf_refresh();
|
||||||
static void vj_kf_reset();
|
static void vj_kf_reset();
|
||||||
static int vj_kf_is_displayed();
|
/* not used */ /* static int vj_kf_is_displayed(); */
|
||||||
|
|
||||||
void reset_cali_images( int type, char *wid_name );
|
void reset_cali_images( int type, char *wid_name );
|
||||||
|
|
||||||
@@ -2390,6 +2390,7 @@ static void vj_kf_reset()
|
|||||||
update_label_str( "curve_parameter",FX_PARAMETER_DEFAULT_NAME);
|
update_label_str( "curve_parameter",FX_PARAMETER_DEFAULT_NAME);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* not used
|
||||||
static int vj_kf_is_displayed()
|
static int vj_kf_is_displayed()
|
||||||
{
|
{
|
||||||
GtkWidget *ww = glade_xml_get_widget_( info->main_window, crappy_design[ui_skin_].name );
|
GtkWidget *ww = glade_xml_get_widget_( info->main_window, crappy_design[ui_skin_].name );
|
||||||
@@ -2398,6 +2399,7 @@ static int vj_kf_is_displayed()
|
|||||||
return 1;
|
return 1;
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
static void vj_kf_refresh()
|
static void vj_kf_refresh()
|
||||||
{
|
{
|
||||||
@@ -2487,6 +2489,7 @@ static void update_curve_widget(const char *name)
|
|||||||
if(blob) free(blob);
|
if(blob) free(blob);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Not used
|
||||||
static void update_curve_accessibility(const char *name)
|
static void update_curve_accessibility(const char *name)
|
||||||
{
|
{
|
||||||
sample_slot_t *s = info->selected_slot;
|
sample_slot_t *s = info->selected_slot;
|
||||||
@@ -2501,6 +2504,7 @@ static void update_curve_accessibility(const char *name)
|
|||||||
enable_widget( "frame_fxtree3" );
|
enable_widget( "frame_fxtree3" );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
static int get_nums(const char *name)
|
static int get_nums(const char *name)
|
||||||
{
|
{
|
||||||
@@ -3482,7 +3486,7 @@ void reportbug ()
|
|||||||
snprintf(URL , sizeof(URL),
|
snprintf(URL , sizeof(URL),
|
||||||
"firefox \"http://groups.google.com/group/veejay-discussion/post?hl=%s\"",l );
|
"firefox \"http://groups.google.com/group/veejay-discussion/post?hl=%s\"",l );
|
||||||
|
|
||||||
printf(URL);
|
puts(URL);
|
||||||
system(URL);
|
system(URL);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -22,11 +22,11 @@
|
|||||||
|
|
||||||
#define DEFAULT_PORT_NUM 3490
|
#define DEFAULT_PORT_NUM 3490
|
||||||
|
|
||||||
int veejay_tick();
|
int veejay_tick();
|
||||||
void *get_ui_info();
|
void *get_ui_info();
|
||||||
void vj_gui_set_geom(int x, int y);
|
void vj_gui_set_geom(int x, int y);
|
||||||
void vj_gui_init(char *glade_file, int launcher, char *hostname, int port_num, int threads,int load_midi, char *midi_file, int beta, int auto_connect);
|
void vj_gui_init(char *glade_file, int launcher, char *hostname, int port_num, int threads,int load_midi, char *midi_file, int beta, int auto_connect);
|
||||||
int vj_gui_reconnect( char *host, char *group, int port);
|
int vj_gui_reconnect( char *host, char *group, int port);
|
||||||
void vj_gui_free();
|
void vj_gui_free();
|
||||||
void vj_fork_or_connect_veejay();
|
void vj_fork_or_connect_veejay();
|
||||||
void vj_gui_wipe();
|
void vj_gui_wipe();
|
||||||
@@ -45,19 +45,19 @@ gboolean is_alive( int *sync );
|
|||||||
int vj_gui_sleep_time( void );
|
int vj_gui_sleep_time( void );
|
||||||
int get_total_frames();
|
int get_total_frames();
|
||||||
int vj_img_cb(GdkPixbuf *img );
|
int vj_img_cb(GdkPixbuf *img );
|
||||||
int vj_get_preview_box_w();
|
int vj_get_preview_box_w();
|
||||||
int vj_get_preview_box_h();
|
int vj_get_preview_box_h();
|
||||||
int _effect_get_minmax( int effect_id, int *min, int *max, int index );
|
int _effect_get_minmax( int effect_id, int *min, int *max, int index );
|
||||||
void vj_gui_cb(int state, char *hostname, int port_num);
|
void vj_gui_cb(int state, char *hostname, int port_num);
|
||||||
void veejay_preview(int p);
|
void veejay_preview(int p);
|
||||||
int is_button_toggled(const char *name);
|
int is_button_toggled(const char *name);
|
||||||
gchar *_utf8str( const char *c_str );
|
gchar *_utf8str( const char *c_str );
|
||||||
void find_user_themes();
|
void find_user_themes();
|
||||||
int gveejay_user_preview();
|
int gveejay_user_preview();
|
||||||
char *get_glade_path();
|
char *get_glade_path();
|
||||||
char *get_gveejay_dir();
|
char *get_gveejay_dir();
|
||||||
int gveejay_restart();
|
int gveejay_restart();
|
||||||
int gveejay_update();
|
int gveejay_update();
|
||||||
int update_gveejay();
|
int update_gveejay();
|
||||||
int veejay_update_multitrack();
|
int veejay_update_multitrack();
|
||||||
void veejay_sleep( void *ui );
|
void veejay_sleep( void *ui );
|
||||||
@@ -65,5 +65,7 @@ int gveejay_time_to_sync( void *ptr );
|
|||||||
void gui_load_theme();
|
void gui_load_theme();
|
||||||
void register_signals();
|
void register_signals();
|
||||||
void gveejay_preview(int p);
|
void gveejay_preview(int p);
|
||||||
|
int gveejay_new_slot(int mode);
|
||||||
|
void set_disable_sample_image(int status);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user