# This contains the module for text entry widgets. This is where the focus ring
# is activated when entry widgets are in focus and selected.

# The name of this style is entry and it inherits properties from main

style "industrial-entry" = "industrial-woody"
{
	xthickness = 2
	ythickness = 2

	# Style of bevel around the spin button
	
	GtkSpinButton::shadow_type = GTK_SHADOW_IN
		
	#This color of the cursor in entry and text widget in general.

	GtkEntry::cursor_aspect_ratio = 0.2
	
	GtkEntry::cursor_color = "#555555"
	 
	# Use the pixmap engine to draw focus ring and entry widgets
	
	engine "pixmap"
	{
		image
		{
			function	= FOCUS
			recolorable = TRUE
			file		= "pixmaps/focal.png"
			border		= { 3, 3, 3, 3 }
			stretch		= TRUE
		}

		image
		{
			function	= FOCUS
			recolorable = TRUE
			state		= SELECTED
			file		= "pixmaps/focal.png"
			border		= { 3, 3, 3, 3 }
			stretch		= TRUE
		}

		image 
		{
		    function	= SHADOW
		    shadow		= IN
		    state		= NORMAL
		    file		= "pixmaps/unfocal-ring.png"
		    border		= { 3, 3, 3, 3 }
		    stretch		= TRUE
	    }

	}
}
class "GtkEntry" style "industrial-entry"
class "GtkSpinButton" style "industrial-entry"
class "GtkTextView" style "industrial-entry"
