libweston: Migrate functions that operate on 'weston_spring'
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
This commit is contained in:
parent
f1a6594ad7
commit
4e1d0973f5
|
@ -1639,14 +1639,6 @@ weston_view_from_global_fixed(struct weston_view *view,
|
|||
wl_fixed_t x, wl_fixed_t y,
|
||||
wl_fixed_t *vx, wl_fixed_t *vy);
|
||||
|
||||
void
|
||||
weston_spring_init(struct weston_spring *spring,
|
||||
double k, double current, double target);
|
||||
void
|
||||
weston_spring_update(struct weston_spring *spring, const struct timespec *time);
|
||||
int
|
||||
weston_spring_done(struct weston_spring *spring);
|
||||
|
||||
void
|
||||
weston_view_activate(struct weston_view *view,
|
||||
struct weston_seat *seat,
|
||||
|
|
|
@ -263,4 +263,15 @@ weston_surface_to_buffer_region(struct weston_surface *surface,
|
|||
pixman_region32_t *buffer_region);
|
||||
void
|
||||
weston_surface_schedule_repaint(struct weston_surface *surface);
|
||||
|
||||
/* weston_spring */
|
||||
|
||||
void
|
||||
weston_spring_init(struct weston_spring *spring,
|
||||
double k, double current, double target);
|
||||
int
|
||||
weston_spring_done(struct weston_spring *spring);
|
||||
|
||||
void
|
||||
weston_spring_update(struct weston_spring *spring, const struct timespec *time);
|
||||
#endif
|
||||
|
|
|
@ -31,6 +31,7 @@
|
|||
#include <stdbool.h>
|
||||
|
||||
#include <libweston/libweston.h>
|
||||
#include "libweston-internal.h"
|
||||
#include "text-cursor-position-server-protocol.h"
|
||||
#include "shared/helpers.h"
|
||||
|
||||
|
|
Loading…
Reference in New Issue