GitHub Sale: sign up for any paid plan this week and pay nothing until January 1, 2009!  [ hide ]

public
Description: a tiny graphical app kit for ruby
Homepage: http://code.whytheluckystiff.net/shoes
Clone URL: git://github.com/why/shoes.git
 * lib/shoes/help.rb: embedding the coolvetica font for the manual titles.
why (author)
Fri Oct 10 21:21:12 -0700 2008
commit  83dac2517a41140f3ccd7fc8f825b5b4967886bc
tree    2c956d28f4facb88edc42ec19a6eaa55f65a1f24
parent  92dedb3a9d0dd675f915277a2e490af85d014d12
...
1
2
 
3
4
5
...
1
2
3
4
5
6
0
@@ -1,5 +1,6 @@
0
 Copyright (c) 2008 why the lucky stiff
0
 Except:
0
+ fonts/Coolvetica.ttf (c) 1999 Ray Larabie
0
   samples/expert-minesweeper.rb (c) 2008 que
0
   samples/expert-othello.rb (c) 2008 Tieg Zaharia
0
   samples/expert-tankspank.rb (c) 2008 Kevin C.
...
159
160
161
 
162
163
164
...
159
160
161
162
163
164
165
0
@@ -159,6 +159,7 @@ task :build => [:build_os, "dist/VERSION.txt"] do
0
     sh "strip -x dist/*.so"
0
   end
0
 
0
+ cp_r "fonts", "dist/fonts"
0
   cp_r "lib", "dist/lib"
0
   cp_r "samples", "dist/samples"
0
   cp_r "static", "dist/static"
...
315
316
317
 
318
319
320
...
333
334
335
336
 
337
338
339
...
315
316
317
318
319
320
321
...
334
335
336
 
337
338
339
340
0
@@ -315,6 +315,7 @@ module Shoes::Manual
0
 end
0
 
0
 def Shoes.make_help_page
0
+ font "#{DIR}/fonts/Coolvetica.ttf" unless Shoes::FONTS.include? "Coolvetica"
0
   proc do
0
     extend Shoes::Manual
0
     docs = load_docs Shoes::Manual::PATH
0
@@ -333,7 +334,7 @@ def Shoes.make_help_page
0
         para "The Shoes Manual", :stroke => "#eee", :margin_top => 8, :margin_left => 17,
0
           :margin_bottom => 0
0
         @title = title docs[0][0], :stroke => white, :margin => 4, :margin_left => 14,
0
- :margin_top => 0, :weight => "bold"
0
+ :margin_top => 0, :font => "Coolvetica"
0
       end
0
       background "rgb(66, 66, 66, 180)".."rgb(0, 0, 0, 0)", :height => 0.7
0
       background "rgb(66, 66, 66, 100)".."rgb(255, 255, 255, 0)", :height => 20, :bottom => 0

Comments

    No one has commented yet.