Skip to content

Instantly share code, notes, and snippets.

@kiko
Created December 13, 2009 03:37
Show Gist options
  • Save kiko/255245 to your computer and use it in GitHub Desktop.
Save kiko/255245 to your computer and use it in GitHub Desktop.
GRAVITIES.merge!({
:left66v => [ 0, 0, 66, 100 ],
:left50v => [ 0, 0, 50, 100 ],
:left33v => [ 0, 0, 33, 100 ],
:left66 => [ 0, 50, 50, 33 ],
:left33 => [ 0, 50, 25, 33 ],
})
GRABS.merge!({
"W-S-j" => [ :left66v, :left50v, :left33v, :left66, :left33 ],
})
## Paste from actual config
#
# Gravities
#
GRAVITIES = {
:top_left => [ 0, 0, 50, 50 ],
:top_left66 => [ 0, 0, 50, 66 ],
:top_left33 => [ 0, 0, 49, 33 ],
:top => [ 0, 0, 100, 50 ],
:top66 => [ 0, 0, 100, 66 ],
:top33 => [ 0, 0, 100, 33 ],
:top_right => [ 100, 0, 50, 50 ],
:top_right66 => [ 100, 0, 50, 66 ],
:top_right33 => [ 100, 0, 50, 33 ],
:top_right_v10 => [ 100, 0, 10, 50 ],
:left66v => [ 0, 0, 66, 100 ],
:left50v => [ 0, 0, 50, 100 ],
:left33v => [ 0, 0, 33, 100 ],
:left66 => [ 0, 50, 50, 33 ],
:left33 => [ 0, 50, 25, 33 ],
:center => [ 0, 0, 100, 100 ],
:center66 => [ 0, 50, 100, 33 ],
:center33 => [ 50, 50, 50, 33 ],
:right => [ 100, 0, 50, 100 ],
:right66 => [ 100, 50, 50, 33 ],
:right33 => [ 100, 50, 25, 33 ],
:bottom_left => [ 0, 100, 50, 50 ],
:bottom_left66 => [ 0, 100, 50, 66 ],
:bottom_left33 => [ 0, 100, 50, 33 ],
:bottom => [ 0, 100, 100, 50 ],
:bottom66 => [ 0, 100, 100, 66 ],
:bottom33 => [ 0, 100, 100, 33 ],
:bottom_right => [ 100, 100, 50, 50 ],
:bottom_right66 => [ 100, 100, 50, 66 ],
:bottom_right33 => [ 100, 100, 50, 33 ],
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment