Sha256: f43c3865931c2004ab20952852dec24a6374c590fb1a1c0c9e515148dd352682

Contents?: true

Size: 1.59 KB

Versions: 4

Compression:

Stored size: 1.59 KB

Contents

require 'tmpdir'
require 'pathname'
require 'cairo'
require 'pango'
require 'gdk_pixbuf2'
require 'gtk2'

STDOUT.sync = true

Types = module Shoes; self end

module Shoes
  DIR = Pathname.new(__FILE__).realpath.dirname.to_s
  TMP_PNG_FILE = File.join(Dir.tmpdir, '__green_shoes_temporary_file__')
  HAND = Gdk::Cursor.new(Gdk::Cursor::HAND1)
  ARROW = Gdk::Cursor.new(Gdk::Cursor::ARROW)
  FONTS = Gtk::Invisible.new.pango_context.families.map(&:name).sort
  LINK_DEFAULT = "<span underline='single' underline_color='#06E' foreground='#06E' weight='normal'>"
  LINKHOVER_DEFAULT = "<span underline='single' underline_color='#039' foreground='#039' weight='normal'>"
  ROTATE = [Gdk::Pixbuf::ROTATE_NONE, Gdk::Pixbuf::ROTATE_CLOCKWISE, Gdk::Pixbuf::ROTATE_UPSIDEDOWN, Gdk::Pixbuf::ROTATE_COUNTERCLOCKWISE]
  VERSION = IO.read(File.join(DIR, '../VERSION')).chomp
end

class Object
  remove_const :Shoes
end

require_relative 'shoes/ruby'
require_relative 'shoes/helper_methods'
require_relative 'shoes/colors'
require_relative 'shoes/basic'
require_relative 'shoes/main'
require_relative 'shoes/app'
require_relative 'shoes/anim'
require_relative 'shoes/slot'
require_relative 'shoes/text'
require_relative 'shoes/mask'
require_relative 'shoes/widget'
require_relative 'shoes/url'
require_relative 'shoes/style'
require_relative 'shoes/projector'
require_relative 'shoes/download'
require_relative 'shoes/manual'

autoload :ChipMunk, File.join(Shoes::DIR, 'ext/chipmunk')
autoload :Bloops, File.join(Shoes::DIR, 'ext/bloops')
autoload :Projector, File.join(Shoes::DIR, 'ext/projector')

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
green_shoes-0.189.0 lib/green_shoes.rb
green_shoes-0.179.0 lib/green_shoes.rb
green_shoes-0.176.0 lib/green_shoes.rb
green_shoes-0.171.0 lib/green_shoes.rb