darcs patch: Prevent windows from being decorated tha... (and 4 more)
Hi! Alright, I finally managed to break down the big blob that used to be Bluetile's decoration code into a number of modules. I'll start with this patch bundle, which lays the groundwork for the actual decoration. It mostly extends the decoration code at various places with additional hooks that my other code - to be submitted later - then uses. Current usage of decoration should be unaffected and work as before - maybe a little bit better even. ;-) Sat Jun 27 11:43:16 CEST 2009 Jan Vornberger <jan.vornberger@informatik.uni-oldenburg.de> * Prevent windows from being decorated that are too small to contain decoration. -> this one fixes a small bug Sat Oct 24 22:45:13 CEST 2009 Jan Vornberger <jan.vornberger@informatik.uni-oldenburg.de> * Added the alignment option 'AlignRightOffset' Sat Oct 24 22:51:11 CEST 2009 Jan Vornberger <jan.vornberger@informatik.uni-oldenburg.de> * Extended paintAndWrite to allow for multiple strings to be written into the rectangle Sat Oct 24 23:39:28 CEST 2009 Jan Vornberger <jan.vornberger@informatik.uni-oldenburg.de> * Extended decoration theme to contain extra static text that always appears in the title bar -> these three allow to add extra text into the decoration. I use that to write "(M)" at the left side and "_ [] X" at the right side. The default however is to not add any extra text, so this should not affect existing decoration. Sun Nov 29 00:43:10 CET 2009 Jan Vornberger <jan.vornberger@informatik.uni-oldenburg.de> * Extended decoration module with more hooks and consolidated some existing ones -> As mentioned above this adds even more hooks. Worth mentioning here is, that I combined 'decorationMouseFocusHook' and 'decorationMouseDragHook' into just 'decorationEventHook'. Both of them got called exactly in the same cases anyway (even so the names suggest otherwise), so having them both just resulted in duplicated code and in some cases I had problems with clicks that weren't recognized. This version seems cleaner and works better for me. Regards! Jan
On Sun, Nov 29, 2009 at 02:12:34AM +0100, Jan Vornberger wrote:
Hi!
Alright, I finally managed to break down the big blob that used to be Bluetile's decoration code into a number of modules. I'll start with this patch bundle, which lays the groundwork for the actual decoration. It mostly extends the decoration code at various places with additional hooks that my other code - to be submitted later - then uses. Current usage of decoration should be unaffected and work as before - maybe a little bit better even. ;-)
Applied, thanks!
participants (2)
-
Daniel Schoepe -
Jan Vornberger