summaryrefslogtreecommitdiffstats
path: root/chrome/common/gtk_util.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/common/gtk_util.h')
-rw-r--r--chrome/common/gtk_util.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/chrome/common/gtk_util.h b/chrome/common/gtk_util.h
index 85bcc4b..6e1c231 100644
--- a/chrome/common/gtk_util.h
+++ b/chrome/common/gtk_util.h
@@ -51,11 +51,15 @@ const int kContentAreaSpacing = 18;
// Create a table of labeled controls, using proper spacing and alignment.
// Arguments should be pairs of const char*, GtkWidget*, concluding with a NULL.
+// The first argument is a color to force the label text to. It can be NULL to
+// get the system default.
// For example:
-// controls = CreateLabeledControlsGroup("Name:", title_entry_,
+// controls = CreateLabeledControlsGroup(&gfx::kGdkBlack,
+// "Name:", title_entry_,
// "Folder:", folder_combobox_,
// NULL);
-GtkWidget* CreateLabeledControlsGroup(const char* text, ...);
+GtkWidget* CreateLabeledControlsGroup(const GdkColor* color,
+ const char* text, ...);
// Create a GtkBin with |child| as its child widget. This bin will paint a
// border of color |color| with the sizes specified in pixels.