MCPcopy Create free account
hub / github.com/HandBrake/HandBrake / preview_motion_cb

Function preview_motion_cb

gtk/src/preview.c:855–872  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

853}
854
855G_MODULE_EXPORT void
856preview_motion_cb (GtkEventControllerMotion *econ, double x, double y,
857 GtkWidget *hud)
858{
859 cancel_source_function(hud_timeout_id);
860 hud_timeout_id = 0;
861 if (!gtk_widget_is_visible(hud))
862 {
863 gtk_widget_set_visible(hud, TRUE);
864 cancel_source_function(hud_fade_id);
865 hud_fade_id = g_timeout_add(16, (GSourceFunc)hud_fade_in, hud);
866 }
867
868 if (!in_hud)
869 {
870 hud_timeout_id = g_timeout_add_seconds(4, (GSourceFunc)hud_timeout, hud);
871 }
872}
873
874G_MODULE_EXPORT void
875preview_notify_fullscreen_cb (GtkWindow *window, GParamSpec *pspec, gpointer data)

Callers

nothing calls this directly

Calls 1

cancel_source_functionFunction · 0.85

Tested by

no test coverage detected