<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -10,6 +10,9 @@ set_columns 105
 - Set the # of rows in your terminal window (default is 24).
 set_rows 30
 
+- Set the FIGlet font of choice.  See the FIGlet man page for more info.
+set_figlet_font 'bubble'
+
 Create slides:
 - Set the header (first argument), and sub-points (subsequent arguments) each
 separated by a comma.</diff>
      <filename>README</filename>
    </modified>
    <modified>
      <diff>@@ -3,8 +3,9 @@ include Slider
 
 set_columns 105
 set_rows 30
+set_figlet_font 'bubble'
 
-slide &quot;Slider&quot;, &quot;It's cool!&quot;
+slide &quot;Slider&quot;, &quot;FIGlet is Cool!&quot;
 slide &quot;Header&quot;, &quot;Point 1&quot;, &quot;Point 2&quot;, &quot;Point 3&quot;
 slide &quot;Simple?&quot;
 slide &quot;Yes!&quot;</diff>
      <filename>doc/example.rb</filename>
    </modified>
    <modified>
      <diff>@@ -2,11 +2,11 @@ module Slider
   
   @@columns = 80
   @@rows = 24
-    
+  @@figlet_font = 'standard'  
   #COLUMNS = 105
   #ROWS    = 30
   VERTICAL_PADDING = 10
-  FIGLET_FONT = 'standard'
+  #FIGLET_FONT = 'standard'
 
   def set_columns(c)
     @@columns = c
@@ -16,6 +16,10 @@ module Slider
     @@rows = r
   end
   
+  def set_figlet_font(f)
+    @@figlet_font = f
+  end
+  
   def slide(heading, *text)
     @slides ||= []
     @slides &lt;&lt; [heading] + text
@@ -33,7 +37,7 @@ module Slider
 
   private
   def render_slide(heading, *text)
-    heading = `figlet -f #{FIGLET_FONT} #{heading}`
+    heading = `figlet -f #{@@figlet_font} #{heading}`
     width = heading.map { |line| line.length }.max
     padding = &quot; &quot; * ((@@columns - width) / 2)
     heading = heading.map { |line| &quot;#{padding}#{line}&quot; }</diff>
      <filename>lib/slider.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>a62dcf856dbd7e96142b6a2bb1bd562ccdd1f5c2</id>
    </parent>
  </parents>
  <author>
    <name>Kit Plummer</name>
    <email>kplummer@blitz.(none)</email>
  </author>
  <url>http://github.com/kitplummer/slider/commit/2ab9c423d93e8a33ba78adf998d0295b0980b896</url>
  <id>2ab9c423d93e8a33ba78adf998d0295b0980b896</id>
  <committed-date>2009-01-06T19:39:25-08:00</committed-date>
  <authored-date>2009-01-06T19:39:25-08:00</authored-date>
  <message>add config option for the FIGlet font.</message>
  <tree>7398c204a9c36d917382ccaa9001fd42aba700c2</tree>
  <committer>
    <name>Kit Plummer</name>
    <email>kplummer@blitz.(none)</email>
  </committer>
</commit>
