OLD | NEW |
---|---|
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CHROME_COMMON_GTK_UTIL_H_ | 5 #ifndef CHROME_COMMON_GTK_UTIL_H_ |
6 #define CHROME_COMMON_GTK_UTIL_H_ | 6 #define CHROME_COMMON_GTK_UTIL_H_ |
7 | 7 |
8 #include <gtk/gtk.h> | 8 #include <gtk/gtk.h> |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
164 // |offscreen_entry| onto |widget_to_draw_on| in the rectangle |rec|. Drawing | 164 // |offscreen_entry| onto |widget_to_draw_on| in the rectangle |rec|. Drawing |
165 // is only done in the clip rectangle |dirty_rec|. | 165 // is only done in the clip rectangle |dirty_rec|. |
166 void DrawTextEntryBackground(GtkWidget* offscreen_entry, | 166 void DrawTextEntryBackground(GtkWidget* offscreen_entry, |
167 GtkWidget* widget_to_draw_on, | 167 GtkWidget* widget_to_draw_on, |
168 GdkRectangle* dirty_rec, | 168 GdkRectangle* dirty_rec, |
169 GdkRectangle* rec); | 169 GdkRectangle* rec); |
170 | 170 |
171 // Returns the two colors averaged together. | 171 // Returns the two colors averaged together. |
172 GdkColor AverageColors(GdkColor color_one, GdkColor color_two); | 172 GdkColor AverageColors(GdkColor color_one, GdkColor color_two); |
173 | 173 |
174 void ConnectMenuActivatingWidgets(std::vector<GtkWidget*> widgets); | |
Elliot Glaysher
2009/09/08 22:20:18
Stray declaration?
Evan Stade
2009/09/08 22:52:37
oh yeah woops this shouldn't be here
| |
175 | |
174 } // namespace gtk_util | 176 } // namespace gtk_util |
175 | 177 |
176 #endif // CHROME_COMMON_GTK_UTIL_H_ | 178 #endif // CHROME_COMMON_GTK_UTIL_H_ |
OLD | NEW |