Settings.xml

From AMSN
Jump to: navigation, search

Skin Settings

File settings.xml, that is located at skinname/settings.xml, is a file that define colors, options and geometry of many parts of the skin. The file is subdivided in 5 sections: Information, General, Login, ContactList, ChatWindow.

The Information section is dedicated to the information about the author and the skin.
The General section is dedicated to balloons and menus.
The Login section is dedicated to the login window.
The ContactList section is dedicated to the contact list.
The ChatWindow section is dedicated to the chat window.

settings.xml

<?xml version="1.0"?>

<skin>
	<Information>
		<Author>Author's Name</Author>
		<Contact>Contacts</Contact>
		<Description>Description</Description>
		<Version>Version</Version>
	</Information>

	<General>
		<Colors>
			Balloons are that little window that popup when you stay on a contact and into it there are some information about him
			<balloonbackground>#XXXXXX</balloonbackground> This set the color Balloons' background
			<balloonborder>#XXXXXX</balloonborder> This set the color of Balloons' borders
			<balloontext>#XXXXXX</balloontext> This set the color of Balloons' text
			Notifies are that window that popup with some events
			<notifyfg>#XXXXXX</notifyfg> This set the color of Notifiers' background
			Menus are Menus xD
			<menubackground>#XXXXXX</menubackground> This set the color of Menus' background
			<menuforeground>#XXXXXX</menuforeground> This set the color of Menus' text
			<menuactivebackground>#XXXXXX</menuactivebackground> This set the color of hover Menus' background
			<menuactiveforeground>#XXXXXX</menuactiveforeground> This set the color of hover Menus' text
		</Colors>
		<Options>
			<balloonfont>splainf</balloonfont> This set the balloons' font
			This set the border width of Balloons (On linux, balloonborderwidth 0 gives a border of 1px due to tk platform differences.br/>
 		 	To have no Balloon border, set  balloonborderwidth to 0 and have the balloonborder the same colour as the balloonbackground)
			<balloonborderwidth>0</balloonborderwidth> 
		</Options>
		<Geometry>
			<notifwidth>x</notifwidth> This set the Notifies' width
			<notifheight>x</notifheight> This set the Notifies' height
			<x_notifyclose>x</x_notifyclose> This set the x position of the Notifies' close button
			<y_notifyclose>x</y_notifyclose> This set the y position of the Notifies' close button
			<x_notifydp>x</x_notifydp> This set the x position of the Display Picture on the Notify
			<y_notifydp>x</y_notifydp> This set the y position of the Display Picture on the Notify
			<x_notifytext>x</x_notifytext> This set the x position of the message on Notifies
			<y_notifytext>x</y_notifytext> This set the y position of the message on Notifies
			<width_notifytext>x</width_notifytext> This set the width of the message area on Notifies
		</Geometry>
	</General>
	
	<Login>
		<Colors>
			<loginbuttonbg>#XXXXXX</loginbuttonbg> This set the color of the Login Button's background 
			<loginbuttonfg>#XXXXXX</loginbuttonfg> This set the color of the Login Button's text
			<loginbuttonfghover>#XXXXXX</loginbuttonfghover> This set the color of the Login Buttons' text
		</Colors>
		<Options>
			<loginbuttonresize>tile/scale</loginbuttonresize> This set how the Login Button pixmap is resized
 		</Options>
 		<Geometry>
 			<loginbuttonx>x</loginbuttonx> This set the x position of the Login Button
 			<loginbuttony>x</loginbuttony> This set the y position of the Login Button
 		</Geometry>
 	</Login>
 
 	<ContactList>
 		<Colors>
			<mainwindowbg>#XXXXXX</mainwindowbg> This set the Main Window's background
			<topcontactlistbg>#XXXXXX</topcontactlistbg> Thi set the background color for the top of the contact list, the status part
			<contactlistbg>#XXXXXX</contactlistbg> This set the background color of the contact list, where the contacts appear
			<bannerbg>#XXXXXX</bannerbg> This set the background color of the banner
			<mystatus>#XXXXXX</mystatus> This set the color of you status (where's your nick and personal message)
			<contact_online>#XXXXXX</contact_online> This set the color of contacts that are online
			<contact_away>#XXXXXX</contact_away> This set the color of contacts that are Away
			<contact_noactivity>#XXXXXX</contact_noactivity> This set the color of contacts that are in Idle
			<contact_rightback>#XXXXXX</contact_rightback> This set the color of contacts that will Be Right Back
			<contact_onphone>#XXXXXX</contact_onphone> This set the color of contacts that are On Phone
			<contact_busy>#XXXXXX</contact_busy> This set the color of contacts that are Busy
			<contact_gonelunch>#XXXXXX</contact_gonelunch> This set the color of contacts that are Gone To Lunch
			<contact_offline>#XXXXXX</contact_offline> This set the color of contacts that are Offline
			<state_online>#XXXXXX</state_online> This set the color of you when you are Online
			<state_away>#XXXXXX</state_away> This set the color of you when you are Away
			<state_noactivity>#XXXXXX</state_noactivity> This set the color of you when you are in Idle
			<state_rightback>#XXXXXX</state_rightback> This set the color of you when you'll Be Right Back
			<state_onphone>#XXXXXX</state_onphone> This set the color of you when you are On Phone
			<state_busy>#XXXXXX</state_busy> This set the color of you when you are Busy
			<state_mobile>#XXXXXX</state_mobile> This set the color of you when you are on Mobile
			<state_gonelunch>#XXXXXX</state_gonelunch> This set the color of you when you are Gone To Lunch
			<state_offline>#XXXXXX</state_offline> This set the color of you when you are Offline
			<groupcolorextend>#XXXXXX</groupcolorextend> This set the color of extended Groups
			<groupcolorcontract>#XXXXXX</groupcolorcontract> This set the color of 
		</Colors>
		 <Options>
			<mainwindowrelief>flat/raised/sunken/ridge/groove</mainwindowrelief> 
			<emailabovecolorbar>x</emailabovecolorbar> 
			<underline_contact>x</underline_contact> 
			<underline_group>x</underline_group> 
			<changecursor_contact>x</changecursor_contact> 
			<changecursor_group>x</changecursor_group> 
			<showdisplaycontactlist>x</showdisplaycontactlist> 
			<contactlistbgtile>x</contactlistbgtile> 
			<contactlistbgnontiled>x</contactlistbgnontiled> 
		 </Options>
		<Geometry>
			<mainwindowbd>x</mainwindowbd> 
			<buddylistpad>x</buddylistpad> 
			<bigstate_xpad>x</bigstate_xpad> 
			<bigstate_ypad>x</bigstate_ypad> 
			<mystatus_xpad>x</mystatus_xpad> 
			<mystatus_ypad>x</mystatus_ypad> 
			<mailbox_xpad>x</mailbox_xpad> 
			<mailbox_ypad>x</mailbox_ypad> 
			<contract_xpad>x</contract_xpad> 
			<contract_ypad>x</contract_ypad> 
			<expand_xpad>x</expand_xpad> 
			<expand_ypad>x</expand_ypad> 
			<x_dp_top>x</x_dp_top> 
			<y_dp_top>x</y_dp_top> 
			<buddy_xpad>x</buddy_xpad> 
			<buddy_ypad>x</buddy_ypad> 
			<contactlist_xpad>x</contactlist_xpad> 
			<contactlist_ypad>x</contactlist_ypad> 
		</Geometry>
	</ContactList> 

	<ChatWindow>
		<Colors>
			<chatwindowbg>#XXXXXX</chatwindowbg> 
			<tabbarbg>#XXXXXX</tabbarbg> 
			<buttonbarbg>#XXXXXX</buttonbarbg> 
			<chat_buttons_border_color>#XXXXXX</chat_buttons_border_color> 
			<chat_input_border_color>#XXXXXX</chat_input_border_color> 
			<chat_input_back_color>#XXXXXX</chat_input_border_color> 
			<chat_output_border_color>#XXXXXX</chat_output_border_color> 
 			<chat_output_back_color>#XXXXXX</chat_output_back_color> 
			<chat_dp_border_color>#XXXXXX</chat_dp_border_color> 
			<sendbuttonbg>#XXXXXX</sendbuttonbg> 
			<sendbuttonfg>#XXXXXX</sendbuttonfg> 
			<sendbuttonfghover>#XXXXXX</sendbuttonfghover> 
			<topbarbg>#XXXXXX</topbarbg> 
			<topbartext>#XXXXXX</topbartext> 
			<topbarborder>#XXXXXX</topbarborder> 
			<topbarawaybg>#XXXXXX</topbarawaybg> 
			<topbarawaytext>#XXXXXX</topbarawaytext> 
			<topbarawayborder>#XXXXXX</topbarawayborder> 
			<topbarbusybg>#XXXXXX</topbarbusybg> 
			<topbarbusytext>#XXXXXX</topbarbusytext> 
			<topbarbusyborder>#XXXXXX</topbarbusyborder> 
			<topbarofflinebg>#XXXXXX</topbarofflinebg> 
			<topbarofflinetext>#XXXXXX</topbarofflinetext> 
			<topbarofflineborder>#XXXXXX</topbarofflineborder> 
			<statusbarbg>#XXXXXX</statusbarbg> 
 			<statusbarbg_sel>#XXXXXX</statusbarbg_sel> 
			<statusbartext>#XXXXXX</statusbartext> 
			<chat_status_border_color>#XXXXXX</chat_status_border_color> 
		</Colors>
		<Options>
			<chat_top_pixmap>x</chat_top_pixmap> 
			<chat_top_resize>scale</chat_top_resize> 
			<chat_top_border>x</chat_top_border> 
			<chat_output_border>x</chat_output_border> 
			<chat_buttons_border>x</chat_buttons_border> 
			<chat_input_border>x</chat_input_border> 
			<chat_dp_border>x</chat_dp_border> 
			<chat_status_border>x</chat_status_border> 
			<chat_sash_showhandle>x</chat_sash_showhandle> 
			<chat_show_sendbuttonframe>x</chat_show_sendbuttonframe> 
			<chat_show_statusbarframe>x</chat_show_statusbarframe> 
			<chat_show_topframe>x</chat_show_topframe> 
		</Options>
		<Geometry>
			<chat_top_padx>x</chat_top_padx> 
			<chat_top_pady>x</chat_top_pady> 
			<chat_paned_padx>x</chat_paned_padx> 
			<chat_paned_pady>x</chat_paned_pady> 
			<chat_output_padx>x</chat_output_padx> 
			<chat_output_pady>x</chat_output_pady> 
			<chat_buttons_padx>x</chat_buttons_padx> 
			<chat_buttons_pady>x</chat_buttons_pady> 
			<chat_input_padx>x</chat_input_padx> 
			<chat_input_pady>x</chat_input_pady> 
			<chat_dp_padx>x</chat_dp_padx> 
			<chat_dp_pady>x</chat_dp_pady> 
			<chat_leftframe_padx>x</chat_leftframe_padx> 
			<chat_leftframe_pady>x</chat_leftframe_pady> 
			<chat_sendbutton_padx>x</chat_sendbutton_padx> 
			<chat_sendbutton_pady>x</chat_sendbutton_pady> 
			<chat_status_padx>x</chat_status_padx> 
			<chat_status_pady>x</chat_status_pady> 
			<chat_sash_pady>x</chat_sash_pady> 
			<chat_tabbar_padx>x</chat_tabbar_padx> 
			<chat_tabbar_pady>x</chat_tabbar_pady> 
			<tab_text_x>x</tab_text_x> 
			<tab_text_y>x</tab_text_y> 
			<tab_text_width>x</tab_text_width> 
			<tab_close_x>x</tab_close_x> 
			<tab_close_y>x</tab_close_y> 
		</Geometry>
	</ChatWindow>
Personal tools