Searched refs:drawingarea (Results 1 – 3 of 3) sorted by relevance
/third_party/gstreamer/gstplugins_good/tests/examples/spectrum/ |
D | demo-osssrc.c | 42 static GtkWidget *drawingarea = NULL; variable 48 drawingarea = NULL; in on_window_destroy() 75 if (!drawingarea) in draw_spectrum() 78 gdk_window_begin_paint_rect (gtk_widget_get_window (drawingarea), &rect); in draw_spectrum() 79 cr = gdk_cairo_create (gtk_widget_get_window (drawingarea)); in draw_spectrum() 91 gdk_window_end_paint (gtk_widget_get_window (drawingarea)); in draw_spectrum() 196 drawingarea = gtk_drawing_area_new (); in main() 197 gtk_widget_set_size_request (drawingarea, spect_bands, spect_height); in main() 198 g_signal_connect (G_OBJECT (drawingarea), "configure-event", in main() 200 gtk_container_add (GTK_CONTAINER (appwindow), drawingarea); in main()
|
D | demo-audiotest.c | 58 static GtkWidget *drawingarea = NULL; variable 65 drawingarea = NULL; in on_window_destroy() 122 if (!drawingarea) in draw_spectrum() 125 gdk_window_begin_paint_rect (gtk_widget_get_window (drawingarea), &rect); in draw_spectrum() 126 cr = gdk_cairo_create (gtk_widget_get_window (drawingarea)); in draw_spectrum() 138 gdk_window_end_paint (gtk_widget_get_window (drawingarea)); in draw_spectrum() 266 drawingarea = gtk_drawing_area_new (); in main() 267 gtk_widget_set_size_request (drawingarea, spect_bands, spect_height); in main() 268 g_signal_connect (G_OBJECT (drawingarea), "configure-event", in main() 270 gtk_box_pack_start (GTK_BOX (vbox), drawingarea, TRUE, TRUE, 0); in main()
|
/third_party/gstreamer/gstplugins_good/tests/examples/equalizer/ |
D | demo.c | 31 static GtkWidget *drawingarea = NULL; variable 39 drawingarea = NULL; in on_window_destroy() 106 if (!drawingarea) in draw_spectrum() 109 gdk_window_begin_paint_rect (gtk_widget_get_window (drawingarea), &rect); in draw_spectrum() 110 cr = gdk_cairo_create (gtk_widget_get_window (drawingarea)); in draw_spectrum() 122 gdk_window_end_paint (gtk_widget_get_window (drawingarea)); in draw_spectrum() 249 drawingarea = gtk_drawing_area_new (); in main() 250 gtk_widget_set_size_request (drawingarea, spect_bands, spect_height); in main() 251 g_signal_connect (G_OBJECT (drawingarea), "configure-event", in main() 253 gtk_box_pack_start (GTK_BOX (vbox), drawingarea, TRUE, TRUE, 0); in main()
|