gui/widgets/velocity.h file

Velocity widget.

Contents

Functions

G_DECLARE_FINAL_TYPE(VelocityWidget, velocity_widget, Z, VELOCITY_WIDGET, GtkBox) typedef struct _VelocityWidget
auto velocity_widget_new(Velocity* velocity) -> VelocityWidget*
Creates a velocity.
auto velocity_widget_is_resize(VelocityWidget* self, int y) -> int
Returns if the current position is for resizing.
void velocity_widget_update_tooltip(VelocityWidget* self, int show)
Updates the tooltips and shows the tooltip window (when dragging) or not.

Function documentation

G_DECLARE_FINAL_TYPE(VelocityWidget, velocity_widget, Z, VELOCITY_WIDGET, GtkBox) typedef struct _VelocityWidget

The drawing area.

The Velocity associated with this.

If cursor is at resizing position.