Sha256: 013a84b732acc5e34317d516da293c770560c9b1d8082d274b577e7d3ac47514

Contents?: true

Size: 306 Bytes

Versions: 43

Compression:

Stored size: 306 Bytes

Contents

proc_name = "show-frame"

@show_frame_color ||= "blue"

match("**") do
  delete_pre_draw_proc_by_name(proc_name)
  delete_post_draw_proc_by_name(proc_name)

  break if @show_frame_uninstall
  
  params = {
    :proc_name => proc_name,
    :frame_color => @show_frame_color,
  }
  
  draw_frame(params)
end

Version data entries

43 entries across 43 versions & 1 rubygems

Version Path
rabbit-2.0.5 lib/rabbit/theme/show-frame/show-frame.rb
rabbit-2.0.4 lib/rabbit/theme/show-frame/show-frame.rb
rabbit-2.0.3 lib/rabbit/theme/show-frame/show-frame.rb
rabbit-2.0.2 lib/rabbit/theme/show-frame/show-frame.rb
rabbit-2.0.1 lib/rabbit/theme/show-frame/show-frame.rb
rabbit-2.0.0 lib/rabbit/theme/show-frame/show-frame.rb
rabbit-1.0.9 lib/rabbit/theme/show-frame/show-frame.rb
rabbit-1.0.8 lib/rabbit/theme/show-frame/show-frame.rb
rabbit-1.0.7 lib/rabbit/theme/show-frame/show-frame.rb
rabbit-1.0.6 lib/rabbit/theme/show-frame/show-frame.rb
rabbit-1.0.5 lib/rabbit/theme/show-frame/show-frame.rb
rabbit-1.0.4 lib/rabbit/theme/show-frame/show-frame.rb
rabbit-1.0.3 lib/rabbit/theme/show-frame/show-frame.rb
rabbit-1.0.2 lib/rabbit/theme/show-frame/show-frame.rb
rabbit-1.0.1 lib/rabbit/theme/show-frame/show-frame.rb
rabbit-1.0.0 lib/rabbit/theme/show-frame/show-frame.rb
rabbit-0.9.3 lib/rabbit/theme/show-frame/show-frame.rb
rabbit-0.9.2 lib/rabbit/theme/show-frame/show-frame.rb
rabbit-0.9.1 lib/rabbit/theme/show-frame/show-frame.rb
rabbit-0.9.0 lib/rabbit/theme/show-frame/show-frame.rb