20
20
#define __GIMP_DISPLAY_SHELL_SELECTION_H__
25
GimpDisplayShell *shell; /* shell that owns the selection */
26
GdkSegment *segs_in; /* gdk segments of area boundary */
27
GdkSegment *segs_out; /* gdk segments of area boundary */
28
GdkSegment *segs_layer; /* gdk segments of area boundary */
29
gint num_segs_in; /* number of segments in segs1 */
30
gint num_segs_out; /* number of segments in segs2 */
31
gint num_segs_layer; /* number of segments in segs3 */
32
guint index; /* index of current stipple pattern */
33
gint state; /* internal drawing state */
34
gint paused; /* count of pause requests */
35
gboolean recalc; /* flag to recalculate the selection */
36
gboolean hidden; /* is the selection hidden? */
37
gboolean layer_hidden; /* is the layer boundary hidden? */
38
guint timeout_id; /* timer for successive draws */
39
GdkPoint *points_in[8]; /* points of segs_in for fast ants */
40
gint num_points_in[8]; /* number of points in points_in */
44
Selection * gimp_display_shell_selection_new (GimpDisplayShell *shell);
45
void gimp_display_shell_selection_free (Selection *select);
47
void gimp_display_shell_selection_pause (Selection *select);
48
void gimp_display_shell_selection_resume (Selection *select);
50
void gimp_display_shell_selection_start (Selection *select,
52
void gimp_display_shell_selection_invis (Selection *select);
53
void gimp_display_shell_selection_layer_invis (Selection *select);
55
void gimp_display_shell_selection_set_hidden (Selection *select,
57
void gimp_display_shell_selection_layer_set_hidden (Selection *select,
23
void gimp_display_shell_selection_init (GimpDisplayShell *shell);
24
void gimp_display_shell_selection_free (GimpDisplayShell *shell);
26
void gimp_display_shell_selection_control (GimpDisplayShell *shell,
27
GimpSelectionControl control);
29
void gimp_display_shell_selection_set_hidden (GimpDisplayShell *shell,
31
void gimp_display_shell_selection_layer_set_hidden (GimpDisplayShell *shell,
61
35
#endif /* __GIMP_DISPLAY_SHELL_SELECTION_H__ */