Adding progress bars to the custom configuration

This commit is contained in:
Andy Meneely
2014-07-31 15:20:39 -04:00
parent 65f75a3360
commit 8bfdf4b777
9 changed files with 96 additions and 35 deletions
+3 -1
View File
@@ -1 +1,3 @@
dpi: 300
dpi: 300
progress_bar: true
hint: '#FF0000'
+10
View File
@@ -3,4 +3,14 @@ require 'squib'
Squib::Deck.new(config: 'custom-config.yml') do
# Hints are turned on in the config file
text str: "The Title", x: 0, y: 78, width: 750,
font: 'Arial 72', align: :center
# Progress bars are shown for these commands
png file: 'shiny-purse.png', x: 620, y: 75
svg file: 'spanner.svg', x: 620, y: 218
save_png prefix: 'custom-config_'
save_pdf file: "custom-config-out.pdf"
end