/*
 * style <name> [= <name>]
 * {
 *   <option>
 * }
 *
 * widget <widget_set> style <style_name>
 * widget_class <widget_class_set> style <style_name>
 *
 * Here is a list of all the possible states.  Note that some do not apply to
 * certain widgets.
 *
 * NORMAL - The normal state of a widget, without the mouse over top of
 * it, and not being pressed, etc.
 *
 * PRELIGHT - When the mouse is over top of the widget, colors defined
 * using this state will be in effect.
 *
 * ACTIVE - When the widget is pressed or clicked it will be active, and
 * the attributes assigned by this tag will be in effect.
 *
 * INSENSITIVE - When a widget is set insensitive, and cannot be
 * activated, it will take these attributes.
 *
 * SELECTED - When an object is selected, it takes these attributes.
 *
 * Given these states, we can set the attributes of the widgets in each of
 * these states using the following directives.
 *
 * fg - Sets the foreground color of a widget.
 * bg - Sets the background color of a widget.
 * bg_pixmap - Sets the background of a widget to a tiled pixmap.
 * base - Sets the base of Widgets
 * font - Sets the font to be used with the given widget.
*/



static const gchar* rc_string =
(
"style'orxonox'"
"{"
"fg[NORMAL]      = { 0.0, 1.0, 0.0 }"
"fg[PRELIGHT]    = { 0.0, 1.0, 0.0 }"
"fg[ACTIVE]      = { 0.0, 1.0, 0.0 }"
"fg[INSENSITIVE] = { 0.0, 0.8, 0.0 }"
"fg[SELECTED]    = { 0.0, 1.0, 0.0 }"

"bg[NORMAL]      = { 0.0, 0.0, 0.0 }"
"bg[PRELIGHT]    = { 0.0, 1.0, 0.0 }"
"bg[ACTIVE]      = { 0.0, 0.3, 0.0 }"
"bg[INSENSITIVE] = { 0.0, 0.1, 0.0 }"
"bg[SELECTED]    = { 0.0, 0.1, 0.0 }"

"base[NORMAL]      = { 0.0, 1.0, 0.0 }"
"base[PRELIGHT]    = { 0.0, 1.0, 0.0 }"
"base[ACTIVE]      = { 0.0, 1.0, 0.0 }"
"base[INSENSITIVE] = { 0.0, 1.0, 0.0 }"
"base[SELECTED]    = { 0.0, 1.0, 0.0 }"

"font              = '-adobe-helvetica-medium-r-normal--*-100-*-*-*-*-*-*'"
"}"

"style'window'"
"{"			
"bg[NORMAL] = { 0, 0, 0 }"
"fg[NORMAL] = { 0, 1.0, 0 }"
"base[NORMAL] = { 0, 0, 0 }"
"base[INSENSITIVE] = { 0, 0, 0 }"
"}"

"style'frame'"
"{"
"bg[NORMAL]  = { 0.0, 0.4, 0.0 }"
"}"

"style'scale'"
"{"
"fg[NORMAL] = { 0, 1.0, 0 }"
"bg[NORMAL] = { 0, 1.0, 0 }"
"bg[INSENSITIVE] = { 0, 1.0, 0 }"
"bg[PRELIGHT] = { 0, 1.0, 0 }"
"bg[ACTIVE] =   {0.2, 0.2, 0.2 }"
"}"

"style'button'"
"{"
"fg[PRELIGHT] = { 0, 0, 0 }"
"bg[PRELIGHT] = { 0, 1.0, 0 }"
"bg[ACTIVE] = { 0, 1.0, 0 }"
"fg[ACTIVE] = { 0, 1.0, 0 }"
"bg[NORMAL] = { 0, 0, 0 }"
"fg[NORMAL] = { 0, 1.0, 0 }"
"bg[INSENSITIVE] = { 0.0, 0.2, 0.0 }"
"fg[INSENSITIVE] = { 0.0, 0.8, 0.0 }"
"base[NORMAL] = { 0, 1.0, 0 }"
"base[PRELIGHT] = { 0, 1.0, 0 }"
"}"

"style'main_button' = 'button'"
"{"
"font = '-adobe-helvetica-medium-r-normal--*-100-*-*-*-*-*-*'"
"bg[PRELIGHT] = { 0, 0.75, 0 }"
"}"

"style'toggle_button' = 'button'"
"{"
"fg[NORMAL] = { 0, 1.0, 0 }"
"fg[ACTIVE] = { 0, 1.0, 0 }"
"text[NORMAL] = { 0, 0, 0}"
"}"

"style'text'"
"{"
"fg[NORMAL] = { 0, 1.0, 0 }"
"}"

"style'ruler'"
"{"
"font = '-adobe-helvetica-medium-r-normal--*-20-*-*-*-*-*-*'"
"}"

"widget'Gtk*'			style'orxonox'"
"widget'*Gtk*Frame*'              style'frame'"
"widget'GtkWindow'		style'window'"
"widget'GtkFileSelection'	style'window'"
"widget'*Gtk*Scale'		style'scale'"
"widget'*GtkCheckButton*'	style'toggle_button'"
"widget'*Gtk*Menu*'		style'toggle_button'"
"widget'*GtkRadioButton*'	style'toggle_button'"
"widget'*GtkButton*'		style'button'"
"widget'*Ruler'			style'ruler'"
"widget'*GtkText'		style'text'"
"widget'*GtkLabel'		style'text'"

"widget'main window.*GtkButton*' style 'main_button'"


);
