major overhaul of the -stickyWindows feature
authorH.G. Muller <h.g.muller@hccnet.nl>
Sun, 21 Jun 2009 19:10:31 +0000 (12:10 -0700)
committerArun Persaud <arun@nubati.net>
Sun, 21 Jun 2009 19:10:31 +0000 (12:10 -0700)
commitd413d3ed517beac460ae9ed147e6200a57125bb5
tree057fcf8ffbc8575a79431518a893a56f59c99e68
parent40381b9be93e33fe19767bcecddc8f4c202f3417
major overhaul of the -stickyWindows feature

I did a major overhaul of the -stickyWindows feature. The game-list and ICS-interaction windows are now also sticky. I also added a form of stickiness when the main window is resized; edges of auxiliary windows sticking to the right or bottom side of the main window stay attached when the window resizes (due to nr of board squares or their size). The way the window coordinates are saved in the .ini file is now relative to the main window, and some dummy options are added to be able to recognize right- and bottom-edge sticking, and reconstruct that when WB starts up with another board size. Also added are volatile options to ensure there will be space for auxiliary windows above and left of the main window.
winboard/wgamelist.c
winboard/winboard.c
winboard/winboard.h
winboard/winboard.rtf
winboard/wlayout.c