Sha256: 7750115813829dc9fb73ecf7523b81af40348357af5d40d00fefe67aa5d6e454

Contents?: true

Size: 455 Bytes

Versions: 1

Compression:

Stored size: 455 Bytes

Contents

class KlondikeSolitaire
  module View
    class EmptyPlayingCard
      include Glimmer::UI::CustomShape
      
      option :suit
  
      body {
        rectangle(0, 0, 49, 79, 15, 15) {
          foreground :gray
          
          if suit
            text {
              string suit.to_s[0].upcase
              x :default
              y :default
              is_transparent true
            }
          end
        }
      }
  
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
glimmer-dsl-swt-4.20.13.8 samples/elaborate/klondike_solitaire/view/empty_playing_card.rb