~ubuntu-branches/ubuntu/natty/avant-window-navigator/natty

« back to all changes in this revision

Viewing changes to src/awn-background.h

  • Committer: Bazaar Package Importer
  • Author(s): Julien Lavergne
  • Date: 2010-12-17 13:48:28 UTC
  • mfrom: (1.1.9 upstream)
  • Revision ID: james.westby@ubuntu.com-20101217134828-l394fb03wdkxc3mq
Tags: 0.4.1~bzr803-0ubuntu1
* New upstream snapshot.
 - Fix a crash with signal 5 in _XError (LP: #612144)
 - Re-add "move to another workspace" to launcher (LP: #568555)
* debian/patches:
 - 02-ftbfs-python-2.6.patch: Refresh.
 - 03-python-import.patch: Refresh.
 - 04-lda-requierement.patch: New patch, lower desktop-agnostic requierement,
   the version in Natty is enough.
 - Drop all others patches, merged upstream.
* debian/copyright:
 - Update copyright years and upstream authors.
* debian/control:
 - Build-depends on valac-0.10 (>= 0.9.1), to force stable version of Vala.
* debian/libawn1.symbols:
 - Update with new symbols. 

Show diffs side-by-side

added added

removed removed

Lines of Context:
77
77
  GdkPixbuf *pattern_original;
78
78
  cairo_surface_t *pattern;
79
79
 
 
80
  /*  Speedup code.
 
81
   *  We can save the bg and redraw only when properties changes
 
82
   */
 
83
  gboolean          cache_enabled;
 
84
  gboolean          needs_redraw;
 
85
  cairo_surface_t*  helper_surface;
 
86
 
 
87
  gboolean          draw_glow;
 
88
 
80
89
  /* FIXME:
81
90
   * These two should ultimately go somewhere else (once we do multiple panels)
82
91
   */
83
92
  gboolean dialog_gtk_mode;
84
93
  gboolean gtk_theme_mode;
85
 
  
 
94
 
86
95
  /* Appearance options -- (some are backend specific) */
87
96
  gboolean rounded_corners;
88
97
  gfloat   corner_radius;
89
98
  gint     panel_angle;
 
99
  gint     floaty_offset;
90
100
  gfloat   curviness;
91
101
  gfloat   curves_symmetry;
 
102
  gfloat   thickness;
92
103
 
93
104
  /* private */
94
105
  guint    changed;
129
140
                             GdkRectangle *area,
130
141
                             gint *strut,
131
142
                             gint *strut_start, gint *strut_end);
 
143
                             
 
144
  gboolean (*get_needs_redraw) (AwnBackground *bg,
 
145
                                GtkPositionType position,
 
146
                                GdkRectangle *area);
132
147
 
133
148
  /*< signals >*/
134
149
  void (*changed) (AwnBackground *bg);
142
157
                               GtkPositionType  position,
143
158
                               GdkRectangle   *area);
144
159
 
 
160
void awn_background_invalidate      (AwnBackground  *bg);
 
161
 
145
162
void awn_background_padding_request (AwnBackground *bg,
146
163
                                     GtkPositionType position,
147
164
                                     guint *padding_top,
168
185
                                       gint *strut,
169
186
                                       gint *strut_start, gint *strut_end);
170
187
 
 
188
void awn_background_set_glow (AwnBackground  *bg, gboolean activate);
 
189
gboolean awn_background_get_glow (AwnBackground  *bg);
 
190
 
171
191
/* These should be "protected" (used only by derived classes) */
172
192
void awn_background_emit_padding_changed (AwnBackground *bg);
173
193
void awn_background_emit_changed (AwnBackground *bg);