Project

General

Profile

unexist.dev

Assorted tidbits and projects

Gravity » History » Version 2

« Previous - Version 2/25 (diff) - Next » - Current version
Anonymous, 04/19/2009 03:49 PM


Gravity\015\012\015\012Gravities may have different sizes and can be toggled with grabs. Every view can have a different gravity. \015\012\015\012Here is a list of the existing gravities:\015\012\015\012|Name|Normal|33%|66%||Name|Normal|33%|66%||Name|Normal|33%|66%|\015\012|TopLeft|!/images/gravities/top_left.png!|!/images/gravities/top_left33.png!|!/images/gravities/top_left66.png!||Top|!/images/gravities/top.png!|!/images/gravities/top33.png!|!/images/gravities/top66.png!||TopRight|!/images/gravities/top_right.png!|!/images/gravities/top_right33.png!|!/images/gravities/top_right66.png!|\015\012|Left|!/images/gravities/left.png!|!/images/gravities/left33.png!|||Center|!/images/gravities/center.png!|!/images/gravities/center33.png!|||Right|!/images/gravities/right.png!|!/images/gravities/right33.png!|\015\012|BottomLeft|!/images/gravities/bottom_left.png!|!/images/gravities/bottom_left33.png!|!/images/gravities/bottom_left66.png!||Bottom|!/images/gravities/bottom.png!|!/images/gravities/bottom33.png!|!/images/gravities/bottom66.png!||BottomRight|!/images/gravities/bottom.png!|!/images/gravities/bottom33.png!|!/images/gravities/bottom66.png!|\015\012\015\012h2. Tags\015\012\015\012Gravities can be controlled at client startup with the tagging system. Tags can be assigned in the config file and combinated. \015\012_For example: Clients tagged with top and left will start with TopLeft gravity._\015\012\015\012There are five predefined tags available:\015\012\015\012* top\015\012* bottom\015\012* left\015\012* right\015\012* center\015\012\015\012h2. Grabs\015\012\015\012To control gravity of clients exist several grabs that can be assigned to keys via config file. The gravity grabs are mapped to the num pad keys in the default config file.\015\012\015\012Following grabs exist:\015\012\015\012* GravityTopLeft\015\012* GravityTop\015\012* GravityTopRight\015\012* GravityLeft\015\012* GravityCenter\015\012* GravityRight\015\012* GravityBottomLeft\015\012* GravityBottom\015\012* GravityBottomRight\015\012