mirror of
https://github.com/brl/mutter.git
synced 2024-11-26 01:50:42 -05:00
b1847959b1
Sat Feb 25 11:46:14 2006 Søren Sandmann <sandmann@redhat.com> * src/display.c (meta_display_begin_grab_op): Call meta_compositor_begin_move if there is a compositor * src/compositor.c (meta_compositor_begin/update/end_move): Implement those functions. * src/spring-model.[ch]: New files
32 lines
657 B
C
32 lines
657 B
C
#include "window.h"
|
|
|
|
typedef struct XYPair Point;
|
|
typedef struct XYPair Vector;
|
|
typedef struct Spring Spring;
|
|
typedef struct Object Object;
|
|
typedef struct Model Model;
|
|
|
|
Model *model_new (MetaRectangle *rectangle,
|
|
gboolean expand);
|
|
void model_destroy (Model *model);
|
|
void
|
|
model_get_position (Model *model,
|
|
int i,
|
|
int j,
|
|
double *x,
|
|
double *y);
|
|
void
|
|
model_step (Model *model);
|
|
void
|
|
model_destroy (Model *model);
|
|
gboolean
|
|
model_is_calm (Model *model);
|
|
void
|
|
model_set_anchor (Model *model,
|
|
int x,
|
|
int y);
|
|
void
|
|
model_begin_move (Model *model, int x, int y);
|
|
void
|
|
model_update_move (Model *model, int x, int y);
|