}:O)

DC's Custom Xnews Icons

User Buttons

To make the transformation complete, I have added two custom user buttons to my editor toolbar for commands[1] that I use frequently, namely aceRewrapJoin and aceROT13.

aceRewrapJoin  aceROT13

This simple modification is easily achieved by adding the appropriate entries to the xnews.ini file located in your Xnews program directory.

Tip: It is always good practice to close Xnews before making any changes to the *.ini files (most changes will not take effect until Xnews is restarted).

To define your new buttons[2], begin by placing the *.ico files in your Xnews program directory. Then, open xnews.ini in your favorite text editor (ie. notepad) and edit the following lines:

[ToolBars]
E1=bEdit,-,u1,-,u2,-,bUndo,-,bSave,-,bSend,-,bStop

[UserButtons]
u1=aceRewrapJoin|C:\Program Files\Xnews\reformat.ico|Reformat
u2=aceROT13|C:\Program Files\Xnews\rot13.ico|ROT-13

If these sections do not exist in your xnews.ini file, simply add them at the end of the file. As with all examples on this site, don't forget to change the paths to your *.ico files to reflect your system setup.

If you would prefer not to label your new buttons, modifiy the above entries as follows:

[UserButtons]
u1=aceRewrapJoin|C:\Program Files\Xnews\reformat.ico||
u2=aceROT13|C:\Program Files\Xnews\rot13.ico||

And that's all there is to it! Limited customisation of other Xnews toolbars via this method is also possible. For more information, please refer to TFM and to changes.txt.[3]

 

Notes

[1] A full listing of available Xnews commands can be accessed through the key mapping dialog (alt-k). Alternatively, you can browse your keys.ini file located in your Xnews program folder.

[2] The editor toolbar uses non-standard icons that are 20px square. Using icons of other dimensions will yield poor results.

[3] Instructions (and *.ico files) for mods on this page are included in the dcico_pack.zip file. download »

 

« tutorial | server icons »

 

Copyright © 2003, DCmapleleaf. Last updated: 18-Jul-2004
Contact Info | Site Map | Disclaimer
Validated HTML 4.01  Validated CSS2  Lynx Inspected