gdkColor = new GdkColor(); OS.gtk_style_get_base (style, OS.GTK_STATE_NORMAL, gdkColor); COLOR_TEXT_BACKGROUND = gdkColor;
void initializeSystemResources () {	int /*long*/ shellHandle = OS.gtk_window_new (OS.GTK_WINDOW_TOPLEVEL);	if (shellHandle == 0) SWT.error (SWT.ERROR_NO_HANDLES);	OS.gtk_widget_realize (shellHandle);		int /*long*/ tooltipShellHandle = OS.gtk_window_new (OS.GTK_WINDOW_POPUP);	if (tooltipShellHandle == 0) SWT.error (SWT.ERROR_NO_HANDLES);	byte[] gtk_tooltips = Converter.wcsToMbcs (null, "gtk-tooltips", true);	OS.gtk_widget_set_name (tooltipShellHandle, gtk_tooltips);	OS.gtk_widget_realize (tooltipShellHandle);	GdkColor gdkColor;	int /*long*/ style = OS.gtk_widget_get_style (shellHandle);		int /*long*/ tooltipStyle = OS.gtk_widget_get_style (tooltipShellHandle);		defaultFont = OS.pango_font_description_copy (OS.gtk_style_get_font_desc (style));	gdkColor = new GdkColor();	OS.gtk_style_get_black (style, gdkColor);	COLOR_WIDGET_DARK_SHADOW = gdkColor;		gdkColor = new GdkColor();	OS.gtk_style_get_dark (style, OS.GTK_STATE_NORMAL, gdkColor);	COLOR_WIDGET_NORMAL_SHADOW = gdkColor;	gdkColor = new GdkColor();	OS.gtk_style_get_bg (style, OS.GTK_STATE_NORMAL, gdkColor);	COLOR_WIDGET_LIGHT_SHADOW = gdkColor;	gdkColor = new GdkColor();	OS.gtk_style_get_light (style, OS.GTK_STATE_NORMAL, gdkColor);	COLOR_WIDGET_HIGHLIGHT_SHADOW = gdkColor;	gdkColor = new GdkColor();	OS.gtk_style_get_fg (style, OS.GTK_STATE_NORMAL, gdkColor);	COLOR_WIDGET_FOREGROUND = gdkColor;	gdkColor = new GdkColor();	OS.gtk_style_get_bg (style, OS.GTK_STATE_NORMAL, gdkColor);	COLOR_WIDGET_BACKGROUND = gdkColor;	gdkColor = new GdkColor();	OS.gtk_style_get_text (style, OS.GTK_STATE_NORMAL, gdkColor);	COLOR_TEXT_FOREGROUND = gdkColor;	gdkColor = new GdkColor();	OS.gtk_style_get_base (style, OS.GTK_STATE_NORMAL, gdkColor);	COLOR_TEXT_BACKGROUND = gdkColor;	gdkColor = new GdkColor();	OS.gtk_style_get_text (style, OS.GTK_STATE_NORMAL, gdkColor);	COLOR_LIST_FOREGROUND = gdkColor;	gdkColor = new GdkColor();	OS.gtk_style_get_base (style, OS.GTK_STATE_NORMAL, gdkColor);	COLOR_LIST_BACKGROUND = gdkColor;	gdkColor = new GdkColor();	OS.gtk_style_get_text (style, OS.GTK_STATE_SELECTED, gdkColor);	COLOR_LIST_SELECTION_TEXT = gdkColor;	gdkColor = new GdkColor();	OS.gtk_style_get_base (style, OS.GTK_STATE_SELECTED, gdkColor);	COLOR_LIST_SELECTION = gdkColor;	gdkColor = new GdkColor();	OS.gtk_style_get_fg (tooltipStyle, OS.GTK_STATE_NORMAL, gdkColor);	COLOR_INFO_FOREGROUND = gdkColor;	gdkColor = new GdkColor();	OS.gtk_style_get_bg (tooltipStyle, OS.GTK_STATE_NORMAL, gdkColor);	COLOR_INFO_BACKGROUND = gdkColor;		gdkColor = new GdkColor();	OS.gtk_style_get_bg (style, OS.GTK_STATE_SELECTED, gdkColor);	COLOR_TITLE_BACKGROUND = gdkColor;		gdkColor = new GdkColor();	OS.gtk_style_get_fg (style, OS.GTK_STATE_SELECTED, gdkColor);	COLOR_TITLE_FOREGROUND = gdkColor;		gdkColor = new GdkColor();	OS.gtk_style_get_light (style, OS.GTK_STATE_SELECTED, gdkColor);	COLOR_TITLE_BACKGROUND_GRADIENT = gdkColor;		gdkColor = new GdkColor();	OS.gtk_style_get_bg (style, OS.GTK_STATE_INSENSITIVE, gdkColor);	COLOR_TITLE_INACTIVE_BACKGROUND = gdkColor;		gdkColor = new GdkColor();	OS.gtk_style_get_fg (style, OS.GTK_STATE_INSENSITIVE, gdkColor);	COLOR_TITLE_INACTIVE_FOREGROUND = gdkColor;		gdkColor = new GdkColor();	OS.gtk_style_get_light (style, OS.GTK_STATE_INSENSITIVE, gdkColor);	COLOR_TITLE_INACTIVE_BACKGROUND_GRADIENT = gdkColor;	OS.gtk_widget_destroy (tooltipShellHandle);	OS.gtk_widget_destroy (shellHandle);}