I'm currently working on a significant (as in redesigning from scratch) upgrade to my "Midnight" theme (already posted here) with the hope of fulfilling user requests and my own plans, and am very pleased with the progress so far. I appreciate that some of these questions may appear stupid, but unfortunately don't have time to familiarise myself with Tk or the amsn source. Essentially, my key problems are:
1. The login button has a 2 pixel border along its top and left hand side, and there doesn't seem to be an option to change this. Having briefly looked in login_screen.tcl I have found the code for drawing the button but no reference to such a border - is there anyway to remove it?
2. The Combo Box at the bottom of the contact list appears to be a different widget to the one used on the login page and has a different kind of border - is there anyway to remove this sunken effect? (Minor, I suppose, but it does stick out a bit)
3. The "header" of the contact list - with the display picture and status etc. - doesn't seem to be at all themeable - I've worked around this in my design, but it would open up a lot more possibilities if there was a way to use a background image. Unfortunately this would seem to require changes to the background of the inbox indicator text.
4. On linux (but not OS X), the buttons of the chat window appear misaligned - there's a 1 pixel gap between buttons whereas there is none on OS X, and the wink & nudge buttons are 1 pixel higher.
5. The resizing bar between the upper and lower portions of the chat window - this currently really stands out (a black, 1 pixel line beneath a light grey one)
6. I seem to remember on an oldish version of debian & an older version of amsn there was a way to actually theme the toolkit (ie. the preference windows, etc) - is there any officially supported way to do this, besides the colouring Nuitari's patches allow?
[ 7. Completely superfluous and probably not possible without big performance improvements in the toolkit, but it would look extremely good if there was a way for each contact group to slide down as the header was clicked. ]
I'd really appreciate any pointers from anyone familiar with the source, and do think that the benefits to skinners these changes would bring would be immense. Equally, I understand the project has far more important goals such as reverse engineering a proprietary protocol.
Cheers in advance for any help,
Edit: A summary of platform differences (on 0.98) which can be problematic:
- Linux has mis-aligned toolbar buttons in chat windows.
- Linux has a 2 pixel border on the top & left of the login button - no other platform does.
- Windows has a 2 pixel border on the top & left of checked chek boxes - no other platform does.
- OS X forces "native" check boxes, but they have a large black box surrounding them and just seem to be PNGs.
- Windows forces native menu bars, but uses non-native menus.
- OS X has a bulky border around the single-pixel black border of the login screen combo box (but not on the contact list)
- OS X has abysmal peformance with transparent images.
- OS X and Windows display some transparent PNGs with a black/white background (edit: it seems likely this is merely a case of SVN revision used, with newer ones working correctly edit2: changing no libraries but updating aMSN on Windows fixes it, the same process on OS X doesn't).
- Black background - http://img256.imageshack.us/img256/5733/bonlinegl0.png
(saved from OS X preview)
- White background - -n http://img156.imageshack.us/img156/4935/bhiddenxg7.png
(after using imagemagick on an inkscape PNG - I'll test to see if this occurs without the use of imagemagick)
I don't really know enough to pinpoint which of these are aMSN problems and which are toolkit problems. As such, this is really just a list to keep track of cosmetic variations that may be of use to skinners/developers.