fluid
April 28th, 2007, 03:29 PM
please read this, its got what i consider to be pretty sharp ideas on how to put this composite manager ahead of the game on every front in terms of innovation and plugins
id really like to do a slight modification to animation.c for shading windows when they are set to roll-up.
i use a laptop with a synaptics touchpad, and occasionally i inadvertantly get a pretty nice effect on rolling up windows. im trying to make it so that i get that effect all the time...
basically, if you have wobbly enabled, and you move a window just 1 or 2 pixels and it starts to wobble, and then shade it the effect produced from the combination just amazes me. the window wobbles and collapses in on itself.
what would it take to add new settings to animation.c for rollup? i wasnt trying to add new settings, i was just going to hardcode for the window to slide 2 pixels up before the rollup occurs....but im having no luck at all.
so i was thinking, if any of you real coders could do it (cause im certainly no real c coder...lol, a few years of this in college years ago didnt prepare me for this, plus math is the devil!)
anyway, if any of you guys want to take this suggestion and try and implement it, it would basically work like this:
new settings added to the schema:
slide distance: the amount of distance to move the window to trigger a wobble, for obvious reasons this should be limited say from 0 to 10 pixels...
slide direction: up/down/left/right/auto (auto would work based on how far away the window was from the screen edge, if it was closer than the move distance specified by the user, it would move in the opposite direction the same amount)
if we can get the window to wobble without moving it that would work just as well, i have not bothered to look at the wobble code to see what it would take to make one wobble...
another idea to implement this might be a "tap" plugin instead. so that everytime you click on a window, it slightly taps it causing a wobble to be triggered where it was "tapped". no real complicated settings for this, perhaps window type you want effected, window element you want to respond to taps (like titlebar only, all, etc). basically you would tap the window and make it wobble on mouse button 1, or some other defined button or key, or combination thereof.
if you want to see the effect im talking about, make sure you are shading to roll up, move a window a little to get it wobbling, and quickly shade it. it will wobble and collapse in on itself in sweet elastic goodness. lol...
ill sit here continuing to try and implement this myself, but at the rate im going i dont think ill ever be successful :(
id really like to do a slight modification to animation.c for shading windows when they are set to roll-up.
i use a laptop with a synaptics touchpad, and occasionally i inadvertantly get a pretty nice effect on rolling up windows. im trying to make it so that i get that effect all the time...
basically, if you have wobbly enabled, and you move a window just 1 or 2 pixels and it starts to wobble, and then shade it the effect produced from the combination just amazes me. the window wobbles and collapses in on itself.
what would it take to add new settings to animation.c for rollup? i wasnt trying to add new settings, i was just going to hardcode for the window to slide 2 pixels up before the rollup occurs....but im having no luck at all.
so i was thinking, if any of you real coders could do it (cause im certainly no real c coder...lol, a few years of this in college years ago didnt prepare me for this, plus math is the devil!)
anyway, if any of you guys want to take this suggestion and try and implement it, it would basically work like this:
new settings added to the schema:
slide distance: the amount of distance to move the window to trigger a wobble, for obvious reasons this should be limited say from 0 to 10 pixels...
slide direction: up/down/left/right/auto (auto would work based on how far away the window was from the screen edge, if it was closer than the move distance specified by the user, it would move in the opposite direction the same amount)
if we can get the window to wobble without moving it that would work just as well, i have not bothered to look at the wobble code to see what it would take to make one wobble...
another idea to implement this might be a "tap" plugin instead. so that everytime you click on a window, it slightly taps it causing a wobble to be triggered where it was "tapped". no real complicated settings for this, perhaps window type you want effected, window element you want to respond to taps (like titlebar only, all, etc). basically you would tap the window and make it wobble on mouse button 1, or some other defined button or key, or combination thereof.
if you want to see the effect im talking about, make sure you are shading to roll up, move a window a little to get it wobbling, and quickly shade it. it will wobble and collapse in on itself in sweet elastic goodness. lol...
ill sit here continuing to try and implement this myself, but at the rate im going i dont think ill ever be successful :(